From patchwork Wed Oct 20 08:06:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102366 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 59292A0C45; Wed, 20 Oct 2021 09:53:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 534D540687; Wed, 20 Oct 2021 09:53:11 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6EE7C40142 for ; Wed, 20 Oct 2021 09:53:10 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203313" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203313" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:09 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506947" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:07 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:06:53 +0800 Message-Id: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: update case code for driver change 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" the iavf vlan priv-flags of the kernel drive of columbiaville has changed from vf-vlan-prune-disable to vf-vlan-pruning from ice 1.7.2_3_g03d5f45f,and is closed by default,so the affected case needs to modify the code Signed-off-by: Jiale Song --- test_plans/cvl_dcf_flow_priority_test_plan.rst | 2 +- tests/TestSuite_cvl_dcf_flow_priority.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/cvl_dcf_flow_priority_test_plan.rst b/test_plans/cvl_dcf_flow_priority_test_plan.rst index 8ae6052..a79981c 100644 --- a/test_plans/cvl_dcf_flow_priority_test_plan.rst +++ b/test_plans/cvl_dcf_flow_priority_test_plan.rst @@ -73,7 +73,7 @@ Prerequisites 6. Enable vlan prune flag:: - ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on + ethtool --set-priv-flags ens785f0 vf-vlan-pruning off 7. Generate 4 VFs on PF0(not all the VFs are used):: diff --git a/tests/TestSuite_cvl_dcf_flow_priority.py b/tests/TestSuite_cvl_dcf_flow_priority.py index 07d99d2..853be0f 100644 --- a/tests/TestSuite_cvl_dcf_flow_priority.py +++ b/tests/TestSuite_cvl_dcf_flow_priority.py @@ -1140,7 +1140,7 @@ class CVLDCFFlowPriorityTest(TestCase): self.used_dut_port_0 = self.dut_ports[pf_port] #get PF interface name self.pf0_intf = self.dut.ports_info[self.used_dut_port_0]['intf'] - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % self.pf0_intf, '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf0_intf, "# ") #generate 4 VFs on PF self.dut.generate_sriov_vfs_by_port(self.used_dut_port_0, 4, driver=driver) self.sriov_vfs_port_0 = self.dut.ports_info[self.used_dut_port_0]['vfs_port'] From patchwork Wed Oct 20 08:06:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102367 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76D0CA0C4B; Wed, 20 Oct 2021 09:53:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 717D341196; Wed, 20 Oct 2021 09:53:12 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 0FCC840142 for ; Wed, 20 Oct 2021 09:53:10 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203315" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203315" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:10 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506952" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:09 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:06:54 +0800 Message-Id: <1634717221-221075-2-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 2/9] tests/cvl_qinq: update case code for driver change 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" Signed-off-by: Jiale Song --- test_plans/cvl_qinq_test_plan.rst | 8 ++++---- tests/TestSuite_cvl_qinq.py | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) mode change 100644 => 100755 tests/TestSuite_cvl_qinq.py diff --git a/test_plans/cvl_qinq_test_plan.rst b/test_plans/cvl_qinq_test_plan.rst index 4f44150..e725861 100644 --- a/test_plans/cvl_qinq_test_plan.rst +++ b/test_plans/cvl_qinq_test_plan.rst @@ -73,7 +73,7 @@ Prerequisites 6. Enable vlan prune flag:: - ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on + ethtool --set-priv-flags ens785f0 vf-vlan-pruning off 7. Generate 4 VFs on PF0(not all the VFs are used):: @@ -130,7 +130,7 @@ Prerequisites 13. For AVF QinQ test cases(10-14), recreate Generate 1 VFs on PF0, reconfig the VF then launch testpmd:: echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs - ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off + ethtool --set-priv-flags ens785f0 vf-vlan-pruning on echo 1 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs ip link set ens785f0 vf 0 mac 00:11:22:33:44:11 ip link set dev ens785f0 vf 0 spoofchk off @@ -908,7 +908,7 @@ Test case 09: vlan filter when pvid enable 1. reset test environment, create vfs and disable vlan prune flag:: - ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable off + ethtool --set-priv-flags ens785f0 vf-vlan-pruning on 2. repeat Prerequisites steps from 7 to 12 @@ -1116,7 +1116,7 @@ Test case 12: Enable/Disable IAVF VLAN header insertion 1. enable vf-vlan-prune-disable flag:: echo 0 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs - ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on + ethtool --set-priv-flags ens785f0 vf-vlan-pruning off 2. set up test environment again:: diff --git a/tests/TestSuite_cvl_qinq.py b/tests/TestSuite_cvl_qinq.py old mode 100644 new mode 100755 index 0c950b0..01fae96 --- a/tests/TestSuite_cvl_qinq.py +++ b/tests/TestSuite_cvl_qinq.py @@ -253,7 +253,7 @@ class TestCvlQinq(TestCase): Run before each test case. ''' self.pci_list = [] - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % self.pf_interface, "#") + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, "# ") def setup_pf_vfs_env(self, vfs_num=4): @@ -644,7 +644,7 @@ class TestCvlQinq(TestCase): 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac] pkt_list2 = ['Ether(dst="%s",type=0x8100)/Dot1Q(vlan=21,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac, 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=21,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac] - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ') self.setup_pf_vfs_env() self.launch_testpmd(dcf_param=True) self.pmd_output.execute_cmd("vlan set filter on 1") @@ -677,7 +677,7 @@ class TestCvlQinq(TestCase): 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac] pkt_list2 = ['Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac, 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac] - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ') self.setup_pf_vfs_env(vfs_num=1) self.launch_testpmd(vfs_num=1) self.pmd_output.execute_cmd("vlan set filter on 0") @@ -710,7 +710,7 @@ class TestCvlQinq(TestCase): """ pkt_list = ['Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac, 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac] - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ') self.setup_pf_vfs_env(vfs_num=1) self.launch_testpmd(vfs_num=1) self.pmd_output.execute_cmd("vlan set filter on 0") @@ -744,7 +744,7 @@ class TestCvlQinq(TestCase): out_vlan = 1 pkt_list = ['Ether(dst="%s",type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac, 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac] - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable on' % self.pf_interface, '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, '# ') self.setup_pf_vfs_env(vfs_num=1) self.launch_testpmd(vfs_num=1) self.pmd_output.execute_cmd("stop") @@ -787,7 +787,7 @@ class TestCvlQinq(TestCase): """ param = '--rxq=16 --txq=16 --disable-crc-strip' pkt = 'Ether(dst="%s",type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, '# ') self.setup_pf_vfs_env(vfs_num=1) self.pmd_output.start_testpmd(cores='1S/4C/1T', param=param, ports=self.pci_list, socket=self.ports_socket) self.pmd_output.execute_cmd("set fwd mac") @@ -819,7 +819,7 @@ class TestCvlQinq(TestCase): AVF CRC strip and Vlan strip co-exists """ pkt = 'Ether(dst="%s",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)' % self.vf1_mac - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, "#") + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, "# ") self.setup_pf_vfs_env(vfs_num=1) self.launch_testpmd(vfs_num=1) self.check_vlan_offload(vlan_type="strip", stats="off") @@ -873,4 +873,4 @@ class TestCvlQinq(TestCase): self.destroy_iavf() def tear_down_all(self): - self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-prune-disable off' % self.pf_interface, '#') \ No newline at end of file + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, '# ') From patchwork Wed Oct 20 08:06:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102368 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 94570A0C45; Wed, 20 Oct 2021 09:53:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E18E40150; Wed, 20 Oct 2021 09:53:13 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 25FE440142 for ; Wed, 20 Oct 2021 09:53:11 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203319" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203319" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:11 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506958" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:10 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:06:55 +0800 Message-Id: <1634717221-221075-3-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 3/9] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for driver change 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" Signed-off-by: Jiale Song --- .../TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py old mode 100644 new mode 100755 index f7236ee..43614fa --- a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py +++ b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py @@ -856,7 +856,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase): def create_iavf(self): if self.vf_flag is False: self.dut.bind_interfaces_linux('ice') - self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-prune-disable on" % self.pf_interface, "# ") + self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-pruning off" % self.pf_interface, "# ") self.dut.generate_sriov_vfs_by_port(self.used_dut_port, 1) self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port]['vfs_port'] self.vf_flag = True @@ -891,7 +891,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase): """ self.dut.kill_all() self.destroy_iavf() - self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-prune-disable off" % self.pf_interface, "# ") + self.dut.send_expect("ethtool --set-priv-flags %s vf-vlan-pruning on" % self.pf_interface, "# ") def launch_testpmd(self, symmetric=False): param = "--rxq=16 --txq=16" From patchwork Wed Oct 20 08:06:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102369 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B944DA0C45; Wed, 20 Oct 2021 09:53:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B322A41195; Wed, 20 Oct 2021 09:53:15 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 046F64119F for ; Wed, 20 Oct 2021 09:53:13 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203322" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203322" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:13 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506962" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:11 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:06:56 +0800 Message-Id: <1634717221-221075-4-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 4/9] tests/cvl_dcf_switch_filter: update case code for driver change 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" Signed-off-by: Jiale Song --- tests/TestSuite_cvl_dcf_switch_filter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py index a73db42..fa028a4 100755 --- a/tests/TestSuite_cvl_dcf_switch_filter.py +++ b/tests/TestSuite_cvl_dcf_switch_filter.py @@ -1044,7 +1044,7 @@ class CVLDCFSwitchFilterTest(TestCase): #get PF interface name self.pf0_intf = self.dut.ports_info[self.used_dut_port_0]['intf'] out = self.dut.send_expect('ethtool -i %s' % self.pf0_intf, '#') - self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable on'.format(self.pf0_intf), '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf0_intf, "# ") #generate 4 VFs on PF self.dut.generate_sriov_vfs_by_port(self.used_dut_port_0, 4, driver=driver) self.sriov_vfs_port_0 = self.dut.ports_info[self.used_dut_port_0]['vfs_port'] @@ -1881,5 +1881,4 @@ class CVLDCFSwitchFilterTest(TestCase): """ Run after each test suite. """ - self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable off'.format(self.pf0_intf), '#') self.dut.kill_all() From patchwork Wed Oct 20 08:06:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102370 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC360A0C45; Wed, 20 Oct 2021 09:53:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7342411A6; Wed, 20 Oct 2021 09:53:16 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B37B940142 for ; Wed, 20 Oct 2021 09:53:14 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203326" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203326" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:14 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506967" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:13 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:06:57 +0800 Message-Id: <1634717221-221075-5-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 5/9] tests/cvl_dcf_switch_filter_pppoe: update case code for driver change 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" Signed-off-by: Jiale Song --- tests/TestSuite_cvl_dcf_switch_filter_pppoe.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 tests/TestSuite_cvl_dcf_switch_filter_pppoe.py diff --git a/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py b/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py old mode 100644 new mode 100755 index c51d14b..797251b --- a/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py +++ b/tests/TestSuite_cvl_dcf_switch_filter_pppoe.py @@ -540,7 +540,7 @@ class CVLDCFSwitchFilterPPPOETest(TestCase): #get PF interface name self.pf0_intf = self.dut.ports_info[self.used_dut_port_0]['intf'] out = self.dut.send_expect('ethtool -i %s' % self.pf0_intf, '#') - self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable on'.format(self.pf0_intf), '#') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf0_intf, "# ") #generate 4 VFs on PF self.dut.generate_sriov_vfs_by_port(self.used_dut_port_0, 4, driver=driver) self.sriov_vfs_port_0 = self.dut.ports_info[self.used_dut_port_0]['vfs_port'] @@ -916,5 +916,4 @@ class CVLDCFSwitchFilterPPPOETest(TestCase): """ Run after each test suite. """ - self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable off'.format(self.pf0_intf), '#') self.dut.kill_all() From patchwork Wed Oct 20 08:06:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102371 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08B65A0C45; Wed, 20 Oct 2021 09:53:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04725411AD; Wed, 20 Oct 2021 09:53:18 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 25256411A6 for ; Wed, 20 Oct 2021 09:53:16 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203333" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203333" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:15 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506976" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:14 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:06:58 +0800 Message-Id: <1634717221-221075-6-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 6/9] tests/cvl_vf_support_multicast_address: update case code for driver change 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" Signed-off-by: Jiale Song --- tests/TestSuite_cvl_vf_support_multicast_address.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 tests/TestSuite_cvl_vf_support_multicast_address.py diff --git a/tests/TestSuite_cvl_vf_support_multicast_address.py b/tests/TestSuite_cvl_vf_support_multicast_address.py old mode 100644 new mode 100755 index dd241a8..169a7de --- a/tests/TestSuite_cvl_vf_support_multicast_address.py +++ b/tests/TestSuite_cvl_vf_support_multicast_address.py @@ -74,6 +74,7 @@ class TestCvlVfSupportMulticastAdress(TestCase): # Generate 2 VFs on PF if self.vf_flag is False: self.dut.bind_interfaces_linux('ice') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, "# ") self.dut.generate_sriov_vfs_by_port(self.used_dut_port, 2) self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port]['vfs_port'] self.vf_flag = True @@ -530,5 +531,6 @@ class TestCvlVfSupportMulticastAdress(TestCase): """ Run after each test suite. """ + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, "# ") self.dut.kill_all() self.destroy_iavf() From patchwork Wed Oct 20 08:06:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102372 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2FD59A0C45; Wed, 20 Oct 2021 09:53:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2ABC0411B0; Wed, 20 Oct 2021 09:53:19 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 8CC1540142 for ; Wed, 20 Oct 2021 09:53:17 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203335" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203335" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:17 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506986" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:15 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:06:59 +0800 Message-Id: <1634717221-221075-7-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 7/9] tests/iavf_flexible_descriptor: update case code for driver change 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" Signed-off-by: Jiale Song --- tests/TestSuite_iavf_flexible_descriptor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 tests/TestSuite_iavf_flexible_descriptor.py diff --git a/tests/TestSuite_iavf_flexible_descriptor.py b/tests/TestSuite_iavf_flexible_descriptor.py old mode 100644 new mode 100755 index e5cd9b3..2d19134 --- a/tests/TestSuite_iavf_flexible_descriptor.py +++ b/tests/TestSuite_iavf_flexible_descriptor.py @@ -81,7 +81,7 @@ class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase): # set vf assign method and vf driver vf_driver = 'vfio-pci' self.pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf'] - self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable on'.format(self.pf0_intf),'#') + self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-pruning off'.format(self.pf0_intf),'# ') # generate 2 VFs on PF self.dut.generate_sriov_vfs_by_port( used_dut_port, 1, driver=self.kdriver) @@ -118,7 +118,6 @@ class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase): """ self.destroy_vf() self.restore_compilation() - self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable off'.format(self.pf0_intf), '#') def set_up(self): """ From patchwork Wed Oct 20 08:07:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102373 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 53FF8A0C45; Wed, 20 Oct 2021 09:53:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E754411B5; Wed, 20 Oct 2021 09:53:20 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E76DE41199 for ; Wed, 20 Oct 2021 09:53:18 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203339" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203339" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:18 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494506997" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:17 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:07:00 +0800 Message-Id: <1634717221-221075-8-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 8/9] tests/kernelpf_iavf: update case code for driver change 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" Signed-off-by: Jiale Song --- tests/TestSuite_kernelpf_iavf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py index 6a858fc..7b3d891 100644 --- a/tests/TestSuite_kernelpf_iavf.py +++ b/tests/TestSuite_kernelpf_iavf.py @@ -140,6 +140,8 @@ class TestKernelpfIavf(TestCase): # bind to default driver self.bind_nic_driver(self.dut_ports, driver="") self.used_dut_port = self.dut_ports[0] + if self.nic.startswith('columbiaville'): + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.host_intf, "# ") self.dut.generate_sriov_vfs_by_port( self.used_dut_port, 1, driver=driver) self.sriov_vfs_port = self.dut.ports_info[ @@ -1036,3 +1038,5 @@ class TestKernelpfIavf(TestCase): if self.env_done: self.destroy_vm_env() + if self.nic.startswith('columbiaville'): + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.host_intf, "# ") From patchwork Wed Oct 20 08:07:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 102374 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77444A0C45; Wed, 20 Oct 2021 09:53:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71DDF41199; Wed, 20 Oct 2021 09:53:21 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 4846141199 for ; Wed, 20 Oct 2021 09:53:20 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="252203341" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="252203341" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:19 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494507002" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 00:53:18 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:07:01 +0800 Message-Id: <1634717221-221075-9-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> References: <1634717221-221075-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: update case code for driver change 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" Signed-off-by: Jiale Song --- tests/TestSuite_l2tp_esp_coverage.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 tests/TestSuite_l2tp_esp_coverage.py diff --git a/tests/TestSuite_l2tp_esp_coverage.py b/tests/TestSuite_l2tp_esp_coverage.py old mode 100644 new mode 100755 index 10520c8..50e0454 --- a/tests/TestSuite_l2tp_esp_coverage.py +++ b/tests/TestSuite_l2tp_esp_coverage.py @@ -117,6 +117,7 @@ class L2tpEspCoverage(TestCase): """ Run after each test suite. """ + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf_interface, "# ") self.dut.kill_all() self.destroy_iavf() @@ -124,6 +125,7 @@ class L2tpEspCoverage(TestCase): if self.vf_flag is False: self.dut.bind_interfaces_linux('ice') + self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.pf_interface, "# ") self.dut.generate_sriov_vfs_by_port(self.used_dut_port, 1) self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port]['vfs_port'] self.vf_flag = True