From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5229AA0561; Mon, 20 Apr 2020 07:00:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 427EC1D16B; Mon, 20 Apr 2020 07:00:31 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 248B81D153 for ; Mon, 20 Apr 2020 07:00:28 +0200 (CEST) IronPort-SDR: KBtRXONINbH8mnjK2Q2e3Egmxeug9N3YcP4fdknor4BjhiqIYUKOvWyKWGd6P+S2Ll4FOEsJCu SnqSll/DZh2Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 22:00:28 -0700 IronPort-SDR: s3Doh5v7ipzr6OrWnTLoqGWstKsE1ivC3uVwvMqggFvSO0m94Gi0cu4Yd8xVODBWpZgvWbW/V9 Ofpwp0M2vgxQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="246801640" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga008.fm.intel.com with ESMTP; 19 Apr 2020 22:00:28 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:00:27 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:00:27 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.22]) with mapi id 14.03.0439.000; Mon, 20 Apr 2020 13:00:24 +0800 From: "Tu, Lijuan" To: "Xu, HailinX" , "dts@dpdk.org" CC: "Xu, HailinX" Thread-Topic: [dts] [PATCH v1]tests/TestSuite_sriov_kvm:add nic carlsville. Thread-Index: AQHWEYaebVZfUTsSEk+nRBkbYlT3OqiBfiDQ Date: Mon, 20 Apr 2020 05:00:24 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0D0C5@SHSMSX101.ccr.corp.intel.com> References: <1586776824-168968-1-git-send-email-hailinx.xu@intel.com> In-Reply-To: <1586776824-168968-1-git-send-email-hailinx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH v1]tests/TestSuite_sriov_kvm:add nic carlsville. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xu,Hailin > Sent: Monday, April 13, 2020 7:20 PM > To: dts@dpdk.org > Cc: Xu, HailinX > Subject: [dts] [PATCH v1]tests/TestSuite_sriov_kvm:add nic carlsville. >=20 > From: xuhailin >=20 > carlsville driver is i40e, so the nic support the suite. >=20 > Signed-off-by: xuhailin > --- > tests/TestSuite_sriov_kvm.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py > index a8a2211..453bdeb 100644 > --- a/tests/TestSuite_sriov_kvm.py > +++ b/tests/TestSuite_sriov_kvm.py > @@ -906,7 +906,7 @@ class TestSriovKvm(TestCase): > 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('sa= ge'): > set_mac_cmd =3D "mac_addr add port %d vf %d %s" > - elif self.nic.startswith('fortville') or self.nic.startswith= ('fortpark'): > + elif self.nic.startswith('fortville') or self.nic.startswith= ('fortpark') or > self.nic.startswith('carlsville'): > set_mac_cmd =3D "set port %d vf %d %s exact-mac-vlan on" > self.host_testpmd.execute_cmd(set_mac_cmd % (port_id_0, vf_n= um, > vf_mac)) >=20 > -- > 2.17.1