Configuration of network device
New in version 2016.11.0.
Krzysztof Pawlowski <msciciel@msciciel.eu>
new
python-ethtool
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
Manage coalescing settings of network device
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
Manage protocol offload and other features of network device
Interface name to apply coalescing settings
eth0:
ethtool.offload:
- name: eth0
- tcp_segmentation_offload: on
New in version 3006.0.
Manage pause parameters of network device
Interface name to apply pause parameters
eth0:
ethtool.pause:
- name: eth0
- autoneg: off
- rx: off
- tx: off
Manage rx/tx ring parameters of network device
Use 'max' word to set with factory maximum
Interface name to apply ring parameters
eth0:
ethtool.ring:
- name: eth0
- rx: 1024
- rx_mini: 0
- rx_jumbo: 0
- tx: max