]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: make *x_ring_init do all the init
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 7 Apr 2016 18:39:37 +0000 (19:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 19:26:04 +0000 (15:26 -0400)
commitb1c7d4526ff2e9cca242609ec305f1c8841a85e3
tree81bf73abf1d918795a6d848e2b6dd79776b0dfcd
parent0a565cfd5658559654151ee48b2e3251cf65f14a
nfp: make *x_ring_init do all the init

nfp_net_[rt]x_ring_init functions used to be called from probe
path only and some of their functionality was spilled to the
call site.  In order to reuse them for ring reconfiguration
we need them to do all the init.

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