nfp: create separate define for max number of vectors
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 31 Oct 2016 20:43:18 +0000 (20:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 15:05:00 +0000 (11:05 -0400)
commit23a4e389bdc71fda949b5a19a28fa99c4d746d43
treee708384aef5b95284ec05adc13d58d2531d192c6
parent1a1d74d378b13ad3f93e8975a0ade0980a49d28b
nfp: create separate define for max number of vectors

We are currently using define for max TX rings to allocate IRQ
vectors.  It's OK since the max number of rings for TX and RX
are currently the same, but lets make the code nicer by taking
max of the two.

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.h