]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: use dp to carry number of stack tx rings and vectors
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 10 Mar 2017 18:38:30 +0000 (10:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:43:18 +0000 (23:43 -0700)
commit079d8025eecf8b412c7414aa0abb158f83fdbba4
treeb0b903713ed69034dc78cad8424e83272a00476e
parent307ce49db0d7500247bae7612598520816575d8a
nfp: use dp to carry number of stack tx rings and vectors

Instead of passing variables around use dp to store number of tx rings
for the stack and number of IRQ vectors.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c