Re: [PATCH] sky2: receive dma mapping error handling

From: Michael Breuer
Date: Wed Feb 03 2010 - 12:08:06 EST


On 02/03/2010 11:56 AM, Stephen Hemminger wrote:
On Wed, 03 Feb 2010 11:47:19 -0500
Michael Breuer<mbreuer@xxxxxxxxxx> wrote:

Tracked this down. The status being returned is 0x3c0080 - good flow
control packets. Nothing is actually being dropped (confirmed by packet
trace on switch compared with packet trace on server).

I whipped up a trivial patch to not count these as dropped packets and
will post to netdev.

I'm not really sure what the driver should be doing in this case, but
resubmit seems to work.
Looks like a flow control negotiation issue. You probably turned off
flow control on the Linux side, but the switch is still doing flow
control.

According to the driver:
Feb 3 12:03:02 mail kernel: sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both

So if the rx flow control packet status is due to flow control being disabled, then there's a different issue.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/