[dpdk-dev] [PATCH v6 10/25] lib/librte_vhost: define PACKET_BURST

Huawei Xie huawei.xie at intel.com
Wed Oct 8 20:54:44 CEST 2014


define PACKET_BURST

Signed-off-by: Huawei Xie <huawei.xie at intel.com>
---
 lib/librte_vhost/vhost_rxtx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index ab76512..0690e23 100644
--- a/lib/librte_vhost/vhost_rxtx.c
+++ b/lib/librte_vhost/vhost_rxtx.c
@@ -54,6 +54,8 @@
 #include "virtio-net.h"
 #include "vhost-net-cdev.h"
 
+#define MAX_PKT_BURST 32
+
 /*
  * This function adds buffers to the virtio devices RX virtqueue. Buffers can
  * be received from the physical port or from another virtio device. A packet
-- 
1.8.1.4



More information about the dev mailing list