mirror_ubuntu-kernels/drivers/net/can
Dario Binacchi 74fc5a452e can: flexcan: add ethtool support to get rx/tx ring parameters
This patch adds ethtool support to get the number of message buffers
configured for reception/transmission, which may also depends on
runtime configurations such as the 'rx-rtr' flag state.

Link: https://lore.kernel.org/all/20220108181633.420433-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[mkl: port to net-next/master, replace __sw_hweight64 by simpler calculation]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-01-08 21:22:58 +01:00
..
c_can can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
cc770 can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
dev can: netlink: report the CAN controller mode supported flags 2022-01-05 12:09:06 +01:00
flexcan can: flexcan: add ethtool support to get rx/tx ring parameters 2022-01-08 21:22:58 +01:00
ifi_canfd can: do not increase rx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
m_can can: dev: add sanity check in can_set_static_ctrlmode() 2022-01-05 12:09:05 +01:00
mscan can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
peak_canfd can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
rcar can: dev: add sanity check in can_set_static_ctrlmode() 2022-01-05 12:09:05 +01:00
sja1000 can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
softing can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
spi can: mcp251xfd: introduce and make use of mcp251xfd_is_fd_mode() 2022-01-08 20:17:42 +01:00
usb can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
at91_can.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
grcan.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
janz-ican3.c can: janz-ican3: initialize dlc variable 2022-01-08 20:17:41 +01:00
Kconfig can: flexcan: update Kconfig to enable coldfire 2021-07-25 11:36:29 +02:00
kvaser_pciefd.c can: do not increase rx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
led.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile can: flexcan: move driver into separate sub directory 2022-01-08 20:17:42 +01:00
pch_can.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
slcan.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
sun4i_can.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
ti_hecc.c can: ti_hecc: ti_hecc_probe(): use platform_get_irq() to get the interrupt 2022-01-05 12:08:19 +01:00
vcan.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
vxcan.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
xilinx_can.c can: do not increase rx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00