Thread (2 messages) flat view 2 messages, 2 authors, 2017-03-24

Re: [PATCH net-next] liquidio: do not reset Octeon if NIC firmware was preloaded

From: David Miller <davem@davemloft.net>
Date: 2017-03-24 20:21:01

From: Felix Manlunas <redacted>
Date: Thu, 23 Mar 2017 13:26:28 -0700
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 <redacted>
Signed-off-by: Satanand Burla <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help