* r8169 - disable flow-control?
@ 2009-03-05 19:35 Άλκης Γεωργόπουλος
2009-03-05 21:08 ` Ben Hutchings
0 siblings, 1 reply; 3+ messages in thread
From: Άλκης Γεωργόπουλος @ 2009-03-05 19:35 UTC (permalink / raw)
To: netdev
Hello,
Is there any way to disable flow control for NICs using the r8169
driver?
It would be really valuable in the following (sadly very common)
scenario:
* r8169 gigabit NIC on the server
* unmanaged gigabit switch that supports flow control negotiation
* 100Mbps clients
E.g. in LTSP labs, the server can send data at ~900Mbps with flow
control off, but with flow control on the bandwidth drops to ~90Mbps.
Detailed explanation of the problem:
http://virtualthreads.blogspot.com/2006/02/beware-ethernet-flow-control.html
If the current code doesn't support it, would it be possible to add a
module parameter for this?
Kind regards,
Alkis Georgopoulos
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: r8169 - disable flow-control?
2009-03-05 19:35 r8169 - disable flow-control? Άλκης Γεωργόπουλος
@ 2009-03-05 21:08 ` Ben Hutchings
2009-03-05 21:29 ` Άλκης Γεωργόπουλος
0 siblings, 1 reply; 3+ messages in thread
From: Ben Hutchings @ 2009-03-05 21:08 UTC (permalink / raw)
To: Άλκης Γεωργόπουλος
Cc: netdev
On Thu, 2009-03-05 at 21:35 +0200, Άλκης Γεωργόπουλος wrote:
> Hello,
>
> Is there any way to disable flow control for NICs using the r8169
> driver?
>
> It would be really valuable in the following (sadly very common)
> scenario:
> * r8169 gigabit NIC on the server
> * unmanaged gigabit switch that supports flow control negotiation
> * 100Mbps clients
>
> E.g. in LTSP labs, the server can send data at ~900Mbps with flow
> control off, but with flow control on the bandwidth drops to ~90Mbps.
> Detailed explanation of the problem:
> http://virtualthreads.blogspot.com/2006/02/beware-ethernet-flow-control.html
>
> If the current code doesn't support it, would it be possible to add a
> module parameter for this?
Generally you should be able to control this using ethtool, not a module
parameter. However r8169 does not implement this operation yet.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: r8169 - disable flow-control?
2009-03-05 21:08 ` Ben Hutchings
@ 2009-03-05 21:29 ` Άλκης Γεωργόπουλος
0 siblings, 0 replies; 3+ messages in thread
From: Άλκης Γεωργόπουλος @ 2009-03-05 21:29 UTC (permalink / raw)
To: Ben Hutchings; +Cc: netdev
Στις 05-03-2009, ημέρα Πεμ, και ώρα 21:08 +0000, ο/η Ben Hutchings
έγραψε:
> Generally you should be able to control this using ethtool, not a module
> parameter. However r8169 does not implement this operation yet.
Thanks - I just thought that supporting a module parameter (like e1000's
FlowControl=2) would be a small thing to ask, as opposed to supporting
ethtool.
But of course if ethtool is to be eventually supported by r8169, then
adding a parameter would be redundant.
Kind regards,
Alkis Georgopoulos
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-05 21:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 19:35 r8169 - disable flow-control? Άλκης Γεωργόπουλος
2009-03-05 21:08 ` Ben Hutchings
2009-03-05 21:29 ` Άλκης Γεωργόπουλος
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).