[dpdk-dev,v2,5/5] examples/vmdq: set default value to rx mode
Commit Message
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@intel.com>
---
examples/vhost_xen/main.c | 1 +
examples/vmdq/main.c | 1 +
2 files changed, 2 insertions(+)
@@ -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},},
},
},
@@ -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},},
},
},