Verification for plucky:linux on machine beldam:

+ uname -a
Linux beldam 6.14.0-36-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 
02:18:29 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state enable, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state disable, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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-2836    [051] .....   269.201939: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x1e0 [i40e]) netdev=0xffff8ee1dec81000 
vf_id=0x0 link=0x0
              ip-2836    [051] .....   269.201944: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state
              ip-2838    [051] .....   274.329779: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x1e0 [i40e]) netdev=0xffff8ee1dec81000 
vf_id=0x0 link=0x0
              ip-2838    [051] .....   274.329782: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state
              ip-2841    [051] .....   279.471910: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x1e0 [i40e]) netdev=0xffff8ee1dec81000 
vf_id=0x0 link=0x1
              ip-2841    [051] .....   279.471913: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state
              ip-2844    [051] .....   284.613907: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x1e0 [i40e]) netdev=0xffff8ee1dec81000 
vf_id=0x0 link=0x2
              ip-2847    [012] .....   289.624257: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x1e0 [i40e]) netdev=0xffff8ee1dec81000 
vf_id=0x0 link=0x0
              ip-2847    [012] .....   289.624260: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state
              ip-2850    [012] .....   294.767077: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x1e0 [i40e]) netdev=0xffff8ee1dec81000 
vf_id=0x0 link=0x0
              ip-2850    [012] .....   294.767080: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state
              ip-2852    [051] .....   299.906088: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x1e0 [i40e]) netdev=0xffff8ee1dec81000 
vf_id=0x0 link=0x0
              ip-2852    [051] .....   299.906091: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state

After upgrading to kernel in -proposed:

+ uname -a
Linux beldam 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 
22:10:32 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state enable, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state disable, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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 76:42:9d:8b:8d:d3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 1     link/ether ce:ae:3c:f3:e8:e6 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 2     link/ether fa:46:83:92:76:eb brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    vf 3     link/ether c6:e0:00:68:14:f3 brd ff:ff:ff:ff:ff:ff, spoof checking 
on, link-state auto, trust off
    altname enp176s0f0np0
    altname enx40a6b75d3988
+ 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-2286    [057] .....   152.123710: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x240 [i40e]) netdev=0xffff8d8fdb888000 
vf_id=0x0 link=0x0
              ip-2288    [057] .....   157.130027: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x240 [i40e]) netdev=0xffff8d8fdb888000 
vf_id=0x0 link=0x0
              ip-2291    [058] .....   162.139886: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x240 [i40e]) netdev=0xffff8d8fdb888000 
vf_id=0x0 link=0x1
              ip-2291    [058] .....   162.139889: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state
              ip-2294    [058] .....   167.277989: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x240 [i40e]) netdev=0xffff8d8fdb888000 
vf_id=0x0 link=0x2
              ip-2297    [057] .....   172.287796: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x240 [i40e]) netdev=0xffff8d8fdb888000 
vf_id=0x0 link=0x0
              ip-2297    [057] .....   172.287799: i40e_vc_reset_vf 
<-i40e_ndo_set_vf_link_state
              ip-2300    [058] .....   177.429764: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x240 [i40e]) netdev=0xffff8d8fdb888000 
vf_id=0x0 link=0x0
              ip-2302    [057] .....   182.435718: i40e_probe: 
(i40e_ndo_set_vf_link_state+0x0/0x240 [i40e]) netdev=0xffff8d8fdb888000 
vf_id=0x0 link=0x0

** Tags removed: verification-needed-plucky-linux
** Tags added: verification-done-plucky-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

Reply via email to