salt.states.ethtool#
Configuration of network device
New in version 2016.11.0.
- codeauthor:
Krzysztof Pawlowski <msciciel@msciciel.eu>
- maturity:
new
- depends:
python-ethtool
- platform:
linux
eth0:
ethtool.coalesce:
- name: eth0
- rx_usecs: 24
- tx_usecs: 48
eth0:
ethtool.ring:
- name: eth0
- rx: 1024
- tx: 1024
eth0:
ethtool.offload:
- name: eth0
- tcp_segmentation_offload: on
- salt.states.ethtool.coalesce(name, **kwargs)#
Manage coalescing settings of network device
- name
Interface name to apply coalescing settings
eth0: ethtool.coalesce: - name: eth0 - adaptive_rx: on - adaptive_tx: on - rx_usecs: 24 - rx_frame: 0 - rx_usecs_irq: 0 - rx_frames_irq: 0 - tx_usecs: 48 - tx_frames: 0 - tx_usecs_irq: 0 - tx_frames_irq: 0 - stats_block_usecs: 0 - pkt_rate_low: 0 - rx_usecs_low: 0 - rx_frames_low: 0 - tx_usecs_low: 0 - tx_frames_low: 0 - pkt_rate_high: 0 - rx_usecs_high: 0 - rx_frames_high: 0 - tx_usecs_high: 0 - tx_frames_high: 0 - sample_interval: 0
- salt.states.ethtool.offload(name, **kwargs)#
Manage protocol offload and other features of network device
- name
Interface name to apply coalescing settings
eth0: ethtool.offload: - name: eth0 - tcp_segmentation_offload: on
- salt.states.ethtool.pause(name, **kwargs)#
New in version 3006.0.
Manage pause parameters of network device
- name
Interface name to apply pause parameters
eth0: ethtool.pause: - name: eth0 - autoneg: off - rx: off - tx: off
- salt.states.ethtool.ring(name, **kwargs)#
Manage rx/tx ring parameters of network device
Use 'max' word to set with factory maximum
- name
Interface name to apply ring parameters
eth0: ethtool.ring: - name: eth0 - rx: 1024 - rx_mini: 0 - rx_jumbo: 0 - tx: max