Red Hat Training

A Red Hat training course is available for RHEL 8

36.2. nmcli を使用した ethtool 結合の設定

NetworkManager を使用して、接続プロファイルに ethtool coalesce を設定できます。

手順

  1. たとえば、enp1s0 接続プロファイルで受信パケットの最大数を 128 に設定するには、次のコマンドを実行します。

    # nmcli connection modify enp1s0 ethtool.coalesce-rx-frames 128
  2. 結合設定を削除するには、設定を ignore に設定します。たとえば、ethtool.coalesce-rx-frames 設定を削除するには、次のコマンドを実行します。

    # nmcli connection modify enp1s0 ethtool.coalesce-rx-frames ignore
  3. ネットワークプロファイルを再度アクティブにするには、以下を実行します。

    # nmcli connection up enp1s0

検証

  1. ethtool -c コマンドを使用して、ネットワークデバイスの現在のオフロード機能を表示します。

    # ethtool -c network_device