]> git.karo-electronics.de Git - linux-beck.git/commit
nfp: loosen relation between rings and IRQs vectors
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 3 Nov 2016 17:12:01 +0000 (17:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2016 18:56:15 +0000 (14:56 -0400)
commit0668b60ba60228cb0fa21bc69baa6269edf7b6d3
tree88b4eff0920e58da289c682d1f9ae9bc2e924ace
parenta10b563d8846c8171bacdcad0aa5078b6d06da33
nfp: loosen relation between rings and IRQs vectors

Upcoming XDP support will break the assumption that one can iterate
over IRQ vectors to get to all the rings easily.  Use nn->.x_ring
arrays directly.

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