From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8DBA7FA3B for ; Fri, 2 Dec 2016 09:21:40 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 02 Dec 2016 00:21:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,285,1477983600"; d="scan'208";a="1067004176" Received: from dpdk26.sh.intel.com ([10.239.128.228]) by orsmga001.jf.intel.com with ESMTP; 02 Dec 2016 00:21:39 -0800 From: Wenzhuo Lu To: dev@dpdk.org Cc: Bernard Iremonger Date: Thu, 1 Dec 2016 19:12:08 -0500 Message-Id: <1480637533-37425-27-git-send-email-wenzhuo.lu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1480637533-37425-1-git-send-email-wenzhuo.lu@intel.com> References: <1480637533-37425-1-git-send-email-wenzhuo.lu@intel.com> Subject: [dpdk-dev] [PATCH 26/31] app/testpmd: initialize receive mode for VMDq X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2016 08:21:41 -0000 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 --- 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