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 2D182A0547; Wed, 20 Oct 2021 10:05:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BB1D41186; Wed, 20 Oct 2021 10:05:02 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id CD51A40683 for ; Wed, 20 Oct 2021 10:05:00 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="215642824" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="215642824" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 01:04:59 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494510295" 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 01:04:58 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 20 Oct 2021 16:18:52 +0800 Message-Id: <1634717932-226147-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 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, "# ") -- 2.17.1