[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151005.035206.1974162243532680339.davem@davemloft.net>
Date: Mon, 05 Oct 2015 03:52:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: _govind@....com
Cc: netdev@...r.kernel.org, ssujith@...co.com, benve@...co.com
Subject: Re: [PATCH net-next 2/2] enic: do hang reset only in case of tx
timeout
From: Govindarajulu Varadarajan <_govind@....com>
Date: Thu, 1 Oct 2015 14:18:47 +0530
> The current code invokes hang reset in case of error interrupt. We should
> hang reset only in case of tx timeout. This because of the way hang reset
> is implemented in firmware. Hang reset takes more firmware resources than
> soft reset. Adaptor does not generate error interrupt in case of tx
> timeout.
>
> Hang reset only in case of tx timeout, in .ndo_tx_timeout. Do soft reset
> otherwise. Introduce deferred work, enic_tx_hang_reset, to do hang reset.
>
> Signed-off-by: Govindarajulu Varadarajan <_govind@....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