[dpdk-dev] [PATCH 26/31] app/testpmd: initialize receive mode for VMDq
Wenzhuo Lu
wenzhuo.lu at intel.com
Fri Dec 2 01:12:08 CET 2016
Initialise VMDq in the init_port_config function in a similar
way to how it is done in the VMDq sample application.
Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
---
app/test-pmd/testpmd.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index a0332c2..c0c8f60 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -1842,9 +1842,12 @@ struct pmd_test_command {
ETH_MQ_RX_VMDQ_RSS;
else
port->dev_conf.rxmode.mq_mode =
- ETH_MQ_RX_NONE;
+ ETH_MQ_RX_VMDQ_ONLY;
port->dev_conf.txmode.mq_mode = ETH_MQ_TX_NONE;
+
+ port->dev_conf.rx_adv_conf.vmdq_rx_conf.nb_queue_pools =
+ ETH_8_POOLS;
}
rxtx_port_config(port);
--
1.9.3
More information about the dev
mailing list