]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev-dummy.c
netdev-dummy: Limits the number of tx/rx queues.
authornickcooper-zhangtonghao <nic@opencloud.tech>
Tue, 10 Jan 2017 05:56:14 +0000 (21:56 -0800)
committerDaniele Di Proietto <diproiettod@vmware.com>
Wed, 11 Jan 2017 02:53:34 +0000 (18:53 -0800)
commitbf9f6f80c017d31e8cfae89b575ec87c7187909d
tree9fbb3c826cdab2345771b78edd450b4defa37a29
parentec2b070143c2ad54565c2130fcf4cfe9ad03018f
netdev-dummy: Limits the number of tx/rx queues.

This patch avoids the ovs_rcu to report WARN, caused by blocked
for a long time, when ovs-vswitchd processes a port with many
rx/tx queues. The number of tx/rx queues per port may be appropriate,
because the dpdk uses it as an default max value.

Signed-off-by: nickcooper-zhangtonghao <nic@opencloud.tech>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/netdev-dummy.c