"[fixed]"的含义是什么? ethtool命令输出中的字符串 [英] What does the meaning of "[fixed]" string in output of ethtool command

查看:703
本文介绍了"[fixed]"的含义是什么? ethtool命令输出中的字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行ethtool来使用"ethtool -k"命令查询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]**

我想知道"[fixed]"的含义是什么.

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

推荐答案

那些是无法更改的参数,它们是固定的".

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

这里是一个例子.让我们看一下ethtool的输出:

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

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

如果我想更改rx-vlan-offload,我会做:

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

结果将是:

$ 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]

现在,让我们尝试修改固定"参数,例如"large-receive-offload":

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

希望这会有所帮助.

这篇关于"[fixed]"的含义是什么? ethtool命令输出中的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆