]> git.baikalelectronics.ru Git - kernel.git/commit
can: rx-offload: can_rx_offload_add_manual(): add new initialization function
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Sep 2020 22:35:22 +0000 (00:35 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:19 +0000 (10:13 +0200)
commit91552fe862f0218a5b93bfc13357d0c8b2e09168
tree5ca826d707e4fd0af2cfafc0d410d13b659224c0
parent7fc31ab997a53dd7129c0e71e3dc3c620bdc77b1
can: rx-offload: can_rx_offload_add_manual(): add new initialization function

This patch adds a new initialization function:
can_rx_offload_add_manual()

It should be used to add support rx-offload to a driver, if the callback
mechanism should not be used. Use e.g. can_rx_offload_queue_sorted() to queue
skbs into rx-offload.

Link: https://lore.kernel.org/r/20200915223527.1417033-33-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rx-offload.c
include/linux/can/rx-offload.h