[ovs-dev] [PATCH] netdev-dpdk: Enable INDIRECT_DESC on DPDK vHostUser.

Billy O'Mahony billy.o.mahony at intel.com
Wed Mar 1 12:36:43 UTC 2017


This gives much better performance for linux apps in the guest without
affecting dpdk applications in the guest. Test details in cover letter.

Signed-off-by: Billy O'Mahony <billy.o.mahony at intel.com>
---
 lib/netdev-dpdk.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index ee53c4c..f449508 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -2769,8 +2769,7 @@ netdev_dpdk_vhost_class_init(void)
         rte_vhost_driver_callback_register(&virtio_net_device_ops);
         rte_vhost_feature_disable(1ULL << VIRTIO_NET_F_HOST_TSO4
                                   | 1ULL << VIRTIO_NET_F_HOST_TSO6
-                                  | 1ULL << VIRTIO_NET_F_CSUM
-                                  | 1ULL << VIRTIO_RING_F_INDIRECT_DESC);
+                                  | 1ULL << VIRTIO_NET_F_CSUM);
         ovs_thread_create("vhost_thread", start_vhost_loop, NULL);
 
         ovsthread_once_done(&once);
-- 
2.7.4



More information about the dev mailing list