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

[octeon_ep]got some error when set effective mac for vf

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • kernel-5.14.0-629.el9
    • No
    • Moderate
    • 3
    • rhel-net-drivers-1
    • 7
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CNB, RDMA, Wireless 5, CNB, RDMA, Wireless 6, CNB, RDMA, Wireless 7
    • Unspecified
    • Unspecified
    • Unspecified
    • None
    • Merge Request passes all submitter checks, Merge Request finished CI testing, Merge Request passed CI testing, Merge Request approved by peer review

      What were you trying to do that didn't work?

      [octeon_ep]got some error when set effective mac for vf

      Please provide the package NVR for which the bug is seen:

      5.14.0-570.12.1.el9_6.aarch64

      How reproducible is this bug?:

      always

      Steps to reproduce

      1.create VF 

      echo 1 > /sys/class/net/enp1s0f0/device/sriov_numvfs 

      2.set admin MAC for the VF

      ip link set enp1s0f0 vf 0 mac 00:11:22:33:44:11

      3. remove the VF, then create VF again

      echo 0 > /sys/class/net/enp1s0f0/device/sriov_numvfs 

      echo 1 > /sys/class/net/enp1s0f0/device/sriov_numvfs 

      4. set effective mac for vf

      ip link set enp1s0f0v0 addr 00:11:22:33:44:12  --------failed

      Expected results

      pass

      Actual results

      fail

      Log:

      [root@wsfd-advnetlab-arm01 ~]# ip link set enp1s0f0v0 addr 00:11:22:33:44:12
      RTNETLINK answers: Unknown error -3
      [root@wsfd-advnetlab-arm01 ~]
      [root@wsfd-advnetlab-arm01 ~]# dmesg
      [221744.472249] octeon_ep 0000:01:00.0: VF0 attempted to override administrative set MAC address
      [221744.481256] octeon_ep_vf 0000:01:02.0: mbox_send: Received NACK
      [221744.487257] octeon_ep_vf 0000:01:02.0: Mbox send failed; err = 3

       

      [root@wsfd-advnetlab-arm01 sriov]# ethtool -i enp1s0f0
      driver: octeon_ep
      version: 5.14.0-570.12.1.el9_6.aarch64
      firmware-version: 
      expansion-rom-version: 
      bus-info: 0000:01:00.0
      supports-statistics: yes
      supports-test: no
      supports-eeprom-access: no
      supports-register-dump: no
      supports-priv-flags: no

              kheib Kamal Heib
              rhn-support-yuma Yuying Ma
              sathesh edara
              Marvell Confidential Group
              Shinas Rasheed Shinas Rasheed
              Yuying Ma Yuying Ma
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: