OSDN Git Service

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)
commit05cb2ba4b23154c1b7d66284764651b1dd3456a9
tree735807489fa8be040bcf07bbb45b61b336b0736f
parent236de85f6a11346136733ab03c8d97fdf3f1d67b
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