summaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorFelix Manlunas <felix.manlunas@cavium.com>2017-03-23 13:26:28 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-24 13:20:43 -0700
commit7cc61db9c7e6c985798d5419207fbd8cdb505c7b (patch)
tree1ddb3005108d7bc900e03504af3ea2d893121bb6 /include/net/tcp.h
parentdddb64bcb34615bf48a2c9cb9881eb76795cc5c5 (diff)
downloadtalos-obmc-linux-7cc61db9c7e6c985798d5419207fbd8cdb505c7b.tar.gz
talos-obmc-linux-7cc61db9c7e6c985798d5419207fbd8cdb505c7b.zip
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>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud