[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100106205343.5460d658@nehalam>
Date: Wed, 6 Jan 2010 20:53:43 -0800
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Michael Breuer <mbreuer@...jas.com>
Cc: Jarek Poplawski <jarkao2@...il.com>,
David Miller <davem@...emloft.net>, akpm@...ux-foundation.org,
flyboy@...il.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
On Wed, 06 Jan 2010 23:00:34 -0500
Michael Breuer <mbreuer@...jas.com> wrote:
> Changing MTU to 9000, everything basically breaks - Can't use X11 (local
> or remote - get X11 screen after gdm login locally, but then goes back
> to greeter; remote gets no greeter); ssh sessions hang; etc. This time I
> was able to reset the MTU back to 1500 without a reboot - but I did have
> to ifconfig eth0 down and then up. Looking at the sk98lin code, it looks
> to me like they do a bit more work with existing buffers before
> completing the MTU switch. Note that even doing this, X11 did not work
> (it did with the old mtu change code). Tried changing to mtu 4500 - same
> effect as 9000... but when I switched back to 1500, ksoftirqd started
> spinning using 100% of one core.
The problem is that patch was enabling scatter-gather and checksum offload
that won't work on EC_U hardware with 9K MTU. At least, it never worked
for me when I tested it. So because of that it really doesn't change anything
for the better on that chip version.
What version chip is on that motherboard? Mine is:
Yukon-2 EC Ultra chip revision 3
which corresponds to B0 step.
Another possibility is the PHY register which controls number of ticks
of buffering. The default is zero, which gives the most buffering (good),
but the firmware could be reprogramming it (bad). In general, the driver
doesn't fiddle with bits that are already set correctly, because sometimes
vendors need to tweak PCI timing in firmware/BIOS. It seems the firmware on this
chip is just a bunch of register setups done on power on.
--
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