linux/drivers/net/ethernet/chelsio/cxgb4
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
..
Makefile
cxgb4.h cxgb4: Disable SR-IOV support for PF4-7 for T5 2013-03-14 11:35:56 -04:00
cxgb4_main.c cxgb4: fix error recovery when t4_fw_hello returns a positive value 2013-05-03 16:10:34 -04:00
cxgb4_uld.h RDMA/cxgb4: Turn off db coalescing when RDMA QPs are in use. 2013-03-14 11:35:58 -04:00
l2t.c cxgb4: Add T4 filter support 2012-12-19 09:28:19 -08:00
l2t.h cxgb4: Add T4 filter support 2012-12-19 09:28:19 -08:00
sge.c net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
t4_hw.c cxgb4: Add T5 debugfs support 2013-03-14 11:35:55 -04:00
t4_hw.h cxgb4: Initialize T5 2013-03-14 11:35:53 -04:00
t4_msg.h cxgb4vf: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG 2013-04-29 15:24:44 -04:00
t4_regs.h RDMA/cxgb4: Turn off db coalescing when RDMA QPs are in use. 2013-03-14 11:35:58 -04:00
t4fw_api.h cxgb4: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG 2013-04-29 15:24:44 -04:00