Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the meaning of "[fixed]" string in output of ethtool command

Tags:

networking

nic

I run ethtool to query the offload features of a NIC using "ethtool -k" command, and the output is something as follows:

ethtool -k eth0

scatter-gather: on
tx-scatter-gather: on
tx-scatter-gather-fraglist: off **[fixed]**

I am wondering what the meaning of "[fixed]" is.

like image 969
leivli Avatar asked Dec 15 '14 06:12

leivli


People also ask

What does ethtool command do?

Ethtool is a Network Interface Card configuration command that allows you to retrieve information and change your NIC settings. These settings include Speed, Duplex, Auto-Negotiation, and many other parameters.

What is the meaning of supports auto-negotiation Yes line in ethtool output?

This mode is used when the ethernet device is connected to a hub. Auto-negotiation : If enabled, the ethernet device itself decides whether to use either full duplex or half duplex based on the network the ethernet device attached to.

What is Phyad in ethtool?

The --phyad option is used to change the physical address.


1 Answers

Those are the parameters that cant be changed, they are "fixed".

Here is an example. Let's take this output of ethtool :

large-receive-offload: off [fixed]
rx-vlan-offload: on
tx-vlan-offload: on

If I want to change rx-vlan-offload I would do :

$ sudo ethtool -K eth0 rxvlan off
Actual changes:
tcp-segmentation-offload: on
    tx-tcp-segmentation: on
    tx-tcp6-segmentation: on
rx-vlan-offload: off

The result will be :

$ sudo ethtool -k eth0 | grep rx-vlan
rx-vlan-offload: **off**
rx-vlan-filter: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]

Now, let's try to modify a "fixed" parameter like "large-receive-offload" :

$ sudo ethtool -K eth0 lro on
Cannot change large-receive-offload
Could not change any device features

Hope this helps.

like image 59
user2360915 Avatar answered Oct 22 '22 11:10

user2360915