From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sunset.davemloft.net (74-93-104-97-Washington.hfc.comcastbusiness.net [74.93.104.97]) by ozlabs.org (Postfix) with ESMTP id 39C9F1007D2 for ; Mon, 29 Nov 2010 13:37:02 +1100 (EST) Date: Sun, 28 Nov 2010 18:37:26 -0800 (PST) Message-Id: <20101128.183726.115930841.davem@davemloft.net> To: leoli@freescale.com Subject: Re: [PATCH] ucc_geth: fix ucc halt problem in half duplex mode From: David Miller In-Reply-To: <1290763798-22844-1-git-send-email-leoli@freescale.com> References: <1290763798-22844-1-git-send-email-leoli@freescale.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: netdev@vger.kernel.org, Andreas.Schmitz@riedel.net, avorontsov@ru.mvista.com, linuxppc-dev@lists.ozlabs.org, jdboyer@media5corp.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Li Yang Date: Fri, 26 Nov 2010 17:29:58 +0800 > In commit 58933c64(ucc_geth: Fix the wrong the Rx/Tx FIFO size), > the UCC_GETH_UTFTT_INIT is set to 512 based on the recommendation > of the QE Reference Manual. But that will sometimes cause tx halt > while working in half duplex mode. > > According to errata draft QE_GENERAL-A003(High Tx Virtual FIFO > threshold size can cause UCC to halt), setting UTFTT less than > [(UTFS x (M - 8)/M) - 128] will prevent this from happening > (M is the minimum buffer size). > > The patch changes UTFTT back to 256. > > Signed-off-by: Li Yang > Cc: Jean-Denis Boyer > Cc: Andreas Schmitz > Cc: Anton Vorontsov Applied, thank you.