zoukankan      html  css  js  c++  java
  • Saltstack module ethtool 详解

    ethtool.show_driver

    Queries the specified network device for associated driver information
    
    CLI Example:
    
        salt '*' ethtool.show_driver <devname>
    

    ethtool.show_ring

    Queries the specified network device for rx/tx ring parameter information
    
    CLI Example:
    
        salt '*' ethtool.show_ring <devname>
    

    ethtool.show_offload

    Queries the specified network device for the state of protocol offload and other features
    
    CLI Example:
    
        salt '*' ethtool.show_offload <devname>
    

    ethtool.set_coalesce

    Changes the coalescing settings of the specified network device
    
    CLI Example:
    
        salt '*' ethtool.set_coalesce <devname> [adaptive_rx=on|off] [adaptive_tx=on|off] [rx_usecs=N] [rx_frames=N]
            [rx_usecs_irq=N] [rx_frames_irq=N] [tx_usecs=N] [tx_frames=N] [tx_usecs_irq=N] [tx_frames_irq=N]
            [stats_block_usecs=N] [pkt_rate_low=N] [rx_usecs_low=N] [rx_frames_low=N] [tx_usecs_low=N] [tx_frames_low=N]
            [pkt_rate_high=N] [rx_usecs_high=N] [rx_frames_high=N] [tx_usecs_high=N] [tx_frames_high=N]
            [sample_interval=N]
    

    ethtool.set_ring

    Changes the rx/tx ring parameters of the specified network device
    
    CLI Example:
    
        salt '*' ethtool.set_ring <devname> [rx=N] [rx_mini=N] [rx_jumbo=N] [tx=N]
    

    ethtool.set_offload

    Changes the offload parameters and other features of the specified network device
    
    CLI Example:
    
        salt '*' ethtool.set_offload <devname> tcp_segmentation_offload=on
    

    ethtool.show_coalesce

    Queries the specified network device for coalescing information
    
    CLI Example:
    
        salt '*' ethtool.show_coalesce <devname>
  • 相关阅读:
    Solution -「ARC 101D」「AT4353」Robots and Exits
    Solution -「多校联训」轮回
    Solution -「多校联训」种蘑菇
    Solution -「多校联训」染色
    luoguP4389 完全背包计数
    Js 之notification浏览器桌面通知
    Linux 之shell脚本调用另一个shell脚本
    Linux 之开机自启动脚本
    Js 之简单ajax封装
    PHP 之phpsocket.io客户端主动推送给服务器
  • 原文地址:https://www.cnblogs.com/randomlee/p/Saltstack_module_ethtool.html
Copyright © 2011-2022 走看看