linux/drivers/net/ethernet/cavium
Felix Manlunas 7cc61db9c7 liquidio: do not reset Octeon if NIC firmware was preloaded
The PF driver is incorrectly resetting Octeon when the module parameter
"fw_type=none" is there.  "fw_type=none" means the PF should not load any
firmware to the NIC because Octeon is already running preloaded firmware.

Fix it by putting an if (fw_type != none) around the reset code.

Because the Octeon reset is now conditionally gone, when unloading the
driver, conditionally send the RESET_PF command to the firmware who will
then free up PF-related data structures.

Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-24 13:20:43 -07:00
..
liquidio liquidio: do not reset Octeon if NIC firmware was preloaded 2017-03-24 13:20:43 -07:00
octeon drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
thunder net: thunderx: Allow IPv6 frames with zero UDP checksum 2017-03-09 13:12:41 -08:00
Kconfig LiquidIO VF: s/select/imply/ for PTP_1588_CLOCK 2017-01-04 13:27:16 -05:00
Makefile netdev: Move octeon/octeon_mgmt driver to cavium directory. 2016-03-18 18:25:30 -04:00