diff options
author | 2016-04-07 19:39:44 +0100 | |
---|---|---|
committer | 2016-04-08 15:26:05 -0400 | |
commit | aba52df80b1a2d15fe1745dfe187e9823821f5c0 (patch) | |
tree | 59a66a79d6a0190f43db0034c5feb83b3763d47e /include | |
parent | nfp: slice .ndo_open() and .ndo_stop() up (diff) | |
download | linux-dev-aba52df80b1a2d15fe1745dfe187e9823821f5c0.tar.xz linux-dev-aba52df80b1a2d15fe1745dfe187e9823821f5c0.zip |
nfp: sync ring state during FW reconfiguration
FW reconfiguration in .ndo_open()/.ndo_stop() should reset/
restore queue state. Since we need IRQs to be disabled when
filling rings on RX path we have to move disable_irq() from
.ndo_open() all the way up to IRQ allocation.
nfp_net_start_vec() becomes trivial now so it's inlined.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions