linux/drivers/net/can/m_can
Marc Kleine-Budde 9420e1d495 can: dev: can_get_echo_skb(): extend to return can frame length
In order to implement byte queue limits (bql) in CAN drivers, the length of the
CAN frame needs to be passed into the networking stack after queueing and after
transmission completion.

To avoid to calculate this length twice, extend can_get_echo_skb() to return
that value. Convert all users of this function, too.

Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/r/20210111141930.693847-14-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2021-01-14 08:43:43 +01:00
..
Kconfig can: m_can: add PCI glue driver for Intel Elkhart Lake 2020-12-10 10:40:10 +01:00
m_can_pci.c can: m_can: use struct m_can_classdev as drvdata 2020-12-14 14:24:17 +01:00
m_can_platform.c can: m_can: use struct m_can_classdev as drvdata 2020-12-14 14:24:17 +01:00
m_can.c can: dev: can_get_echo_skb(): extend to return can frame length 2021-01-14 08:43:43 +01:00
m_can.h can: m_can: let m_can_class_allocate_dev() allocate driver specific private data 2020-12-14 14:24:14 +01:00
Makefile can: tcan4x5x: move regmap code into seperate file 2021-01-06 15:15:37 +01:00
tcan4x5x-core.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-01-08 13:28:00 -08:00
tcan4x5x-regmap.c can: tcan4x5x: add support for half-duplex controllers 2021-01-06 15:15:41 +01:00
tcan4x5x.h can: tcan4x5x: rework SPI access 2021-01-06 15:15:41 +01:00