nfp: move RSS indirection table init into a separate function
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 3 Nov 2016 17:12:03 +0000 (17:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2016 18:56:15 +0000 (14:56 -0400)
commit1e9e10d0c1365092972552d8c8f9d97517bcf581
tree536a9c6173707a0684b92171cb22472ff8854510
parente31230f9260f7bcf069e3962111f7e4656a1bfd4
nfp: move RSS indirection table init into a separate function

We will need to rerun the initialization of the RSS indirection table
after the number of rings is changed.  Move the code to a separate
function.

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