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 57B7B2C60 for ; Wed, 7 Dec 2016 04:32:45 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP; 06 Dec 2016 19:32:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,310,1477983600"; d="scan'208";a="909513364" Received: from dpdk26.sh.intel.com ([10.239.128.228]) by orsmga003.jf.intel.com with ESMTP; 06 Dec 2016 19:32:43 -0800 From: Wenzhuo Lu To: dev@dpdk.org Cc: Bernard Iremonger Date: Wed, 7 Dec 2016 11:32:09 +0800 Message-Id: <1481081535-37448-27-git-send-email-wenzhuo.lu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1481081535-37448-1-git-send-email-wenzhuo.lu@intel.com> References: <1480637533-37425-1-git-send-email-wenzhuo.lu@intel.com> <1481081535-37448-1-git-send-email-wenzhuo.lu@intel.com> Subject: [dpdk-dev] [PATCH v2 26/32] 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: Wed, 07 Dec 2016 03:32:45 -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