nfp: allow non-equal distribution of IRQs
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 6 Jun 2017 00:01:55 +0000 (17:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jun 2017 16:51:41 +0000 (12:51 -0400)
commit2c7e41c0b2f103056f93dd5922c03d6e2021c76d
treecd6bcbe33776d635825c16eb642fbf9ea85f5193
parent6d4b0d8ed6d2f9e1741b9abd0ce64c641f890d6c
nfp: allow non-equal distribution of IRQs

Thus far the code assumed all vNICs will request similar number of IRQs.
This will be no longer true with control vNICs (where 1 IRQ will suffice).

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_main.c