From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 22FBDA0588; Thu, 16 Apr 2020 13:47:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0A7351DBDE; Thu, 16 Apr 2020 13:47:54 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E39321DB4F for ; Thu, 16 Apr 2020 13:47:52 +0200 (CEST) IronPort-SDR: hL3R7TVymkPIbF+lOWt/+OgsROYw7mWNyrQ86ItCnZ57zKJErhUDQsrHEUZez+IKnUs34wo9WB bW+6sJS7y/kg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 04:47:51 -0700 IronPort-SDR: 0quDL7bKXX+gUIntGr4+qpTpMFViVkcmsstWMntNQ6OYHnJNq2xKSbdguElk2UjBhIyDntsLug lWMa3uwjOnCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,390,1580803200"; d="scan'208";a="332813320" Received: from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68]) by orsmga001.jf.intel.com with ESMTP; 16 Apr 2020 04:47:50 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: "Jiang,yu" Date: Thu, 16 Apr 2020 19:40:16 +0800 Message-Id: <1587037216-3723-1-git-send-email-yux.jiang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] tests/TestSuite_fdir: add nic sagepond X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" From: "Jiang,yu" Add nic sagepond to test Signed-off-by: Jiang,yu --- tests/TestSuite_fdir.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py index e136545..ecda94d 100644 --- a/tests/TestSuite_fdir.py +++ b/tests/TestSuite_fdir.py @@ -242,7 +242,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): self.flexbytes = '0x0,0x0,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0' self.payload = b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77' self.flexlength = 16 - elif (self.nic in ["niantic"]): + elif (self.nic in ["niantic", "sagepond"]): self.flexbytes = "0x00,0x00" self.payload = b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77' self.flexlength = 2 @@ -329,7 +329,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): """ self.dut.kill_all() - if self.nic in ["niantic"]: + if self.nic in ["niantic", "sagepond"]: # Niantic ipv6 only support signature mode self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss --rxq=4 --txq=4 --nb-cores=4 --nb-ports=1 --pkt-filter-mode=signature" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120) elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortpark_BASE-T","fortville_25g", "carlsville"]: @@ -614,7 +614,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): self.dut.kill_all() # fwd testing with flexword - if self.nic in ["niantic"]: + if self.nic in ["niantic", "sagepond"]: # Niantic ipv6 only support signature mode self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss --rxq=4 --txq=4 --nb-cores=4 --nb-ports=1 --pkt-filter-mode=signature" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120) elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "fortville_25g", "carlsville"]: -- 2.17.2