Thread (4 messages) flat view 4 messages, 2 authors, 2012-01-05

Re: [PATCH 2/2 net-next] cnic: Improve error recovery on bnx2x devices

From: David Miller <davem@davemloft.net>
Date: 2012-01-05 19:08:37

From: "Michael Chan" <mchan@broadcom.com>
Date: Wed, 4 Jan 2012 14:12:28 -0800
When a bnx2x device encounters parity errors, it will not respond to all
SPQ messages.  As a result, the shutdown sequence before reset can take
a long time as the ulp drivers (bnx2i/bnx2fc) have to wait for timeout
of all such messages.

To improve this scenario, when bnx2x returns error on the SPQ, we'll send
an immediate response to the ulp drivers to avoid such lengthy timeouts.

Adjust the return code of relevant functions to return error only if
the message cannot be sent on the SPQ so that we'll generate an error
completion to the ulp drivers.

Signed-off-by: Michael Chan <mchan@broadcom.com>
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