]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: prepare for multiple rx queues
authorGatis Peisenieks <gatis@mikrotik.com>
Thu, 27 May 2021 14:44:22 +0000 (17:44 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 May 2021 23:06:46 +0000 (16:06 -0700)
commit41013309d7bcc3a5a282d8d4f74b10415d017ac8
treee65f284d7f81accf45dc2c44bbb95864ccaa356e
parente289f079cbffc44e0acb7d1f441dfc632ff0b77c
atl1c: prepare for multiple rx queues

Move napi and other per queue members into per rx queue struct.
Allocate max rx queues that any hw supported by the driver might have.
Patch that actually enables multiple rx 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