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()