Re: [E1000-devel] [PATCH] e1000e : Avoid wrong check on TX hang

2011-11-18 Thread Flavio Leitner
On Fri, 18 Nov 2011 08:53:00 -0800 Jesse Brandeburg jesse.brandeb...@intel.com wrote: On Thu, 17 Nov 2011 17:46:46 -0800 Flavio Leitner f...@redhat.com wrote: On Fri, 18 Nov 2011 09:37:12 +0800 Michael Wang wang...@linux.vnet.ibm.com wrote: From: Michael Wang

[E1000-devel] [PATCH] e1000e : Avoid wrong check on TX hang

2011-11-17 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Descriptors may not be write-back while checking TX hang with flag FLAG2_DMA_BURST on. So when we detect hang, we just flush the descriptor and detect again for once. Signed-off-by: Michael Wang wang...@linux.vnet.ibm.com ---

Re: [E1000-devel] [PATCH] e1000e : Avoid wrong check on TX hang

2011-11-17 Thread Flavio Leitner
On Fri, 18 Nov 2011 09:37:12 +0800 Michael Wang wang...@linux.vnet.ibm.com wrote: From: Michael Wang wang...@linux.vnet.ibm.com Descriptors may not be write-back while checking TX hang with flag FLAG2_DMA_BURST on. So when we detect hang, we just flush the descriptor and detect again for

Re: [E1000-devel] [PATCH] e1000e : Avoid wrong check on TX hang

2011-11-17 Thread Michael Wang
Hi This patch fix the wrong check on TX hang when in burst mode. The wrong check is caused by that: When in burst mode, the descriptor will not been write-back immediately, until reach enough number. In this situation, when the hang is detected, it may be caused by that the descriptor has not