Here're the reproduce steps of this issue, also attached the errors in dmesg log which were triggered by this issue.
root@unassigned-hostname:~# ethtool -i enp24s0f0 driver: i40e version: 2.1.14-k firmware-version: 6.02 0x80003620 1.1747.0 expansion-rom-version: bus-info: 0000:18:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes root@unassigned-hostname:~# echo 1 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_numvfs root@unassigned-hostname:~# ip link set dev enp24s0f0 vf 0 mac 00:10:00:00:00:00 root@unassigned-hostname:~# echo "dump vf 0" > /sys/kernel/debug/i40e/0000\:18\:00.0/command root@unassigned-hostname:~# echo "dump vsi 394" > /sys/kernel/debug/i40e/0000\:18\:00.0/command root@unassigned-hostname:~# ip link set dev enp24s2 address 00:10:00:00:00:00 root@unassigned-hostname:~# ip link set dev enp24s2 address 00:20:00:00:00:00 root@unassigned-hostname:~# echo "dump vsi 394" > /sys/kernel/debug/i40e/0000\:18\:00.0/command ** Attachment added: "dmesg_log.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1806845/+attachment/5219663/+files/dmesg_log.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1806845 Title: The unsigned vf->num_mac will be decreased to below zero and cause the VF port not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1806845/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
