]> git.proxmox.com Git - ovs.git/commit
netdev-dpdk: Add vhost enqueue retries.
authorKevin Traynor <kevin.traynor@intel.com>
Tue, 12 May 2015 04:58:14 +0000 (21:58 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 12 May 2015 04:58:14 +0000 (21:58 -0700)
commit95e9881f843896751a76481cfe7869e2c0c1270b
tree05bbc9d868473d728210d76ac25ee63db62adc21
parent4345e1b5bf563ebfd7a7dcf489eac0fdf68135cf
netdev-dpdk: Add vhost enqueue retries.

The max allowed burst size for a single vhost enqueue is 32.
This code facilitates trying to send greater than the burst
size of packets to the vhost interface by adding a retry loop
and calling vhost enqueue multiple times. As this could
potentially block, a timeout is added.

Signed-off-by: Kevin Traynor <kevin.traynor@intel.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-dpdk.c