commit | aba52df80b1a2d15fe1745dfe187e9823821f5c0 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Thu Apr 07 19:39:44 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 08 15:26:05 2016 -0400 |
tree | 59a66a79d6a0190f43db0034c5feb83b3763d47e | |
parent | 1cd0cfc498f7e928c5ff8e9ced537d41fa46df50 [diff] |
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>