Comment 0 for bug 1853964

Revision history for this message
Fred Kimmy (kongzizaixian) wrote :

"[Bug Description]
Currently, up/down port process may concurrently operate timer(del_timer_sync/add_timer_on) with setting IRQ affinity, and cause system breaking down.

[Steps to Reproduce]
set misc irp affinity of PF during up/down port by follow script:
while((1))
do
for i in {0..31}; do echo $i > /proc/irq/678/smp_affinity_list; done
done
while((1))
do
ifconfig eth4 down
ifconfig eth4 up
done

[Actual Results]
System break down.
kernel call trace

[Expected Results]
System run normally.

[Reproducibility]
Inevitably

[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA

[Resolution]
This patch uses delayed work instead of using timers to trigger the
hclge_serive."