Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-1463

Setting ethtool pause will cause i40e interface goes offline

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • None
    • Moderate
    • 1
    • rhel-net-mgmt
    • ssg_networking
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • NMT SST - Future releases
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      None


      ( ) Code changes are included in a downstream build attached to an errata.


      ( ) All required testing (manual and/or automated) passes successfully.


      ( ) Related documentation updates (if applicable) have been completed.

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. None ( ) Code changes are included in a downstream build attached to an errata. ( ) All required testing (manual and/or automated) passes successfully. ( ) Related documentation updates (if applicable) have been completed.
    • None
    • None
    • None
    • 0

      Description of problem:

      When applying this nmstate state, the i40e interface will lose link carrier

      interfaces:

      • name: eno4
        type: ethernet
        state: up
        ethtool:
        pause:
        rx: false
        tx: false
        autoneg: false

      The ethtool pause setting is actually the current and also default setting for this i40e NIC.

      Version-Release number of selected component (if applicable):

      kernel-5.14.0-283.el9.x86_64
      NetworkManager-1.42.2-4.el9_2.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. Find a server with i40e NIC
      2. Apply above nmstate YAML file(change the interface name to match your env):
      sudo nmstatectl apply ethtool_pause.yml
      3. ip link show eno4

      Actual results:

      The i40e NIC lose link carrier and link down.

      Expected results:

      The i40e NIC will not lose link carrier.

      Additional info:

      Tried with `ip link set eno4 up` then `ethtool --pause eno4 autoneg off rx off tx off`, the link carrier will not lose.

      [root@computesriovoffload-0 fge]# ethtool -i eno4
      driver: i40e
      version: 5.14.0-283.el9.x86_64
      firmware-version: 8.40 0x8000af86 20.5.16
      expansion-rom-version:
      bus-info: 0000:19:00.3
      supports-statistics: yes
      supports-test: yes
      supports-eeprom-access: yes
      supports-register-dump: yes
      supports-priv-flags: yes

      19:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)

      Acceptance criteria:

      Given a system administrator configuring a server with i40e NIC and setting the ethtool pause setting to the default values for this i40e NIC.

      When the system administrator applies an nmstate YAML file, altering the interface and ethtool pause settings

      Then the link carrier for the i40e NIC should not be lost, ensuring the NIC remains accessible.

      Definition of done

      • The implementation meets the acceptance criteria
      • Unit test and integration test are written and passed
      • The code is part of a build attached to an errata

              rh-ee-sfaye Stanislas Faye
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: