OSDN Git Service

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)
commit8042824a3c0bcf7fc96c62b932b44b0b54714642
treee65f284d7f81accf45dc2c44bbb95864ccaa356e
parent20a1b6bdca15477c95800f50867a4dc1699ab548
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