From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03435A034F; Tue, 30 Mar 2021 08:43:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC16F140D9C; Tue, 30 Mar 2021 08:43:56 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 20822140D43 for ; Tue, 30 Mar 2021 08:43:54 +0200 (CEST) IronPort-SDR: CPPXdbOvKxMyxP08ab5lZlUD+iYvBFSeISvexbqdlMpMN0OcOt4O2nXgf3cFSsWCA2LXByJUUa MtJqa1V3bRYA== X-IronPort-AV: E=McAfee;i="6000,8403,9938"; a="189453758" X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="189453758" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2021 23:43:53 -0700 IronPort-SDR: 7aEGGv/9o7PIwLDVlngIsGgNVzxW9LIXAcZPzEZo9/Woy4nWGXDDiLZ78qafCfLZrl8saZ2ee7 RxOso1QFDImw== X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="418027932" Received: from unknown (HELO cvl_100g_103.icx.intel.com) ([10.240.183.103]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2021 23:43:51 -0700 From: xiewei To: dts@dpdk.org Cc: xiewei Date: Tue, 30 Mar 2021 23:20:26 +0800 Message-Id: <20210330152026.4369-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V2] tests/ddp_mpls: test-pmd add parameter --disable-rss X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" iavf has rss hash rx offload capability by default, but i40evf not have. So the hash value and rx queue number will be random when receive wrong label MPLS packets. If want to wrong label packets received by default queue 0, just launch test-pmd with parameter "--disable-rss". Signed-off-by: xiewei --- v2: re-launch testpmd is a waste of time, and start testpmd with 'disable-rss` directly. v1: compatible with iavf and i40evf for vf. tests/TestSuite_ddp_mpls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py index 53fd4a76..7c677c3c 100644 --- a/tests/TestSuite_ddp_mpls.py +++ b/tests/TestSuite_ddp_mpls.py @@ -129,7 +129,7 @@ class Testddp_mpls(TestCase): "Default","--port-topology=chained --txq=%s --rxq=%s" % (PF_MAX_QUEUE, PF_MAX_QUEUE)) self.vm0_testpmd.start_testpmd( - VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s" + VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s --disable-rss" % (VF_MAX_QUEUE, VF_MAX_QUEUE)) -- 2.17.1