From: Rick Jones <rick.jones2@hp.com>
To: Hosam Hittini <h.hittini@gmail.com>, netdev@vger.kernel.org
Subject: Re: Ring parameter information
Date: Mon, 15 Sep 2014 08:19:15 -0700 [thread overview]
Message-ID: <54170373.5070303@hp.com> (raw)
In-Reply-To: <F225A4E9-1298-4262-8F24-9BF368100C78@gmail.com>
On 09/14/2014 11:14 PM, Hosam Hittini wrote:
> Hi,
>
> I have two network interfaces and I used "ethtool -g" to get their ring parameters, but I don’t quite understand the output
> For the ethernet interface the output says the operation is not supported
> For the wireless interface the output says the sending and receiving buffer sizes are equal to zero
> I wonder if anyone can help me with that
>
> hosam@Robin-01:~$ sudo ethtool -g eth0
> Ring parameters for eth0:
> Cannot get device ring settings: Operation not supported
That means what it says - the driver/device for eth0 does not support
reporting ring settings.
> hosam@Robin-01:~$ sudo ethtool -g wlan1
> Ring parameters for wlan1:
> Pre-set maximums:
> RX: 0
> RX Mini: 0
> RX Jumbo: 0
> TX: 0
> Current hardware settings:
> RX: 0
> RX Mini: 0
> RX Jumbo: 0
> TX: 0
I am just guessing, but I would guess one of two things - either that
driver doesn't "really" support retrieving ring settings, or there is a
bug or no way for it to report them in a meaningful way. You should
look-up the driver name (ethtool -i) and then go to a kernel source tree
and find that driver under drivers/net/ and see what its ethtool support
code looks like.
rick jones
prev parent reply other threads:[~2014-09-15 15:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <06FE00B9-3F10-48CD-ABC7-7817006FDBDD@gmail.com>
2014-09-15 6:14 ` Ring parameter information Hosam Hittini
2014-09-15 15:19 ` Rick Jones [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=54170373.5070303@hp.com \
--to=rick.jones2@hp.com \
--cc=h.hittini@gmail.com \
--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).