nfp: use dp to carry number of stack tx rings and vectors
commit512e94dc3229a824190e310c899a3f6d08216477
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 10 Mar 2017 18:38:30 +0000 (10 10:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:43:18 +0000 (12 23:43 -0700)
treeb0b903713ed69034dc78cad8424e83272a00476e
parent783496b0ddc2bd4ad561864138596ebb336a7100
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