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 E0FEAA0C43; Fri, 22 Oct 2021 08:29:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8AA34069D; Fri, 22 Oct 2021 08:29:28 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 51C5C40040 for ; Fri, 22 Oct 2021 08:29:27 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10144"; a="226690896" X-IronPort-AV: E=Sophos;i="5.87,171,1631602800"; d="scan'208";a="226690896" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2021 23:29:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,171,1631602800"; d="scan'208";a="595435200" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga004.jf.intel.com with ESMTP; 21 Oct 2021 23:29:26 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 21 Oct 2021 23:29:25 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 21 Oct 2021 23:29:25 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 21 Oct 2021 23:29:25 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 21 Oct 2021 23:29:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mi196YqTaUxj4f8AFS+6axjyF3OW2O+W6TxYoOlLlzwGoehhiyKsqRQSQeLl0ZMOt9Sj/AWzhJAxwwiIXXfY6oIMsHR47OjIVJIKWKwr02PAe0eifMpGWLLdU8jCWThkrAnvkX0Xxsmy7r0HfK2TrNudyYD3tWUuKttChqKGev9cJcIS9/1uy2NscUmuI/Ob9tw5oVumzqXjfyEGsbwO6lw8K3sgiWsbfDKzgOnbJjXZOzlNIyIdr212v89kv4z00ks418LPQz/nRVImoAbcafRIFd9wt4fm/EamHcJMAmCggguTjdbEMVv6Z5a+GiZgx+9X+5PjDC5dAv9xRiQOUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WteLT8Ur/xbVr/4nXq7ka3cqJnUjJxrqheEff1RhFLg=; b=WI7EkX7mFQmbQ1isdy+PGcNiAKj/QxNGOTiTpTOi8c4cmdqtzUPrGF6/n0G3WjnFC1goVoHMTsUalG579eJy9xWCQYBMM4SEI1j0We9FVL1ivyR+iGAUjLqWlcK84YnujsVxhbhPPp+d48HHbS0pjK6/sgUEuXvUTFXwZpah3Z+N58m2sUDtYFJRA6cw3gkOBEQiHJaTcEkF+0gnrHqB0RHosGsE0bai0i2dvbpYlih5X0mXH7pYPna9bxcy6/fGErOorztmgzc8/Y+gd9zOJ22tsgkl/BrJIpmYPKGIBrusTCZYm4GhiVooD6zRlOMKCZRRz5j4b+YW/Zh2fEw94A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WteLT8Ur/xbVr/4nXq7ka3cqJnUjJxrqheEff1RhFLg=; b=Oh1yNMpGGh7Uli2OIFWyGQSireGr7VPME87aA7loGi/k2oNAoFZ/OzLUoGA5fLIY6q3A8E/gOOaDQPi5+DR0cuvPqRD18Ht4mczq/x9ZXKGeW+2ugOiOP4yK3F/sVsG+n3TuqIlXWie2wW2poTSo5CjF75pcYdXv6ry7WX4Y7sQ= Received: from SJ0PR11MB5599.namprd11.prod.outlook.com (20.183.94.245) by SJ0PR11MB5646.namprd11.prod.outlook.com (13.101.75.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Fri, 22 Oct 2021 06:29:24 +0000 Received: from SJ0PR11MB5599.namprd11.prod.outlook.com ([fe80::10d:e8b2:6de3:942c]) by SJ0PR11MB5599.namprd11.prod.outlook.com ([fe80::10d:e8b2:6de3:942c%9]) with mapi id 15.20.4628.018; Fri, 22 Oct 2021 06:29:24 +0000 From: "Lin, Xueqin" To: "Xia, YanX" , "dts@dpdk.org" CC: "Xia, YanX" Thread-Topic: [dts] [PATCH V2 3/3] tests/vf_kernel: modify dts because of i40evf removed Thread-Index: AQHXxZrLrCljy1ODY0eJVkjsp9wlbqvekQwg Date: Fri, 22 Oct 2021 06:29:24 +0000 Message-ID: References: <20211020181005.332986-1-yanx.xia@intel.com> <20211020181005.332986-4-yanx.xia@intel.com> In-Reply-To: <20211020181005.332986-4-yanx.xia@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cd0577e4-b06d-4b2a-6a07-08d995254a6f x-ms-traffictypediagnostic: SJ0PR11MB5646: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:31; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FFTvTlxhsa0Fr1mxuRVsJ/xlbNTza0H9eE9LBTDuLUk+2dn9rul8yCNJoMakjePYEhEx70fkkIRreiLToXl1rtFcJ2FGxrjqsrWTlXGYcNhch2kPTuFYp0iiKUtb464V1dXdPJS9yCFbdmaAQqilkwdMc8BznNLfrwnIrI76IvatqFc2Asr7s58LjM4JzZkImngG97Q8kJdC9X6PsrTJ/Yy1cbPiERqDQ8YlSUYvpJfOE4PbEo6xotCcjhLDsybomh6dLky5Dol45aEmLrwYZOUK6rO3oprmIthCCxnP70HUBtEullv0fq1L06CJpCpn+Yf/ggwAebLNSLcFCypLmluo83KMrVtGKwTlpMRA/9Zz7b9kSk+q4HETIa/kOnwRph/teFWWhtqVlxU/wBnOHa3feNeZga6FCb8cKB1SGIaSG9XLwz4tUSM/+2tpaYMu+l+oklcc5OHp05ojujXEfMSD9qR2FdvkOJcf6lsV7SeLG4wAQ5mrA56AC2EYVmWRaQBrTd285LgaSzahYLCGSQISmIY2QPjmDdjmCwJkUfh2Yeyvp00c9rdxrgXCSshBEuujyWECauI6gsw9fA2Q8XGCdeWdPL57Uh9Bq6g59F+STY/wyEZLPNVp1IU0qIPXhEVor+sYveUdT1HQ0Er27F8hUFCrS/F/FClaBFmiYZQOrzSfXolaU5S4TOOFZIVuMnmaQMgnXb38SP9jOwhUVw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5599.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(7696005)(4326008)(71200400001)(8676002)(38070700005)(6506007)(82960400001)(55016002)(76116006)(508600001)(53546011)(66476007)(186003)(66556008)(64756008)(66946007)(8936002)(66446008)(86362001)(316002)(52536014)(5660300002)(122000001)(110136005)(38100700002)(9686003)(107886003)(33656002)(2906002)(83380400001)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?DJRSamA/nAYFfLR58kHPLvPkqNz9ur3BHAT8bUEqxUSSq1SKFj+fsLTMIuij?= =?us-ascii?Q?pHRKcuOn0mGTiNBXynRByAJhVdi+9D/3klgEpKn+NZ5Xiyb24+rhRMBv3gs4?= =?us-ascii?Q?ZYnt4yigz6myAmUnBjfQW+tnpspXIPZccLIrF/ODKINi1b3YH9W5F0LQMqOR?= =?us-ascii?Q?gpSn82Fpy9j235NSDWVRZ50dddq5BmyXvn5BIxjr+pMM7zH2cZRolQHuzGKS?= =?us-ascii?Q?x2quJIX3hIIg+lCVfIS4LYPcCcm9SsIsSsCO4OZIxzxB3rURmdyT3CapPhGz?= =?us-ascii?Q?NooFkw4GQH+iX1LM6+BT0AitRUYwpxiSQShm+wk71GTuM9K6oFYxEA4W7kgQ?= =?us-ascii?Q?2JKqc36beNem7O3H4DffqH2G4u6C0SfRDEVlqPMPMXDnRdB8Mfn8LA0SMXeX?= =?us-ascii?Q?rNBgfwc0FUaxSbPp7mpS+zBPmZCqF9U7cDY3IQ9xslLyPC8hx9xcNGPik6LU?= =?us-ascii?Q?AuDtdsOIyU4sC7AIsiK4LsNMbhJfFS7R7OZkNYBWzuksDi7MGo+zv8++m6Ls?= =?us-ascii?Q?dS1RUS2E5AyKSfIZ3xY4sISsOl70U8maOGsa9h+K4UguYUnprpaaJclpyGK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?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5599.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd0577e4-b06d-4b2a-6a07-08d995254a6f X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2021 06:29:24.3346 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xueqin.lin@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5646 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2 3/3] tests/vf_kernel: modify dts because of i40evf removed 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" > -----Original Message----- > From: dts On Behalf Of Yan Xia > Sent: Thursday, October 21, 2021 2:10 AM > To: dts@dpdk.org > Cc: Xia, YanX > Subject: [dts] [PATCH V2 3/3] tests/vf_kernel: modify dts because of i40e= vf > removed >=20 > modify dts because of i40evf removed > dpdk commit-id: c65f9258 >=20 > Signed-off-by: Yan Xia Acked-by: Xueqin Lin > --- > tests/TestSuite_vf_kernel.py | 37 +++++++++++++++++++++++++++--------- > 1 file changed, 28 insertions(+), 9 deletions(-) >=20 > diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py = index > a4e1e52a..e685db65 100755 > --- a/tests/TestSuite_vf_kernel.py > +++ b/tests/TestSuite_vf_kernel.py > @@ -315,7 +315,10 @@ class TestVfKernel(TestCase): > self.verify("Link detected: yes" in out, "Wrong link status") >=20 > # Unload VF1 kernel driver and expect no problem for VF0 > - self.vm1_dut.send_expect("rmmod %svf" % self.kdriver, "#") > + if self.kdriver =3D=3D "i40e": > + self.vm1_dut.send_expect("rmmod iavf", "#") > + else: > + self.vm1_dut.send_expect("rmmod %svf" % self.kdriver, "#") > out =3D self.vm0_dut.send_expect("ethtool %s" % self.vm0_intf0, = "#") > self.verify("Link detected: yes" in out, "Wrong link status") > vm0_vf0_mac =3D self.vm0_dut.ports_info[0]['port'].get_mac_addr(= ) > @@ -330,20 +333,29 @@ class TestVfKernel(TestCase): > self.verify(self.verify_vm_tcpdump(self.vm0_dut, self.vm0_intf0, > vm0_vf0_mac), "reset PF testp= md impact VF RX > failure") >=20 > - self.vm1_dut.send_expect("modprobe %svf" % self.kdriver, "#") > + if self.kdriver =3D=3D "i40e": > + self.vm1_dut.send_expect("modprobe iavf", "#") > + else: > + self.vm1_dut.send_expect("modprobe %svf" % self.kdriver, > + "#") > out =3D self.vm0_dut.send_expect("ethtool %s" % self.vm0_intf0, = "#") > self.verify("Link detected: yes" in out, "Wrong link status") > vm0_vf0_mac =3D self.vm0_dut.ports_info[0]['port'].get_mac_addr(= ) > self.verify(self.verify_vm_tcpdump(self.vm0_dut, self.vm0_intf0, > vm0_vf0_mac), "load VF1 kerne= l driver impact VF0") >=20 > - self.vm1_dut.send_expect("rmmod %svf" % self.kdriver, "#") > + if self.kdriver =3D=3D "i40e": > + self.vm1_dut.send_expect("rmmod iavf", "#") > + else: > + self.vm1_dut.send_expect("rmmod %svf" % self.kdriver, "#") > out =3D self.vm0_dut.send_expect("ethtool %s" % self.vm0_intf0, = "#") > self.verify("Link detected: yes" in out, "Wrong link status") > vm0_vf0_mac =3D self.vm0_dut.ports_info[0]['port'].get_mac_addr(= ) > self.verify(self.verify_vm_tcpdump(self.vm0_dut, self.vm0_intf0, > vm0_vf0_mac), "Reset VF1 kern= el driver impact VF0") > - self.vm1_dut.send_expect("modprobe %svf" % self.kdriver, "#") > + if self.kdriver =3D=3D "i40e": > + self.vm1_dut.send_expect("modprobe iavf", "#") > + else: > + self.vm1_dut.send_expect("modprobe %svf" % self.kdriver, > + "#") >=20 > def test_address(self): > """ > @@ -1048,12 +1060,19 @@ class TestVfKernel(TestCase): > Load kernel driver stress > """ > for i in range(100): > - out =3D self.vm0_dut.send_expect("rmmod %svf" % self.kdriver= , "#") > - self.verify('error' not in out, > + if self.kdriver =3D=3D "i40e": > + out =3D self.vm0_dut.send_expect("rmmod iavf", "#") > + self.verify('error' not in out, > + "stress error for rmmod iavf:%s" %out) > + out =3D self.vm0_dut.send_expect("modprobe iavf", "#") > + self.verify('error' not in out, "stress error for modpro= be > iavf:%s" %out) > + else: > + out =3D self.vm0_dut.send_expect("rmmod %svf" % self.kdr= iver, "#") > + self.verify('error' not in out, > "stress error for rmmod %svf:%s" % (self.kdriver= , out)) > - out =3D self.vm0_dut.send_expect("modprobe %svf" % self.kdri= ver, "#") > - self.verify('error' not in out, "stress error for modprobe %= svf:%s" % ( > - self.kdriver, out)) > + out =3D self.vm0_dut.send_expect("modprobe %svf" % self.= kdriver, "#") > + self.verify('error' not in out, "stress error for modpro= be %svf:%s" % ( > + self.kdriver, out)) >=20 > def tear_down(self): > """ > -- > 2.33.1