[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141209.144821.577727845317298785.davem@davemloft.net>
Date: Tue, 09 Dec 2014 14:48:21 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: thomas.lendacky@....com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] amd-xgbe: Prevent Tx cleanup stall
From: Tom Lendacky <thomas.lendacky@....com>
Date: Thu, 4 Dec 2014 11:52:35 -0600
> When performing Tx cleanup, the dirty index counter is compared to the
> current index counter as one of the tests used to determine when to stop
> cleanup. The "less than" test will fail when the current index counter
> rolls over to zero causing cleanup to never occur again. Update the test
> to a "not equal" to avoid this situation.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky@....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