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 77D45A04DD; Fri, 30 Oct 2020 02:56:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 340E2CC79; Fri, 30 Oct 2020 02:56:49 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6E32ECBF1 for ; Fri, 30 Oct 2020 02:56:46 +0100 (CET) IronPort-SDR: H+hzRCw4tNtKgm+8aARBWK4k7D5X+a6K3D7/zFTRN/K+kDb5h5w8B4f477ohFyE9C0+kbppdfP Ost+6FMw8yaQ== X-IronPort-AV: E=McAfee;i="6000,8403,9789"; a="186345390" X-IronPort-AV: E=Sophos;i="5.77,431,1596524400"; d="scan'208";a="186345390" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 18:56:40 -0700 IronPort-SDR: 96r7u2tXSP+bipi+ianSYARwWDLJEu3N1X33qoEC6By4KB6aXW0jMK3u//mVroj+X68iRReNV4 KqpXxsV9vE5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,431,1596524400"; d="scan'208";a="525745574" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 29 Oct 2020 18:56:40 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 29 Oct 2020 18:56:39 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 29 Oct 2020 18:56:39 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.1713.5 via Frontend Transport; Thu, 29 Oct 2020 18:56:39 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.109) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 29 Oct 2020 18:56:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PxjRtTAHllBP2gBv59i+0C0a/7ayPV7YgNwwmK/+hXPt2QE0Tet2dwL7sIVldwpuHL+YTzZok5gx8Cu34LdhnFAbQ6Fsnb4haxGsaJYuvxLvyhq6VVQG1npG1VvL6oRMxz0EQZHKxr1BgIbleKIGbxS0EcVYu6DdGyGNljGGeZGjMrMmPl/kYp52alX09/xNycvo+Dh1e/Hod1V1I9mS1oLKtwJwwP0Dilh4pN15xcwZhMrI9Nk2Bm2SBfeYfKzBVi0P2xB8/6TrMK3nPg8iGevwINLw9aun5JGvuRpmvIZjcpvMfYLSZdCAlnCal4ldHYZfv84ypGj94jXxIy0UsQ== 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-SenderADCheck; bh=SpoScvLSlNkYpGWCrx+BJgGNXuS+0es9VynilXxeTxI=; b=ijNaYVxCFW3unnkdplv0rfSDfiUwJPn9orZkVCHSGBUrssVEF/ljXIsdnd0/kFrH0KKWxoA1gsrI5nPT++R3okDsOQ5Mi5qgbfUJFXasZ7CkLLoLS/2kD+GUpTrPyVoyLxstxkFvu986bn0rhG9g8tIoDrAvCBHu+8hVyugOwIZw38lPP4gldvqEtTHCVYMp5fIZ6mXOqowHjSLcDQOsEWg9B1GwZHu8uydUEqXIKWyHbyxSLYXZotqSmPvZnDbd7vGTuzrIyyHraY+SWV8F/NQWb13h9GioxbIhu0GwunBPOOAwxUeaBgHO1Ve0ngF6B1+etih7cr5SocFWOEj0Pw== 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=SpoScvLSlNkYpGWCrx+BJgGNXuS+0es9VynilXxeTxI=; b=fxv6j1jC7vXtUiUXmYRg81qTRVbI8vwOti6NcvSY78ItBCptpqjGGeBQHWfVGX6wyZ4u4AYnzo9i1bJ5xKK8acj60HCwuX+Bc1qpzIp3P+DxaAz0WwcZcmki4li/1pZfPQyTXQ0UHnWzTRxloMXOUr3K7FnQb13l1VaIFfnvY2g= Received: from BN8PR11MB3715.namprd11.prod.outlook.com (2603:10b6:408:85::13) by BN7PR11MB2643.namprd11.prod.outlook.com (2603:10b6:406:b2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Fri, 30 Oct 2020 01:56:34 +0000 Received: from BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::422:be42:232e:20fa]) by BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::422:be42:232e:20fa%6]) with mapi id 15.20.3477.035; Fri, 30 Oct 2020 01:56:33 +0000 From: "Ma, LihongX" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [PATCH V1 2/2] tests/TestSuite_kernelpf_iavf:adapt to I40E driver update Thread-Index: AQHWrcZ77DtRIPtsXk+NocWXdZ442qmvYz2A Date: Fri, 30 Oct 2020 01:56:33 +0000 Message-ID: References: <20201029074008.29911-1-weix.xie@intel.com> <20201029074008.29911-2-weix.xie@intel.com> In-Reply-To: <20201029074008.29911-2-weix.xie@intel.com> Accept-Language: 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-originating-ip: [192.198.147.193] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3b22df16-e739-4144-863d-08d87c77075c x-ms-traffictypediagnostic: BN7PR11MB2643: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BhUMt+nsqZGUzLKxF+nwT9gCtpeBOASrc0XOA4CZJFeERabsXtmFZwnknFMfzxOmDgHhQOkA6vIAjF9S9H+KOHr3oBAq/pzXa9tai87uud3M44fEmyYkjSaSPWN5H0pYsFWdOTQZ/9x3WuyZe+jzue+QgGzoJP/+/+prDee1bfoWw1fYjQiR3HdletPNUyw9XAuIbWvHVCmNm2lXu6djFaNME2yZLJzRYZEu6ydX4Dm4RrEbdxijlKqXGkr8HaA+wDCx+RMZx4iuenO69hDnOmLDIDWIi0jMSqg5dxi9e+0fxtVW9CJRCHoNzToivV+0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3715.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(376002)(346002)(39860400002)(366004)(5660300002)(7696005)(107886003)(55016002)(4326008)(186003)(2906002)(8936002)(316002)(478600001)(86362001)(26005)(52536014)(9686003)(6506007)(15650500001)(66946007)(53546011)(66556008)(66446008)(64756008)(71200400001)(76116006)(33656002)(66476007)(83380400001)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: vVHfMdpt+XvYkJatH4Dr97mnLRDDv+bxhQ6DENDdEtr3N+WqNXIku7B20LRfHJdcjXOzsS1nhzhSCkgtVprteaXFrvoCF70/bX9ps6YswrVdLEBptQUDvigvVDeTrl1Yfp/EfLP2nXzc5u2i3WHtmr02ngVNohuJvs1/3U5pRUQ6fNods7AqfTmBwSWLpJJJZdoNI2Gc/TWf5EpKNBR8g+Bx+S3RCQN0+VVIJSAnyOQlbajS9wnUz4SRcE1ZQfhlMO/bvXOHuOZTcuhgML97o6hZn3Gqx7G/6bIjJEvpZP0tvfPIekfrzUzz11LWMSYX9m3vYuHok5jPsIeYF3OV+BEdxB/0Q/2FXe1oZ/aisD68ABvj1yjB4pxAStGyYWpO0JFp86LvCgBN/sCXq4HbTRg/clYAEc6rMHMCFM8TZmp3JvTNmkjhSg+4MtNSdPdgnmVjZASrKWc3Eajm77ZX9oVs97qPtR2p10IHxKQQ8zOjBK49DNu3vUw/z+tYHEv1Y8NVSaRSw9bRXPU7Al+22n0SaxwqSgxrKxInj8WG9BbVWPz5t/eyepKGsz8QHcCJCimxKdI5Ws6j/LfzM6YO+gNaIQxBLAd6lXLJvHGEDscr7ai9G/kN9+VcrQSWuvp3oXlvb2tNmGwuKjQU9Ze5zg== 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: BN8PR11MB3715.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b22df16-e739-4144-863d-08d87c77075c X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2020 01:56:33.8452 (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: hVdKEYDAL9MQV+OIaVrPf1uf9gzW6nwfSLiOg9NWGiiBXt9WRKSkS81l2y8dTrJuQHrKiW8ctA/FOxUuCKqoNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2643 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1 2/2] tests/TestSuite_kernelpf_iavf:adapt to I40E driver update 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" > -----Original Message----- > From: dts On Behalf Of Xie wei > Sent: Thursday, October 29, 2020 3:40 PM > To: dts@dpdk.org > Cc: Xie, WeiX > Subject: [dts] [PATCH V1 2/2] tests/TestSuite_kernelpf_iavf:adapt to I40E > driver update >=20 > *Update i40e driver to 2.13.10, while vlan tag is removed, the pkts with > vlan tag shall not be received. >=20 > Signed-off-by: Xie wei > --- > tests/TestSuite_kernelpf_iavf.py | 28 ++++++++++++++++++++++------ > 1 file changed, 22 insertions(+), 6 deletions(-) >=20 > diff --git a/tests/TestSuite_kernelpf_iavf.py > b/tests/TestSuite_kernelpf_iavf.py > index da925109..adeac42f 100644 > --- a/tests/TestSuite_kernelpf_iavf.py > +++ b/tests/TestSuite_kernelpf_iavf.py > @@ -428,8 +428,12 @@ class TestKernelpfIavf(TestCase): > out =3D self.send_and_getout(vlan=3Drandom_vlan, pkt_type=3D"VLA= N_UDP") > tcpdump_out =3D self.get_tcpdump_package() > receive_pkt =3D re.findall('vlan %s' % random_vlan, tcpdump_out) > - self.verify(len(receive_pkt) =3D=3D 2, "fail to tester received = vlan > packet!!!") > - self.verify(self.vf_mac in out, "Failed to received vlan > packet!!!") > + if self.kdriver =3D=3D 'ice': > + self.verify(len(receive_pkt) =3D=3D 2, "fail to tester recei= ved > vlan packet!!!") > + self.verify(self.vf_mac in out, "Failed to received vlan > packet!!!") > + else: > + self.verify(len(receive_pkt) =3D=3D 1, "fail to tester recei= ved > vlan packet!!!") > + self.verify(self.vf_mac not in out, "Received vlan > + packet!!!") Some of the cases not set the cmd 'vlan filter on' , the modify do not matc= h your description ,please check it. Regards, Ma,lihong