]> git.baikalelectronics.ru Git - kernel.git/commit
can: c_can: rename IF_RX -> IF_NAPI
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 9 Aug 2021 07:26:35 +0000 (09:26 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 19 Aug 2021 13:07:05 +0000 (15:07 +0200)
commitb13b7fb42115dcc266533fcd349f6da4120ebf65
tree735807489fa8be040bcf07bbb45b61b336b0736f
parent91beaa42a948c36f1fdfd7b583fbe1e4f6c05cd4
can: c_can: rename IF_RX -> IF_NAPI

The C_CAN/D_CAN cores implement 2 interfaces to manage the message
objects. To avoid concurrency and the need for locking one interface
is used in the TX path (IF_TX). While the other one, named IF_RX is
used from NAPI context only. As this interface is not only used to
manage RX, but also TX message objects, this patch renames IF_RX to
IF_NAPI.

Link: https://lore.kernel.org/r/20210809080608.171545-1-mkl@pengutronix.de
Cc: Dario Binacchi <dariobin@libero.it>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can_main.c