[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1167801614.6165.117.camel@localhost.localdomain>
Date: Wed, 03 Jan 2007 16:20:14 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] sungem: PHY updates & pause fixes
> Thanks for finding these bugs, although that's really strange pause
> behavior you are seeing on your switches.
>
> By default, we advertise PAUSE but not ASYM PAUSE in the tg3 driver,
> and I get flow control on every switch I have here.
Yeah, that's strange. I still have the debug values at hand:
- I advertise 0x5e1
- I read in LPA 0xc9e1 from the switch
(and my bcm PHY tells me Rx and Tx pause disabled in a separate
register)
Now, I cross-over with a TG3 and I get:
- I advertise 0x5e1 (hopefully same value)
- I read in LPA 0xc5e1 from the TG3
(and that other register tells me Rx and Tx pause can be enabled).
> You should try to use flow control, even slower than 1000Mbit links.
Sorry, not sure I parse ;-) You mean allowing pause on 10 and 100 as
well ? I sure can, it's easy to fix.
> That's the only problem I can see, would you mind fixing that and
> I'll put your change into my net-2.6 tree and perhaps play around
> with PAUSE on my switches here?
Sure will do.
Ben.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists