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 0A9F2A00BE; Tue, 28 Apr 2020 15:24:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EBF081D5C5; Tue, 28 Apr 2020 15:24:25 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 697BC1D5C0 for ; Tue, 28 Apr 2020 15:24:24 +0200 (CEST) IronPort-SDR: T5CYDb/JSKYZaoxRXMOzxjfI1lTs4rcZT70eibKgRjZGPhifh/KkBtiyZAtSjF8tgFUOZrV5Ku SdudHlM5cx9g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 06:24:23 -0700 IronPort-SDR: XMCfQkR9wPOdqv+Rfnv8KY5fMlrHVpcMLlgfqxU9Kmb7na1ZoDbV+irkofxxlxw8BhaO8p07iM srBkcHizwNAw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,327,1583222400"; d="scan'208";a="275837847" Received: from unknown (HELO localhost.localdomain) ([10.240.183.87]) by orsmga002.jf.intel.com with ESMTP; 28 Apr 2020 06:24:21 -0700 From: Mei Jianwei To: dts@dpdk.org Cc: Mei Jianwei Date: Thu, 30 Apr 2020 00:29:12 +0800 Message-Id: <20200429162912.2424-1-jianweix.mei@intel.com> X-Mailer: git-send-email 2.18.2 Subject: [dts] [PATCH V1] tests/generic_filter: add nic sageville 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" add nic sageville. Signed-off-by: Mei Jianwei --- tests/TestSuite_generic_filter.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py index 2d61f5b..7806e11 100644 --- a/tests/TestSuite_generic_filter.py +++ b/tests/TestSuite_generic_filter.py @@ -204,7 +204,7 @@ class TestGeneric_filter(TestCase): """ Enable receipt of SYN packets """ - self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", "powerville", "sagepond", "foxville"], "%s nic not support syn filter" % self.nic) + self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", "powerville", "sagepond", "foxville", "sageville"], "%s nic not support syn filter" % self.nic) self.pmdout.start_testpmd( "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask) self.port_config() @@ -247,7 +247,7 @@ class TestGeneric_filter(TestCase): "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask) self.port_config() - if self.nic in ["niantic", "sagepond"]: + if self.nic in ["niantic", "sagepond", "sageville"]: cmd = "5tuple_filter %s add dst_ip 2.2.2.5 src_ip 2.2.2.4 dst_port 1 src_port 1 protocol 0x06 mask 0x1f tcp_flags 0x0 priority 3 queue 3 " % ( valports[0]) self.dut.send_expect("%s" % cmd, "testpmd> ") @@ -307,7 +307,7 @@ class TestGeneric_filter(TestCase): """ five tuple filter """ - if self.nic in ["niantic", "kawela_4", "sagepond", "foxville"]: + if self.nic in ["niantic", "kawela_4", "sagepond", "foxville", "sageville"]: self.pmdout.start_testpmd( "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask) self.port_config() @@ -315,14 +315,14 @@ class TestGeneric_filter(TestCase): mask = ['0x1f', '0x0'] for case in mask: if case == "0x1f": - if self.nic in ["niantic", "sagepond"]: + if self.nic in ["niantic", "sagepond", "sageville"]: cmd = "5tuple_filter %s add dst_ip 2.2.2.5 src_ip 2.2.2.4 dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queue 3" % ( valports[0], case) if self.nic == "kawela_4": cmd = "5tuple_filter %s add dst_ip 2.2.2.5 src_ip 2.2.2.4 dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x02 priority 3 queue 3" % ( valports[0], case) else: - if self.nic in ["niantic", "sagepond"]: + if self.nic in ["niantic", "sagepond", "sageville"]: cmd = "5tuple_filter %s add dst_ip 2.2.2.5 src_ip 2.2.2.4 dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queue 3" % ( valports[0], case) if self.nic == "kawela_4": @@ -345,14 +345,14 @@ class TestGeneric_filter(TestCase): out = self.dut.send_expect("stop", "testpmd> ") self.verify_result(out, tx_pkts="1", expect_queue="0") if case == "0x1f": - if self.nic in ["niantic", "sagepond"]: + if self.nic in ["niantic", "sagepond", "sageville"]: cmd = "5tuple_filter %s del dst_ip 2.2.2.5 src_ip 2.2.2.4 dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queue 3" % ( valports[0], case) if self.nic == "kawela_4": cmd = "5tuple_filter %s del dst_ip 2.2.2.5 src_ip 2.2.2.4 dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x02 priority 3 queue 3" % ( valports[0], case) else: - if self.nic in ["niantic", "sagepond"]: + if self.nic in ["niantic", "sagepond", "sageville"]: cmd = "5tuple_filter %s del dst_ip 2.2.2.5 src_ip 2.2.2.4 dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queue 3" % ( valports[0], case) if self.nic == "kawela_4": @@ -372,7 +372,7 @@ class TestGeneric_filter(TestCase): self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", "sagepond", "powerville", "fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "fortville_25g","cavium_a063", "carlsville", "foxville"], "%s nic not support syn filter" % self.nic) + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "fortville_25g","cavium_a063", "carlsville", "foxville", "sageville"], "%s nic not support syn filter" % self.nic) self.pmdout.start_testpmd( "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask) self.port_config() @@ -417,7 +417,7 @@ class TestGeneric_filter(TestCase): self.verify_result(out, tx_pkts="1", expect_queue="0") def test_multiple_filters_10GB(self): - if self.nic in ["niantic", "sagepond"]: + if self.nic in ["niantic", "sagepond", "sageville"]: self.pmdout.start_testpmd( "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask) self.port_config() @@ -501,7 +501,7 @@ class TestGeneric_filter(TestCase): def test_twotuple_filter(self): - if self.nic in ["powerville", "bartonhills", "cavium_a063", "sagepond", "foxville"]: + if self.nic in ["powerville", "bartonhills", "cavium_a063", "sagepond", "foxville", "sageville"]: self.pmdout.start_testpmd( "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask) self.port_config() @@ -534,7 +534,7 @@ class TestGeneric_filter(TestCase): self.verify(False, "%s nic not support two tuple filter" % self.nic) def test_flex_filter(self): - self.verify(self.nic in ["powerville", "bartonhills", "cavium_a063", "sagepond", "foxville"], '%s not support flex filter' % self.nic) + self.verify(self.nic in ["powerville", "bartonhills", "cavium_a063", "sagepond", "foxville", "sageville"], '%s not support flex filter' % self.nic) masks = ['000C', '000C'] self.pmdout.start_testpmd( @@ -589,7 +589,7 @@ class TestGeneric_filter(TestCase): def test_multiple_filters_1GB(self): - if self.nic in ["powerville", "kawela_4", "bartonhills", "sagepond", "foxville"]: + if self.nic in ["powerville", "kawela_4", "bartonhills", "sagepond", "foxville", "sageville"]: self.pmdout.start_testpmd( "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1" % portMask) self.port_config() -- 2.18.2