[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47DE5F75.4030700@garzik.org>
Date: Mon, 17 Mar 2008 08:09:25 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Divy Le Ray <divy@...lsio.com>
CC: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
swise@...ngridcomputing.com
Subject: Re: [PATCH 2.6.25] - Fix transmit queue stop mechanism
Divy Le Ray wrote:
> From: Divy Le Ray <divy@...lsio.com>
>
> The last change in the Tx queue stop mechanism opens a window
> where the Tx queue might be stopped after pending credits
> returned.
>
> Tx credits are returned via a control message generated by the HW.
> It returns tx credits on demand, triggered by a completion bit
> set in selective transmit packet headers.
>
> The current code can lead to the Tx queue stopped
> with all pending credits returned, and the current frame
> not triggering a credit return. The Tx queue will then never be
> awaken.
>
> The driver could alternatively request a completion for packets
> that stop the queue. It's however safer at this point to go back
> to the pre-existing behaviour.
>
> Signed-off-by: Divy Le Ray <divy@...lsio.com>
> ---
>
> drivers/net/cxgb3/sge.c | 12 +++++++++---
> 1 files changed, 9 insertions(+), 3 deletions(-)
applied -- please include "cxgb3: " prefix in your subject line next time.
See http://linux.yyz.us/patch-format.html for more info.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists