summaryrefslogtreecommitdiff
path: root/drivers/net/can/usb/Kconfig
diff options
context:
space:
mode:
authorMario Huettel <mario.huettel@gmx.net>2017-04-08 15:10:15 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-04-25 10:00:48 +0300
commit10c1c3975a6663375b38e67949722ba029201395 (patch)
treeacb339f036f80ec92f7c2fd4900bf54e8951b78b /drivers/net/can/usb/Kconfig
parent428479e4714ce786629a009c66b4340a3ba651ce (diff)
downloadlinux-10c1c3975a6663375b38e67949722ba029201395.tar.xz
can: m_can: Enable TX FIFO Handling for M_CAN IP version >= v3.1.x
* Added defines for TX Event FIFO Element * Adapted ndo_start_xmit function. For versions >= v3.1.x it uses the TX FIFO to optimize the data throughput. It stores the echo skb at the same index as in the M_CAN's TX FIFO. The frame's message marker is set to this index. This message marker is received in the TX Event FIFO after the message was successfully transmitted. It is used to echo the correct echo skb back to the network stack. * Added m_can_echo_tx_event function. It reads all received message markers in the TX Event FIFO and loops back the corresponding echo skbs. * ISR checks for new TX Event Entry interrupt for version >= 3.1.x. Signed-off-by: Mario Huettel <mario.huettel@gmx.net> Reviewed-by: Oliver Hartkopp <socketcan@hartkopp.net> Tested-by: Quentin Schulz <quentin.schulz@free-electrons.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions