Family ethtool
netlink specification¶
Contents
Operations¶
strset-get¶
Get string set from the kernel.
- attribute-set
strset
- do
- request
- attributes
[
header
,stringsets
,counts-only
]
- reply
- attributes
[
header
,stringsets
]
- dump
- request
- attributes
[
header
,stringsets
,counts-only
]
- reply
- attributes
[
header
,stringsets
]
linkinfo-get¶
Get link info.
- attribute-set
linkinfo
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,port
,phyaddr
,tp-mdix
,tp-mdix-ctrl
,transceiver
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,port
,phyaddr
,tp-mdix
,tp-mdix-ctrl
,transceiver
]
linkinfo-set¶
Set link info.
- attribute-set
linkinfo
- do
- request
- attributes
[
header
,port
,phyaddr
,tp-mdix
,tp-mdix-ctrl
,transceiver
]
linkmodes-get¶
Get link modes.
- attribute-set
linkmodes
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,autoneg
,ours
,peer
,speed
,duplex
,master-slave-cfg
,master-slave-state
,lanes
,rate-matching
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,autoneg
,ours
,peer
,speed
,duplex
,master-slave-cfg
,master-slave-state
,lanes
,rate-matching
]
linkmodes-set¶
Set link modes.
- attribute-set
linkmodes
- do
- request
- attributes
[
header
,autoneg
,ours
,peer
,speed
,duplex
,master-slave-cfg
,master-slave-state
,lanes
,rate-matching
]
linkstate-get¶
Get link state.
- attribute-set
linkstate
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,link
,sqi
,sqi-max
,ext-state
,ext-substate
,ext-down-cnt
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,link
,sqi
,sqi-max
,ext-state
,ext-substate
,ext-down-cnt
]
debug-get¶
Get debug message mask.
- attribute-set
debug
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,msgmask
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,msgmask
]
wol-get¶
Get WOL params.
- attribute-set
wol
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,modes
,sopass
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,modes
,sopass
]
features-get¶
Get features.
- attribute-set
features
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,hw
,wanted
,active
,nochange
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,hw
,wanted
,active
,nochange
]
features-set¶
Set features.
- attribute-set
features
- do
- request
- attributes
[
header
,hw
,wanted
,active
,nochange
]
- reply
- attributes
[
header
,hw
,wanted
,active
,nochange
]
privflags-get¶
Get device private flags.
- attribute-set
privflags
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,flags
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,flags
]
privflags-set¶
Set device private flags.
- attribute-set
privflags
- do
- request
- attributes
[
header
,flags
]
rings-get¶
Get ring params.
- attribute-set
rings
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,rx-max
,rx-mini-max
,rx-jumbo-max
,tx-max
,rx
,rx-mini
,rx-jumbo
,tx
,rx-buf-len
,tcp-data-split
,cqe-size
,tx-push
,rx-push
,tx-push-buf-len
,tx-push-buf-len-max
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,rx-max
,rx-mini-max
,rx-jumbo-max
,tx-max
,rx
,rx-mini
,rx-jumbo
,tx
,rx-buf-len
,tcp-data-split
,cqe-size
,tx-push
,rx-push
,tx-push-buf-len
,tx-push-buf-len-max
]
rings-set¶
Set ring params.
- attribute-set
rings
- do
- request
- attributes
[
header
,rx-max
,rx-mini-max
,rx-jumbo-max
,tx-max
,rx
,rx-mini
,rx-jumbo
,tx
,rx-buf-len
,tcp-data-split
,cqe-size
,tx-push
,rx-push
,tx-push-buf-len
,tx-push-buf-len-max
]
channels-get¶
Get channel params.
- attribute-set
channels
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,rx-max
,tx-max
,other-max
,combined-max
,rx-count
,tx-count
,other-count
,combined-count
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,rx-max
,tx-max
,other-max
,combined-max
,rx-count
,tx-count
,other-count
,combined-count
]
channels-set¶
Set channel params.
- attribute-set
channels
- do
- request
- attributes
[
header
,rx-max
,tx-max
,other-max
,combined-max
,rx-count
,tx-count
,other-count
,combined-count
]
coalesce-get¶
Get coalesce params.
- attribute-set
coalesce
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,rx-usecs
,rx-max-frames
,rx-usecs-irq
,rx-max-frames-irq
,tx-usecs
,tx-max-frames
,tx-usecs-irq
,tx-max-frames-irq
,stats-block-usecs
,use-adaptive-rx
,use-adaptive-tx
,pkt-rate-low
,rx-usecs-low
,rx-max-frames-low
,tx-usecs-low
,tx-max-frames-low
,pkt-rate-high
,rx-usecs-high
,rx-max-frames-high
,tx-usecs-high
,tx-max-frames-high
,rate-sample-interval
,use-cqe-mode-tx
,use-cqe-mode-rx
,tx-aggr-max-bytes
,tx-aggr-max-frames
,tx-aggr-time-usecs
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,rx-usecs
,rx-max-frames
,rx-usecs-irq
,rx-max-frames-irq
,tx-usecs
,tx-max-frames
,tx-usecs-irq
,tx-max-frames-irq
,stats-block-usecs
,use-adaptive-rx
,use-adaptive-tx
,pkt-rate-low
,rx-usecs-low
,rx-max-frames-low
,tx-usecs-low
,tx-max-frames-low
,pkt-rate-high
,rx-usecs-high
,rx-max-frames-high
,tx-usecs-high
,tx-max-frames-high
,rate-sample-interval
,use-cqe-mode-tx
,use-cqe-mode-rx
,tx-aggr-max-bytes
,tx-aggr-max-frames
,tx-aggr-time-usecs
]
coalesce-set¶
Set coalesce params.
- attribute-set
coalesce
- do
- request
- attributes
[
header
,rx-usecs
,rx-max-frames
,rx-usecs-irq
,rx-max-frames-irq
,tx-usecs
,tx-max-frames
,tx-usecs-irq
,tx-max-frames-irq
,stats-block-usecs
,use-adaptive-rx
,use-adaptive-tx
,pkt-rate-low
,rx-usecs-low
,rx-max-frames-low
,tx-usecs-low
,tx-max-frames-low
,pkt-rate-high
,rx-usecs-high
,rx-max-frames-high
,tx-usecs-high
,tx-max-frames-high
,rate-sample-interval
,use-cqe-mode-tx
,use-cqe-mode-rx
,tx-aggr-max-bytes
,tx-aggr-max-frames
,tx-aggr-time-usecs
]
pause-get¶
Get pause params.
- attribute-set
pause
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,autoneg
,rx
,tx
,stats
,stats-src
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,autoneg
,rx
,tx
,stats
,stats-src
]
pause-set¶
Set pause params.
- attribute-set
pause
- do
- request
- attributes
[
header
,autoneg
,rx
,tx
,stats
,stats-src
]
eee-get¶
Get eee params.
- attribute-set
eee
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,modes-ours
,modes-peer
,active
,enabled
,tx-lpi-enabled
,tx-lpi-timer
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,modes-ours
,modes-peer
,active
,enabled
,tx-lpi-enabled
,tx-lpi-timer
]
eee-set¶
Set eee params.
- attribute-set
eee
- do
- request
- attributes
[
header
,modes-ours
,modes-peer
,active
,enabled
,tx-lpi-enabled
,tx-lpi-timer
]
tsinfo-get¶
Get tsinfo params.
- attribute-set
tsinfo
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,timestamping
,tx-types
,rx-filters
,phc-index
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,timestamping
,tx-types
,rx-filters
,phc-index
]
cable-test-ntf¶
Cable test notification.
- attribute-set
cable-test-ntf
- event
{‘attributes’: [‘header’, ‘status’]}
cable-test-tdr-ntf¶
Cable test TDR notification.
- attribute-set
cable-test-tdr-ntf
- event
{‘attributes’: [‘header’, ‘status’, ‘nest’]}
tunnel-info-get¶
Get tsinfo params.
- attribute-set
tunnel-info
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,udp-ports
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,udp-ports
]
fec-get¶
Get FEC params.
- attribute-set
fec
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,modes
,auto
,active
,stats
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,modes
,auto
,active
,stats
]
fec-set¶
Set FEC params.
- attribute-set
fec
- do
- request
- attributes
[
header
,modes
,auto
,active
,stats
]
module-eeprom-get¶
Get module EEPROM params.
- attribute-set
module-eeprom
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,offset
,length
,page
,bank
,i2c-address
,data
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,offset
,length
,page
,bank
,i2c-address
,data
]
stats-get¶
Get statistics.
- attribute-set
stats
- do
- request
- attributes
[
header
,groups
]
- reply
- attributes
[
header
,groups
,grp
,src
]
- dump
- request
- attributes
[
header
,groups
]
- reply
- attributes
[
header
,groups
,grp
,src
]
phc-vclocks-get¶
Get PHC VCLOCKs.
- attribute-set
phc-vclocks
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,num
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,num
]
module-get¶
Get module params.
- attribute-set
module
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,power-mode-policy
,power-mode
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,power-mode-policy
,power-mode
]
module-set¶
Set module params.
- attribute-set
module
- do
- request
- attributes
[
header
,power-mode-policy
,power-mode
]
pse-get¶
Get Power Sourcing Equipment params.
- attribute-set
pse
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,admin-state
,admin-control
,pw-d-status
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,admin-state
,admin-control
,pw-d-status
]
pse-set¶
Set Power Sourcing Equipment params.
- attribute-set
pse
- do
- request
- attributes
[
header
,admin-state
,admin-control
,pw-d-status
]
rss-get¶
Get RSS params.
- attribute-set
rss
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,context
,hfunc
,indir
,hkey
,input_xfrm
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,context
,hfunc
,indir
,hkey
,input_xfrm
]
plca-get-cfg¶
Get PLCA params.
- attribute-set
plca
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,version
,enabled
,status
,node-cnt
,node-id
,to-tmr
,burst-cnt
,burst-tmr
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,version
,enabled
,status
,node-cnt
,node-id
,to-tmr
,burst-cnt
,burst-tmr
]
plca-set-cfg¶
Set PLCA params.
- attribute-set
plca
- do
- request
- attributes
[
header
,version
,enabled
,status
,node-cnt
,node-id
,to-tmr
,burst-cnt
,burst-tmr
]
plca-get-status¶
Get PLCA status params.
- attribute-set
plca
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,version
,enabled
,status
,node-cnt
,node-id
,to-tmr
,burst-cnt
,burst-tmr
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,version
,enabled
,status
,node-cnt
,node-id
,to-tmr
,burst-cnt
,burst-tmr
]
mm-get¶
Get MAC Merge configuration and state
- attribute-set
mm
- do
- request
- attributes
[
header
]
- reply
- attributes
[
header
,pmac-enabled
,tx-enabled
,tx-active
,tx-min-frag-size
,rx-min-frag-size
,verify-enabled
,verify-time
,max-verify-time
,stats
]
- dump
- request
- attributes
[
header
]
- reply
- attributes
[
header
,pmac-enabled
,tx-enabled
,tx-active
,tx-min-frag-size
,rx-min-frag-size
,verify-enabled
,verify-time
,max-verify-time
,stats
]
Definitions¶
udp-tunnel-type¶
- enum-name
None
- type
enum
- entries
vxlan
geneve
vxlan-gpe
Attribute sets¶
bitset-bits¶
bit (nest
)¶
- multi-attr
True
- nested-attributes
bitset-bit
strings¶
string (nest
)¶
- multi-attr
True
- nested-attributes
string
stringsets¶
stringset (nest
)¶
- multi-attr
True
- nested-attributes
stringset
rings¶
header (nest
)¶
- nested-attributes
header
linkinfo¶
header (nest
)¶
- nested-attributes
header
linkmodes¶
header (nest
)¶
- nested-attributes
header
ours (nest
)¶
- nested-attributes
bitset
peer (nest
)¶
- nested-attributes
bitset
linkstate¶
header (nest
)¶
- nested-attributes
header
features¶
header (nest
)¶
- nested-attributes
header
wanted (nest
)¶
- nested-attributes
bitset
active (nest
)¶
- nested-attributes
bitset
nochange (nest
)¶
- nested-attributes
bitset
channels¶
header (nest
)¶
- nested-attributes
header
coalesce¶
header (nest
)¶
- nested-attributes
header
eee¶
header (nest
)¶
- nested-attributes
header
modes-ours (nest
)¶
- nested-attributes
bitset
modes-peer (nest
)¶
- nested-attributes
bitset
tsinfo¶
header (nest
)¶
- nested-attributes
header
timestamping (nest
)¶
- nested-attributes
bitset
tx-types (nest
)¶
- nested-attributes
bitset
rx-filters (nest
)¶
- nested-attributes
bitset
cable-nest¶
result (nest
)¶
- nested-attributes
cable-result
fault-length (nest
)¶
- nested-attributes
cable-fault-length
cable-test¶
header (nest
)¶
- nested-attributes
header
cable-test-tdr-ntf¶
header (nest
)¶
- nested-attributes
header
nest (nest
)¶
- nested-attributes
cable-nest
cable-test-tdr¶
header (nest
)¶
- nested-attributes
header
cfg (nest
)¶
- nested-attributes
cable-test-tdr-cfg
tunnel-udp-table¶
types (nest
)¶
- nested-attributes
bitset
entry (nest
)¶
- multi-attr
True
- nested-attributes
tunnel-udp-entry
tunnel-udp¶
table (nest
)¶
- nested-attributes
tunnel-udp-table
fec-stat¶
corrected (binary
)¶
- sub-type
u64
uncorr (binary
)¶
- sub-type
u64
corr-bits (binary
)¶
- sub-type
u64
fec¶
header (nest
)¶
- nested-attributes
header
modes (nest
)¶
- nested-attributes
bitset
stats (nest
)¶
- nested-attributes
fec-stat
module-eeprom¶
header (nest
)¶
- nested-attributes
header
stats-grp¶
stat (u64
)¶
- type-value
[‘id’]
hist-rx (nest
)¶
- nested-attributes
stats-grp-hist
hist-tx (nest
)¶
- nested-attributes
stats-grp-hist
stats¶
header (nest
)¶
- nested-attributes
header
groups (nest
)¶
- nested-attributes
bitset
grp (nest
)¶
- nested-attributes
stats-grp
pse¶
header (nest
)¶
- nested-attributes
header
admin-state (u32
)¶
- name-prefix
ethtool-a-podl-pse-
admin-control (u32
)¶
- name-prefix
ethtool-a-podl-pse-
pw-d-status (u32
)¶
- name-prefix
ethtool-a-podl-pse-
rss¶
header (nest
)¶
- nested-attributes
header
plca¶
header (nest
)¶
- nested-attributes
header