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 0CA73A0561; Thu, 4 Mar 2021 09:15:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0116240684; Thu, 4 Mar 2021 09:15:37 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 957B740147 for ; Thu, 4 Mar 2021 09:15:35 +0100 (CET) IronPort-SDR: KIaFQ14ISvFZu6gYx9p8ttBxyxxSlsfKxXcGT0XO3o+LXq8TtvbbFgkASjV+sIg6a8cWDCwOmK a27zJ5vBktCw== X-IronPort-AV: E=McAfee;i="6000,8403,9912"; a="187422240" X-IronPort-AV: E=Sophos;i="5.81,222,1610438400"; d="scan'208";a="187422240" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 00:15:32 -0800 IronPort-SDR: N1nwxWZiBLkkeFfLei7iFarbBMl/IpWcNyf1Y1/AmF1/P3qJ4geYD/wNc9IEzGnNtg+Gf6dfRd IJjs59dLu3qQ== X-IronPort-AV: E=Sophos;i="5.81,222,1610438400"; d="scan'208";a="407668579" Received: from unknown (HELO cvl_100g_103.icx.intel.com) ([10.240.183.103]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 00:15:30 -0800 From: xiewei To: dts@dpdk.org Cc: xiewei Date: Fri, 5 Mar 2021 00:42:18 +0800 Message-Id: <20210304164218.2874-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command 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" replace legacy filter cmd with generic flow cmd. Signed-off-by: xiewei --- tests/TestSuite_sriov_kvm.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py index 79a10f81..1a0e3a53 100644 --- a/tests/TestSuite_sriov_kvm.py +++ b/tests/TestSuite_sriov_kvm.py @@ -933,10 +933,7 @@ class TestSriovKvm(TestCase): self.setup_2vm_prerequisite_flag = 0 for vf_mac in ["00:11:22:33:44:55", "00:55:44:33:22:11"]: - if self.nic.startswith('niantic') or self.nic.startswith('sage'): - set_mac_cmd = "mac_addr add port %d vf %d %s" - elif self.nic.startswith('fortville') or self.nic.startswith('fortpark') or self.nic.startswith('carlsville'): - set_mac_cmd = "set port %d vf %d %s exact-mac-vlan on" + set_mac_cmd = "mac_addr add port %d vf %d %s" self.host_testpmd.execute_cmd(set_mac_cmd % (port_id_0, vf_num, vf_mac)) vm0_start_stats = self.vm0_testpmd.get_pmd_stats(port_id_0) -- 2.17.1