]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34e7014f64e17856795b4933d0ee5ce660d42c8b
tree536a9c6173707a0684b92171cb22472ff8854510
parent8e68eec8a4ebcc0fd85d1f041fdba33bb9848991
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