netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ring parameter information
       [not found] <06FE00B9-3F10-48CD-ABC7-7817006FDBDD@gmail.com>
@ 2014-09-15  6:14 ` Hosam Hittini
  2014-09-15 15:19   ` Rick Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Hosam Hittini @ 2014-09-15  6:14 UTC (permalink / raw)
  To: netdev

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

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

Regards,
Eng. Hosam Hittini

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ring parameter information
  2014-09-15  6:14 ` Ring parameter information Hosam Hittini
@ 2014-09-15 15:19   ` Rick Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Jones @ 2014-09-15 15:19 UTC (permalink / raw)
  To: Hosam Hittini, netdev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-15 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 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).