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

"ip link show" command reports Message Truncated on a system with a large number of VF interfaces

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.4
    • iproute
    • None
    • None
    • Important
    • rhel-sst-networking-core
    • ssg_networking
    • 13
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

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

      Running "ip link show" outputs Message Truncated several times and the resulting interface list is incomplete.

      Please provide the package NVR for which bug is seen:

      RHEL-9.4.0-20231223.12

      iproute-6.2.0-5.el9.x86_64

      [root@dell-per740-17 ~]# cat /proc/cmdline 
      BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-402.el9.x86_64 root=/dev/mapper/rhel_dell--per740--17-root ro intel_iommu=on iommu=pt ksdevice=bootif crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_dell--per740--17-swap rd.lvm.lv=rhel_dell-per740-17/root rd.lvm.lv=rhel_dell-per740-17/swap console=ttyS0,115200n81

      How reproducible:100%

      Steps to reproduce

      create 256 vfs

      [root@dell-per740-17 ~]# ethtool -i enp94s0
      driver: ice
      version: 5.14.0-402.el9.x86_64
      firmware-version: 4.30 0x8001af25 1.3429.0
      expansion-rom-version: 
      bus-info: 0000:5e:00.0
      supports-statistics: yes
      supports-test: yes
      supports-eeprom-access: yes
      supports-register-dump: yes
      supports-priv-flags: yes
      [root@dell-per740-17 ~]# cat /sys/class/net/enp94s0/device/sriov_totalvfs 
      256
      [root@dell-per740-17 ~]# echo 256 > /sys/class/net/enp94s0/device/sriov_numvfs 
      [root@dell-per740-17 ~]# echo $?
      0

      use ip link show check vfs

      [root@dell-per740-17 ~]# ip link show enp94s0
      7: enp94s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
          link/ether 40:a6:b7:9e:e4:f8 brd ff:ff:ff:ff:ff:ff
          vf 0     link/ether ae:62:ca:2e:a6:5f brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 1     link/ether ce:76:c5:d2:2b:44 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 2     link/ether 0e:e8:00:13:97:7e brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 3     link/ether 06:f1:08:07:13:a4 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 4     link/ether 8e:01:91:19:10:42 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 5     link/ether 32:f0:d3:ac:f6:ee brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 6     link/ether ae:79:01:26:02:96 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 7     link/ether d6:f3:bc:e7:98:c3 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 8     link/ether 8a:ca:46:90:40:11 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 9     link/ether ae:04:be:b3:55:a4 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 10     link/ether f6:5a:12:15:ec:91 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 11     link/ether 4a:8e:d1:4d:dd:29 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 12     link/ether da:c1:76:da:9e:07 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 13     link/ether 76:1d:7b:03:be:6a brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 14     link/ether 96:b3:f4:58:f7:43 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 15     link/ether 86:4d:bf:9d:e3:d9 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 16     link/ether 16:43:30:bb:78:f4 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 17     link/ether 5a:8a:61:6a:0f:62 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 18     link/ether 42:c4:11:77:43:62 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 19     link/ether 8a:1e:4a:2a:5f:4d brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 20     link/ether 7a:80:0e:81:7f:50 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 21     link/ether 26:9e:83:72:9f:8b brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 22     link/ether c2:07:0e:d8:62:f7 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 23     link/ether 36:87:4e:64:d6:23 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 24     link/ether 0e:54:05:43:d9:d0 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 25     link/ether b2:bf:18:12:cf:3d brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 26     link/ether de:74:f0:9a:53:e8 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 27     link/ether da:94:3b:b8:a3:92 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 28     link/ether 6a:8d:2b:e6:97:8b brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 29     link/ether a6:c4:1a:40:71:1e brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 30     link/ether 8e:72:76:7c:29:14 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 31     link/ether 0a:8f:c3:b3:c5:68 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 32     link/ether d2:3b:43:46:ba:5e brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
          vf 33     link/ether b6:78:b9:3d:34:33 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
      Truncated VF list: enp94s0

      check total vfs were shown from ip a

      [root@dell-per740-17 ~]# ip a ls | grep -E 'enp94s0v.*:' | wc -l
      256
      

      Expected results

      ip link show will output all of vfs

      Actual results

      ip link show reports Message Truncated

      https://bugzilla.redhat.com/show_bug.cgi?id=1380803

       

              rh-ee-aclaudi Andrea Claudi
              mhou@redhat.com Minxi Hou
              Andrea Claudi Andrea Claudi
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: