]> git.baikalelectronics.ru Git - kernel.git/commit
net: macvlan: change schedule system_wq to system_unbound_wq
authorzhangxiangqian <zhangxiangqian@kylinos.cn>
Thu, 13 Oct 2022 07:41:12 +0000 (15:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2022 07:28:19 +0000 (08:28 +0100)
commit018f94bee3d35e265c0385aab67c6277f0eb423c
tree27ce2628f8d8acc23cf3236643cd2d62bede7492
parent95a7d8e0eaed2b0d311583b2d897f0a43052def5
net: macvlan: change schedule system_wq to system_unbound_wq

For FT2000+/64 devices,
when four virtual machines share the same physical network interface,
DROP will occur due to the single core CPU performance problem.

ip_check_defrag and macvlan_process_broadcast is on the same CPU.
When the MACVLAN PORT increases, the CPU usage reaches more than 90%.
bc_queue > bc_queue_len_used (default 1000), causing DROP.

Signed-off-by: zhangxiangqian <zhangxiangqian@kylinos.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c