linux-mips
[Top] [All Lists]

Re: [PATCH] Fix for Au1x00 ethernet tx stats

To: linux-mips@linux-mips.org
Subject: Re: [PATCH] Fix for Au1x00 ethernet tx stats
From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Fri, 24 Mar 2006 23:41:55 +0300
Cc: Jordan Crouse <jordan.crouse@amd.com>
In-reply-to: <441628AF.2000300@ru.mvista.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <41F11AB7.3010105@corelatus.se> <441628AF.2000300@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello.

Sergei Shtylylov wrote:

Thomas Lange wrote:

With current CVS head, ethernet TX bytes always remain zero.

The problem seems to be that when packet has been transmitted,
the len word in DMA buffer is zero.

Attached is a patch against 2_4 HEAD that updates the stats when
DMA buffer is written to fix this.

* Patch by Thomas Lange, 21 Jan 2005:
 Fix update of ethernet tx bytes stats for au1x00


More than a year ago, this is still an issue with both 2.4 and 2.6 driver.
Here's the 2.6 patch...

   It's in the Linus' tree now. Will send 2.4 patch to Marcelo...

/Thomas

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>