[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120105.140835.846952184860620132.davem@davemloft.net>
Date: Thu, 05 Jan 2012 14:08:35 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mchan@...adcom.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/2 net-next] cnic: Improve error recovery on bnx2x
devices
From: "Michael Chan" <mchan@...adcom.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@...adcom.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists