OpenCloudOS-Kernel/drivers/net/ethernet/chelsio
Thadeu Lima de Souza Cascardo 777c230086 cxgb4: fix error recovery when t4_fw_hello returns a positive value
Since commit 636f9d371f ("cxgb4: Add
support for T4 configuration file"), t4_fw_hello may return a positive
value instead of 0 for success. The recovery code tests only for zero
and fails recovery for any other value.

This fix tests for negative error values and fails only on those cases.
Error recovery after an error injection works after this change.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-03 16:10:34 -04:00
..
cxgb net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
cxgb3 net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
cxgb4 cxgb4: fix error recovery when t4_fw_hello returns a positive value 2013-05-03 16:10:34 -04:00
cxgb4vf cxgb4vf: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG 2013-04-29 15:24:44 -04:00
Kconfig cxgb3: Restore dependency on INET 2012-11-28 17:40:59 -05:00
Makefile