[pcie-82599]82599 clear vf got error msg "failed to kill vid 0081/0 for device enp130s16"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu-18.04 |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu-18.04-hwe |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu-19.04 |
Won't Fix
|
Undecided
|
Unassigned | ||
Ubuntu-19.10 |
Won't Fix
|
Undecided
|
Unassigned | ||
Upstream-kernel |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Bug Description]
82599 clear vf got error msg "failed to kill vid 0081/0 for device enp130s16"
[Steps to Reproduce]
1 $ echo 1 > sriov_numvfs
2 $ ifconfig eth10 192.168.1.79 #eth10 is vf(make sure vf is link up)
3 $ echo 0 > sriov_numvfs
[Actual Results]
full reproduce log:
[root@localhost ~]# cd /sys/bus/
[root@localhost 0000:82:00.0]# echo 1 > sriov_numvfs
[ 209.863226] ixgbe 0000:82:00.0 enp130s0f0: SR-IOV enabled with 1 VFs
[ 209.869778] ixgbe 0000:82:00.0: removed PHC on enp130s0f0
[ 209.964028] ixgbe 0000:81:00.0 enp129s0f0: NIC Link is Down
[ 210.010467] ixgbe 0000:82:00.0: registered PHC device on enp130s0f0
[ 210.252951] pci 0000:82:10.0: can't set Max Payload Size to 512; if necessary, use "pci=pcie_bus_safe" and report a bug
[root@localhost 0000:82:00.0]#
[ 210.271246] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 4.1.0-k
[ 210.273958] ixgbe 0000:82:00.0 enp130s0f0: detected SFP+: 5
[ 210.286066] ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
[ 210.292327] iommu: Adding device 0000:82:10.0 to group 48, default domain type 3
[root@localhost [ 210.300307] ixgbevf 0000:82:10.0: enabling device (0000 -> 0002)
0000:82:00.0]# [ 210.307499] ixgbe 0000:82:00.0 enp130s0f0: VF Reset msg received from vf 0
[ 210.315830] ixgbe 0000:82:00.0: VF 0 has no MAC address assigned, you may have to assign one manually
[ 210.335565] ixgbevf 0000:82:10.0: MAC address not assigned by administrator.
[ 210.342587] ixgbevf 0000:82:10.0: Assigning random MAC address
[ 210.349277] ixgbevf 0000:82:10.0: ba:92:c8:d9:4d:e2
[ 210.354140] ixgbevf 0000:82:10.0: MAC: 1
[ 210.358045] ixgbevf 0000:82:10.0: Intel(R) 82599 Virtual Function
[ 210.369572] ixgbevf 0000:82:10.0 enp130s16: renamed from eth0
[ 210.426072] IPv6: ADDRCONF(
[ 210.448470] IPv6: ADDRCONF(
[ 210.454722] 8021q: adding VLAN 0 to HW filter on device enp130s16
[ 210.773132] ixgbe 0000:81:00.0 enp129s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[ 210.781278] ixgbe 0000:82:00.0 enp130s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[ 210.789771] ixgbevf 0000:82:10.0: NIC Link is Up 10 Gbps
[ 210.795089] IPv6: ADDRCONF(
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]# ethtool -i enp130s16
driver: ixgbevf
version: 4.1.0-k
firmware-version:
expansion-
bus-info: 0000:82:10.0
supports-
supports-test: yes
supports-
supports-
supports-
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]# ip addr add 192.168.2.116/24 dev enp130s16
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]# ethtool enp130s16
Settings for enp130s16:
Supported ports: [ ]
Supported link modes: 10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Other
PHYAD: 0
Transceiver: internal
Auto-
Current message level: 0x00000007 (7)
Link detected: yes
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]# dmesg
[ 209.863226] ixgbe 0000:82:00.0 enp130s0f0: SR-IOV enabled with 1 VFs
[ 209.869778] ixgbe 0000:82:00.0: removed PHC on enp130s0f0
[ 209.964028] ixgbe 0000:81:00.0 enp129s0f0: NIC Link is Down
[ 209.978348] ixgbe 0000:82:00.0: Multiqueue Enabled: Rx Queue count = 4, Tx Queue count = 4 XDP Queue count = 0
[ 210.010467] ixgbe 0000:82:00.0: registered PHC device on enp130s0f0
[ 210.252892] pci 0000:82:10.0: [8086:10ed] type 00 class 0x020000
[ 210.252951] pci 0000:82:10.0: can't set Max Payload Size to 512; if necessary, use "pci=pcie_bus_safe" and report a bug
[ 210.271246] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 4.1.0-k
[ 210.273958] ixgbe 0000:82:00.0 enp130s0f0: detected SFP+: 5
[ 210.286066] ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
[ 210.292327] iommu: Adding device 0000:82:10.0 to group 48, default domain type 3
[ 210.300307] ixgbevf 0000:82:10.0: enabling device (0000 -> 0002)
[ 210.307499] ixgbe 0000:82:00.0 enp130s0f0: VF Reset msg received from vf 0
[ 210.315830] ixgbe 0000:82:00.0: VF 0 has no MAC address assigned, you may have to assign one manually
[ 210.335565] ixgbevf 0000:82:10.0: MAC address not assigned by administrator.
[ 210.342587] ixgbevf 0000:82:10.0: Assigning random MAC address
[ 210.349277] ixgbevf 0000:82:10.0: ba:92:c8:d9:4d:e2
[ 210.354140] ixgbevf 0000:82:10.0: MAC: 1
[ 210.358045] ixgbevf 0000:82:10.0: Intel(R) 82599 Virtual Function
[ 210.369572] ixgbevf 0000:82:10.0 enp130s16: renamed from eth0
[ 210.426072] IPv6: ADDRCONF(
[ 210.448470] IPv6: ADDRCONF(
[ 210.454722] 8021q: adding VLAN 0 to HW filter on device enp130s16
[ 210.773132] ixgbe 0000:81:00.0 enp129s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[ 210.781278] ixgbe 0000:82:00.0 enp130s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[ 210.789771] ixgbevf 0000:82:10.0: NIC Link is Up 10 Gbps
[ 210.795089] IPv6: ADDRCONF(
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]#
[root@localhost 0000:82:00.0]# echo 0 > sriov_numvfs
[ 262.666102] failed to kill vid 0081/0 for device enp130s16
[ 262.783042] iommu: Removing device 0000:82:10.0 from group 48
[ 263.932947] ixgbe 0000:82:00.0: removed PHC on enp130s0f0
[ 264.023999] ixgbe 0000:81:00.0 enp129s0f0: NIC Link is Down
[ 264.026256] ixgbe 0000:82:00.0: Multiqueue Enabled: Rx Queue count = 63, Tx Queue count = 63 XDP Queue count = 0
[ 264.287280] ixgbe 0000:82:00.0: registered PHC device on enp130s0f0
[Expected Results]
no print
[ 262.666102] failed to kill vid 0081/0 for device enp130s16
[Reproducibility]
100%
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):
[Resolution]
Also reported at https:/ /bugs.centos. org/view. php?id= 16342