For reference, I'm using this script to perform verification: set -xe uname -a echo 0 > /sys/kernel/debug/tracing/tracing_on echo > /sys/kernel/debug/tracing/set_event echo > /sys/kernel/debug/tracing/set_ftrace_filter echo 0 > /sys/kernel/debug/tracing/options/function-trace echo > /sys/kernel/debug/tracing/trace echo function > /sys/kernel/debug/tracing/current_tracer echo i40e_vc_reset_vf >> /sys/kernel/debug/tracing/set_ftrace_filter echo 'p:i40e_probe i40e_ndo_set_vf_link_state netdev=%di vf_id=%si:x32 link=%dx:x32' > /sys/kernel/debug/tracing/kprobe_events echo 1 > /sys/kernel/debug/tracing/events/kprobes/i40e_probe/enable echo 1 > /sys/kernel/debug/tracing/tracing_on # reproduce the problem or restart neutron_sriov_agent and wait couple of seconds echo 4 | sudo tee /sys/class/net/enp176s0f0/device/sriov_numvfs 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 ip link set enp176s0f0 vf 0 state enable sleep 5 ip link show enp176s0f0 ip link set enp176s0f0 vf 0 state disable sleep 5 ip link show enp176s0f0 ip link set enp176s0f0 vf 0 state auto sleep 5 ip link show enp176s0f0 ip link set enp176s0f0 vf 0 state auto sleep 5 ip link set enp176s0f0 vf 0 state auto sleep 5 echo 0 > /sys/kernel/debug/tracing/tracing_on cp /sys/kernel/debug/tracing/trace /tmp/trace.out # share /tmp/trace.out cat /tmp/trace.out
-- 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
