Verification for noble:linux on machine beldam:
+ uname -a
Linux beldam 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11
01:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
+ echo 0
+ echo
+ echo
+ echo 0
+ echo
+ echo function
+ echo i40e_vc_reset_vf
+ echo 'p:i40e_probe i40e_ndo_set_vf_link_state netdev=%di vf_id=%si:x32
link=%dx:x32'
+ echo 1
+ echo 1
+ echo 4
+ sudo tee /sys/class/net/enp176s0f0/device/sriov_numvfs
4
+ sleep 5
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state enable
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state enable, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state disable
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state disable, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ echo 0
+ cp /sys/kernel/debug/tracing/trace /tmp/trace.out
+ cat /tmp/trace.out
# tracer: function
#
# entries-in-buffer/entries-written: 13/13 #P:80
#
# _-----=> irqs-off/BH-disabled
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / _-=> migrate-disable
# |||| / delay
# TASK-PID CPU# ||||| TIMESTAMP FUNCTION
# | | | ||||| | |
ip-2990 [025] ..... 310.504759: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x220 [i40e]) netdev=0xffff897591963000
vf_id=0x0 link=0x0
ip-2990 [025] ..... 310.504764: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
ip-2992 [026] ..... 315.644002: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x220 [i40e]) netdev=0xffff897591963000
vf_id=0x0 link=0x0
ip-2992 [026] ..... 315.644005: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
ip-2995 [027] ..... 320.787100: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x220 [i40e]) netdev=0xffff897591963000
vf_id=0x0 link=0x1
ip-2995 [027] ..... 320.787102: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
ip-2998 [066] ..... 325.929761: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x220 [i40e]) netdev=0xffff897591963000
vf_id=0x0 link=0x2
ip-3003 [025] ..... 330.938956: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x220 [i40e]) netdev=0xffff897591963000
vf_id=0x0 link=0x0
ip-3003 [025] ..... 330.938960: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
ip-3008 [027] ..... 336.087048: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x220 [i40e]) netdev=0xffff897591963000
vf_id=0x0 link=0x0
ip-3008 [027] ..... 336.087051: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
ip-3010 [025] ..... 341.226691: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x220 [i40e]) netdev=0xffff897591963000
vf_id=0x0 link=0x0
ip-3010 [025] ..... 341.226694: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
After upgrading to the kernel from -proposed:
+ uname -a
Linux beldam 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18
14:14:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
+ echo 0
+ echo
+ echo
+ echo 0
+ echo
+ echo function
+ echo i40e_vc_reset_vf
+ echo 'p:i40e_probe i40e_ndo_set_vf_link_state netdev=%di vf_id=%si:x32
link=%dx:x32'
+ echo 1
+ echo 1
+ echo 4
+ sudo tee /sys/class/net/enp176s0f0/device/sriov_numvfs
4
+ sleep 5
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state enable
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state enable, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state disable
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state disable, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link show enp176s0f0
2: enp176s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
link/ether 40:a6:b7:5d:39:88 brd ff:ff:ff:ff:ff:ff
vf 0 link/ether 4a:e6:dc:cb:e6:eb brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 1 link/ether f2:98:54:ab:51:55 brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 2 link/ether 16:a4:b0:c1:76:5c brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
vf 3 link/ether b6:92:49:f8:46:3d brd ff:ff:ff:ff:ff:ff, spoof checking
on, link-state auto, trust off
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ ip link set enp176s0f0 vf 0 state auto
+ sleep 5
+ echo 0
+ cp /sys/kernel/debug/tracing/trace /tmp/trace.out
+ cat /tmp/trace.out
# tracer: function
#
# entries-in-buffer/entries-written: 9/9 #P:80
#
# _-----=> irqs-off/BH-disabled
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / _-=> migrate-disable
# |||| / delay
# TASK-PID CPU# ||||| TIMESTAMP FUNCTION
# | | | ||||| | |
ip-2250 [066] ..... 171.173999: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x280 [i40e]) netdev=0xffff8c0f50a12000
vf_id=0x0 link=0x0
ip-2252 [027] ..... 176.179506: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x280 [i40e]) netdev=0xffff8c0f50a12000
vf_id=0x0 link=0x0
ip-2255 [067] ..... 181.187950: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x280 [i40e]) netdev=0xffff8c0f50a12000
vf_id=0x0 link=0x1
ip-2255 [067] ..... 181.187953: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
ip-2258 [067] ..... 186.330144: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x280 [i40e]) netdev=0xffff8c0f50a12000
vf_id=0x0 link=0x2
ip-2261 [068] ..... 191.338962: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x280 [i40e]) netdev=0xffff8c0f50a12000
vf_id=0x0 link=0x0
ip-2261 [068] ..... 191.338966: i40e_vc_reset_vf
<-i40e_ndo_set_vf_link_state
ip-2264 [067] ..... 196.481116: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x280 [i40e]) netdev=0xffff8c0f50a12000
vf_id=0x0 link=0x0
ip-2266 [066] ..... 201.486123: i40e_probe:
(i40e_ndo_set_vf_link_state+0x0/0x280 [i40e]) netdev=0xffff8c0f50a12000
vf_id=0x0 link=0x0
** Tags removed: verification-needed-noble-linux
** Tags added: verification-done-noble-linux
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130552
Title:
i40e driver is triggering VF resets on every link state change
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2130552/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs