[PATCH 1/1 net-next] net: fec: enable pause frame to improve rx prefomance for 1G network
Ben Hutchings
bhutchings at solarflare.com
Tue Jan 8 08:57:27 EST 2013
On Tue, 2013-01-08 at 13:32 +0000, David Laight wrote:
> > If the medium supports autoneog, use mii_advertise_flowctrl() in
> > set_pauseparam to update pause frame advertising and then restart
> > autoneg.
>
> Isn't autoneg continuous?
> In which case you just need to monitor the response register.
> Monitoring MII registers is usually a complete PITA though
> (due to the requirements for delays during the bit-bashing).
AIUI you have to break the link before renegotiating. So you should
only need to read autoneg results after a PHY interrupt or polling for a
link change.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
More information about the linux-arm-kernel
mailing list