[dpdk-dev] [PATCH v2 5/5] examples/vmdq: set default value to rx mode
Ouyang Changchun
changchun.ouyang at intel.com
Mon Oct 27 04:45:33 CET 2014
This patch specifies rx_mode as 0 for 2 samples: vmdq and vhost-xen
because the multicast feature is not available currently for both samples.
Signed-off-by: Changchun Ouyang <changchun.ouyang at intel.com>
---
examples/vhost_xen/main.c | 1 +
examples/vmdq/main.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/examples/vhost_xen/main.c b/examples/vhost_xen/main.c
index 0160492..3182733 100644
--- a/examples/vhost_xen/main.c
+++ b/examples/vhost_xen/main.c
@@ -166,6 +166,7 @@ static const struct rte_eth_conf vmdq_conf_default = {
.enable_default_pool = 0,
.default_pool = 0,
.nb_pool_maps = 0,
+ .rx_mode = 0,
.pool_map = {{0, 0},},
},
},
diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c
index c51e2fb..077a20e 100644
--- a/examples/vmdq/main.c
+++ b/examples/vmdq/main.c
@@ -122,6 +122,7 @@ static const struct rte_eth_conf vmdq_conf_default = {
.enable_default_pool = 0,
.default_pool = 0,
.nb_pool_maps = 0,
+ .rx_mode = 0,
.pool_map = {{0, 0},},
},
},
--
1.8.4.2
More information about the dev
mailing list