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']