vf <> state disable" not working with ixgbe" /> vf <> state disable" not working with ixgbe" />

Wind River Support Network

HomeDefectsLIN1019-10159
Fixed

LIN1019-10159 : "ip link set <> vf <> state disable" not working with ixgbe

Created: Aug 8, 2023    Updated: Jan 12, 2024
Resolved Date: Jan 11, 2024
Found In Version: 10.19.45.28
Severity: Critical
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description

The command "ip link set hsxe0 vf 1 state disable" is unable to bring a VF down on X552 (customer board) (ixgbe) NIC. The error says "RTNETLINK answers: Operation not supported".

The same command works fine on X722 (i40e) NIC.

Steps to Reproduce

 

$ ./wrlinux-x/setup.sh --distros wrlinux-ovp --machines intel-x86-64 --templates feature/initramfs,feature/kdump,feature/kexec,feature/sysklogd,feature/dpdk,feature/package-management --all-layers --dl-layers
$ . ./environment-setup-x86_64-wrlinuxsdk-linux && . ./oe-init-build-env
$ bitbake wrlinux-image-ovp-kvm

Using Board 22504 :

 
$ ssh root@128.224.165.93
root@intel-x86-64:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:1e:67:e5:bb:f2 brd ff:ff:ff:ff:ff:ff
    vf 0 MAC 3e:90:96:dd:83:08, spoof checking on, link-state auto, trust off, query_rss off
    vf 1 MAC 06:0d:a8:58:a8:ba, spoof checking on, link-state auto, trust off, query_rss off
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:1e:67:e5:bb:f3 brd ff:ff:ff:ff:ff:ff
    vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 24:1c:04:f3:b3:c9 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 24:1c:04:f3:b3:cb brd ff:ff:ff:ff:ff:ff
6: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
7: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 3e:90:96:dd:83:08 brd ff:ff:ff:ff:ff:ff
8: eth5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 06:0d:a8:58:a8:ba brd ff:ff:ff:ff:ff:ff
9: eth6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether f2:63:ed:77:21:e8 brd ff:ff:ff:ff:ff:ff
10: eth7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 6e:87:83:12:67:f4 brd ff:ff:ff:ff:ff:ff
11: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:cd:24:3e brd ff:ff:ff:ff:ff:ff
12: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:cd:24:3e brd ff:ff:ff:ff:ff:ff
13: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:75:f8:fd:0d brd ff:ff:ff:ff:ff:ff
root@intel-x86-64:~# ip link set eth4 vf 1 state disable
RTNETLINK answers: Operation not supported
root@intel-x86-64:~#
root@intel-x86-64:~# uname -a Linux intel-x86-64 5.2.60-rt15-yocto-preempt-rt #1 SMP PREEMPT RT Thu Jul 6 17:10:50 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux root@intel-x86-64:~# root@intel-x86-64:~# lspci -nn | grep -i ethernet 03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 [8086:1528] (rev 01) 03:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 [8086:1528] (rev 01) 03:10.0 Ethernet controller [0200]: Intel Corporation X540 Ethernet Controller Virtual Function [8086:1515] (rev 01) 03:10.1 Ethernet controller [0200]: Intel Corporation X540 Ethernet Controller Virtual Function [8086:1515] (rev 01) 03:10.2 Ethernet controller [0200]: Intel Corporation X540 Ethernet Controller Virtual Function [8086:1515] (rev 01) 03:10.3 Ethernet controller [0200]: Intel Corporation X540 Ethernet Controller Virtual Function [8086:1515] (rev 01) 05:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ [8086:1584] (rev 02) 81:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ [8086:1584] (rev 02) root@intel-x86-64:~#

 
Live chat
Online