mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
0d87bbd39d
commit
3d6642eac7
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ static void macvlan_broadcast_enqueue(struct macvlan_port *port,
|
|||
}
|
||||
spin_unlock(&port->bc_queue.lock);
|
||||
|
||||
schedule_work(&port->bc_work);
|
||||
queue_work(system_unbound_wq, &port->bc_work);
|
||||
|
||||
if (err)
|
||||
goto free_nskb;
|
||||
|
|
Loading…
Add table
Reference in a new issue