netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: Bas Nedermeijer <bas@tcfaa.nl>
Cc: netdev@vger.kernel.org
Subject: Re: Setting shutdownspeed in r8169 driver
Date: Thu, 26 May 2011 08:04:36 -0700	[thread overview]
Message-ID: <1306422276.17233.87.camel@localhost> (raw)
In-Reply-To: <201105242302.40221.bas@tcfaa.nl>

On Tue, 2011-05-24 at 23:02 +0200, Bas Nedermeijer wrote:
> Hello,
> 
> I currently have an onboard nic, which allows me to use wake-on-lan. But link-
> speed goes to 10MBit when the system is shutdown. This causes a multicast/IPTV  
> stream to be throttled back to 10Mbit. This is probably because the multicast 
> stream actually a broadcast on my local network. I think some device is 
> sending ethernet-pause frames (havent seem them, but not sure if they show up 
> in tcpdump).

Pause frames are produced and consumed at the MAC control layer.  Some
switches may forward pause frames, but I suspect that in this case the
switch is sending pause frames to the multicast sender because the
transmit queue for the 10M port is filling up.

For hardware that supports Ethernet flow control, there are usually
pause frame counters in the extended statistics (ethtool -S).

> I tried to disable flow-control on the sending device, but that 
> didnt help, still the traffic is throttled when it has passed some switches. I 
> read somewhere the windows driver has an option to specify the shutdown-
> linkspeed, so listening for WOL happens on 100mbit. I was wondering if it is 
> possible at all with the linux-driver (maybe as default by modifying the 
> driver locally as I cant seem to find a userspace program to modify the 
> settings).

No, there is no such setting within the ethtool API for WOL
configuration on Linux.  It seems like it would be a useful extension.

Ben.

> I am using the driver "r8169"
> 
> According to 'lspci':
> 
> Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet 
> controller (rev 02)

-- 
Ben Hutchings, Senior Software 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.


      reply	other threads:[~2011-05-26 17:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24 21:02 Setting shutdownspeed in r8169 driver Bas Nedermeijer
2011-05-26 15:04 ` Ben Hutchings [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306422276.17233.87.camel@localhost \
    --to=bhutchings@solarflare.com \
    --cc=bas@tcfaa.nl \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).