* problems with e1000 and flow control
@ 2008-02-25 19:15 Wolfgang Walter
2008-02-26 18:10 ` Brandeburg, Jesse
2008-02-26 18:26 ` Kok, Auke
0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Walter @ 2008-02-25 19:15 UTC (permalink / raw)
To: netdev
Hello,
it seems that e1000 enables flow-control (rx pause frames) even if the switch
does not advertise flow control. This seems to get a problem as (at least
some) switches then forward pause frames directed to the card from other
hosts. We think there are hosts which indeed do this in the lans of our
student halls.
I think flow control should be completely disabled by default if the switch
does not advertise it. It still can be forced with ethtool.
Regards,
--
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: problems with e1000 and flow control
2008-02-25 19:15 problems with e1000 and flow control Wolfgang Walter
@ 2008-02-26 18:10 ` Brandeburg, Jesse
2008-02-26 19:06 ` Kok, Auke
2008-02-26 18:26 ` Kok, Auke
1 sibling, 1 reply; 4+ messages in thread
From: Brandeburg, Jesse @ 2008-02-26 18:10 UTC (permalink / raw)
To: Wolfgang Walter, netdev; +Cc: e1000-devel
Wolfgang Walter wrote:
> it seems that e1000 enables flow-control (rx pause frames) even if
> the switch does not advertise flow control. This seems to get a
> problem as (at least some) switches then forward pause frames
> directed to the card from other hosts. We think there are hosts which
> indeed do this in the lans of our student halls.
>
> I think flow control should be completely disabled by default if the
> switch does not advertise it. It still can be forced with ethtool.
We agree, and our latest standalone drivers have taken this into
account, but the kernel drivers have not been updated all the way yet to
fix this issue.
Thanks for the input,
Jesse
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problems with e1000 and flow control
2008-02-25 19:15 problems with e1000 and flow control Wolfgang Walter
2008-02-26 18:10 ` Brandeburg, Jesse
@ 2008-02-26 18:26 ` Kok, Auke
1 sibling, 0 replies; 4+ messages in thread
From: Kok, Auke @ 2008-02-26 18:26 UTC (permalink / raw)
To: Wolfgang Walter; +Cc: netdev
Wolfgang Walter wrote:
> Hello,
>
> it seems that e1000 enables flow-control (rx pause frames) even if the switch
> does not advertise flow control. This seems to get a problem as (at least
> some) switches then forward pause frames directed to the card from other
> hosts. We think there are hosts which indeed do this in the lans of our
> student halls.
>
> I think flow control should be completely disabled by default if the switch
> does not advertise it. It still can be forced with ethtool.
Are you sure that the switch actually advertises the flow control "disabled"
setting properly? Perhaps you can include the e1000 ethtool flow control settings
and dmesg output (2.6.24 will print out FC status when link comes up).
There's a lengthy argumentation including spec references in the e1000/e1000e
driver code on how FC is handled (look for "IEEE 802.3ab"). Can you take a look at
that and see what might be happening?
Changing this behaviour might give other people issues which is something we need
to be very cautious about, obviously :)
Cheers,
Auke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problems with e1000 and flow control
2008-02-26 18:10 ` Brandeburg, Jesse
@ 2008-02-26 19:06 ` Kok, Auke
0 siblings, 0 replies; 4+ messages in thread
From: Kok, Auke @ 2008-02-26 19:06 UTC (permalink / raw)
To: Brandeburg, Jesse; +Cc: e1000-devel, netdev, Wolfgang Walter
Brandeburg, Jesse wrote:
> Wolfgang Walter wrote:
>> it seems that e1000 enables flow-control (rx pause frames) even if
>> the switch does not advertise flow control. This seems to get a
>> problem as (at least some) switches then forward pause frames
>> directed to the card from other hosts. We think there are hosts which
>> indeed do this in the lans of our student halls.
>>
>> I think flow control should be completely disabled by default if the
>> switch does not advertise it. It still can be forced with ethtool.
>
> We agree, and our latest standalone drivers have taken this into
> account, but the kernel drivers have not been updated all the way yet to
> fix this issue.
ok, that explains what is going on :)
I'll take a look into getting these changes upstream. Perhaps Wolfgang can confirm
that the driver on e1000.sf.net is properly working for him?
Auke
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-26 19:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 19:15 problems with e1000 and flow control Wolfgang Walter
2008-02-26 18:10 ` Brandeburg, Jesse
2008-02-26 19:06 ` Kok, Auke
2008-02-26 18:26 ` Kok, Auke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).