]> git.proxmox.com Git - ovs.git/commit
netdev-dpdk: Enable tx-retries-max config.
authorKevin Traynor <ktraynor@redhat.com>
Tue, 2 Jul 2019 00:32:30 +0000 (01:32 +0100)
committerIan Stokes <ian.stokes@intel.com>
Mon, 8 Jul 2019 11:03:28 +0000 (12:03 +0100)
commit080f080c3bc1e87da4affdce28a01b1a87a60364
tree413bf296662cc4e0ed93d103ffb5aa0ca11b200c
parentc161357d5d96f32144f4b63ee6b06049c0cc0a09
netdev-dpdk: Enable tx-retries-max config.

vhost tx retries can provide some mitigation against
dropped packets due to a temporarily slow guest/limited queue
size for an interface, but on the other hand when a system
is fully loaded those extra cycles retrying could mean
packets are dropped elsewhere.

Up to now max vhost tx retries have been hardcoded, which meant
no tuning and no way to disable for debugging to see if extra
cycles spent retrying resulted in rx drops on some other
interface.

Add an option to change the max retries, with a value of
0 effectively disabling vhost tx retries.

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Documentation/topics/dpdk/vhost-user.rst
NEWS
lib/netdev-dpdk.c
vswitchd/vswitch.xml