View Issue Details

IDProjectCategoryView StatusLast Update
0016342CentOS-7kernelpublic2019-08-20 02:55
Reporterz.liuxinliang@hisilicon.com 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016342: 82599 NIC clear vf got error msg "failed to kill vid 0081/0 for device enp130s16"
Description82599 clear vf got error msg "failed to kill vid 0081/0 for device enp130s16"
Kernel 4.14.0-115.el7a.0.1.aarch64
82599 pcie card
Steps To Reproduce1 $ 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
Additional Informationfull reproduce log:
[root@localhost ~]# cd /sys/bus/pci/devices/0000:82:00.0
[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(NETDEV_UP): enp130s16: link is not ready
[ 210.448470] IPv6: ADDRCONF(NETDEV_UP): enp130s16: link is not ready
[ 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(NETDEV_CHANGE): enp130s16: link becomes ready

[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-rom-version:
bus-info: 0000:82:10.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
[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-negotiation: off
    Current message level: 0x00000007 (7)
                   drv probe link
    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(NETDEV_UP): enp130s16: link is not ready
[ 210.448470] IPv6: ADDRCONF(NETDEV_UP): enp130s16: link is not ready
[ 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(NETDEV_CHANGE): enp130s16: link becomes ready
[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
[root@localhost 0000:82:00.0]#
TagsNo tags attached.
abrt_hash
URL

Activities

z.liuxinliang@hisilicon.com

z.liuxinliang@hisilicon.com

2019-08-20 02:55

reporter   ~0035001

This issue also exists in v5.2 kernel.

Issue History

Date Modified Username Field Change
2019-08-20 02:53 z.liuxinliang@hisilicon.com New Issue
2019-08-20 02:55 z.liuxinliang@hisilicon.com Note Added: 0035001