]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: move tx napi into tpd_ring
authorGatis Peisenieks <gatis@mikrotik.com>
Thu, 27 May 2021 14:44:21 +0000 (17:44 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 May 2021 23:06:46 +0000 (16:06 -0700)
commite289f079cbffc44e0acb7d1f441dfc632ff0b77c
treec074d68697297e8d801599fb25252ff57780b6fb
parent671b88552fabae1c23544f4cb3b12ef83a4f3633
atl1c: move tx napi into tpd_ring

To get more performance from using multiple tx queues one needs
a per tx queue napi.

Move tx napi from per adapter struct into per tx queue struct.
Patch that actually enables multiple tx queues will follow.

Signed-off-by: Gatis Peisenieks <gatis@mikrotik.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/atheros/atl1c/atl1c.h
drivers/net/ethernet/atheros/atl1c/atl1c_main.c