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 EF96942B3A; Thu, 18 May 2023 12:49:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C113940E25; Thu, 18 May 2023 12:49:42 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2134.outbound.protection.outlook.com [40.107.244.134]) by mails.dpdk.org (Postfix) with ESMTP id 11BD74014F; Thu, 18 May 2023 12:49:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WBWE9s7yRMQsXjHVxgqMMLeXlGdzD/xprZ7KPdHyFmBA+p+meJOVsHzJ/+eH/HR6gQe+FCoBPNdnyCWLVcTzsEdqQfaWjZZgD7C0w+ourYAIbWBsiXgGrvxfvcaH4sgd50lCXFfm7D34Sa4b366bRbCLZFBHSExvHZNPXnL/znJB6weoHoT+hQlnLyFutvZ5Ld8hQmUDTgBCfeBENBJu4/3DuJpA/yfG8x0cJtRXBOqcXWuKmLyyQaMLkO6ZtrbT6Iqn4smXlyWQqncoKo/erPM5XJySABnOE26A0iPCXUaYXeAIA8rtVQCG17593HYxW5lj5ikfnnlPlHllkbGvVA== 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=ABSOoNRgAtNBVpI5QkaDzMyMGHkPddF5m0hjY1UjW4c=; b=mmFKVLNz3j2wpbL7RZ7KhuZVioErjw8jven4xAM/oATCcUply0cCiswh77YlI6B3aUCq9TeyOXWPbbN7IU+zWtSs+mGBAmUWXa8qEcX7ef8WPh7DMa1Iq4Sny7tUXYXnldOw5lvXmcC/oIi1jcRxwffV3nTJjJXDUdRgM6urSBGbNNw3Krsv92rUP+qM/b4oLoynsSLpxf7Sn7/+wwUpvJHXPxJ4otOLa1G5PdwKomMiMipp7fGHqaqFY/C0KIpuSgh0RsUGQ4eG1Ispa16A1ien2fMeKU/Lmkos+1bMosd2yh2harujm3po9PvVPIehqNIGaYnhTIAHXk0WtHFQZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ABSOoNRgAtNBVpI5QkaDzMyMGHkPddF5m0hjY1UjW4c=; b=qEfGMpKSVdGY8AOxG6vWO3NqBzyt6iEUQsjzI+K9Yj6BueypspB5gUItkya10HXVConwgi7D1H/vG2b6RAGWhdquXrEJiR8kE5/mKpFYXgskW/6rG5QB1Sr58eRizQ9e9N0iLDVaF+8ua6HN8hW34G0F1lJKzImiB8WDfT+2J/E= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by SA1PR13MB5418.namprd13.prod.outlook.com (2603:10b6:806:231::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19; Thu, 18 May 2023 10:49:38 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ac2e:52b6:82ec:4994]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ac2e:52b6:82ec:4994%3]) with mapi id 15.20.6411.017; Thu, 18 May 2023 10:49:37 +0000 From: Chaoyong He To: Ferruh Yigit , "dev@dpdk.org" CC: oss-drivers , Niklas Soderlund , "stable@dpdk.org" Subject: RE: [PATCH] net/nfp: fix the Tx descriptor free logic of nfd3 Thread-Topic: [PATCH] net/nfp: fix the Tx descriptor free logic of nfd3 Thread-Index: AQHZhHaDViAMUP20vkK9ETrmuOOGFK9f33GAgAAETXA= Date: Thu, 18 May 2023 10:49:37 +0000 Message-ID: References: <20230512020712.616206-1-chaoyong.he@corigine.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR13MB5545:EE_|SA1PR13MB5418:EE_ x-ms-office365-filtering-correlation-id: 34cc4366-b80e-4cb4-eadb-08db578d9327 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PibY3Di95fZQcrGVqsqT6GPfSoDHwklUZ2KUygFvhmxuJzvIusDUEJtKkkc/oRPuLZ5u0ndtMLsx7NQxmj9EIUDpSMhL9vxGCxMM7L3S+war8lhQsvxna+vQFzHG6h40TxGE14VTesnVMZkUmwZh/bzX80QbKvg6OR5zfrJB9pzmOAIBJ30XV5kLcYlp2rBjXhSB5uJ4qJC2BLHe33Ftqe4C0p53Sw1N5xbajA5WTSQt9EXEqYJGBOSkCTVFgW4/xodAnWT/Mk9mLIBWhXg1VKIP3NBNrIoiiAkqJvtdzd+CyV151hPJPT9BdpkF9p5HD7HnsT62ST/EI9qgJ+LntcWbx5t4U6jAkAtpJGd21/qtzxrXOC5S/NeZmGncKNGCblFEbDipruOo6Nv2PtO6oOHqP8go5n9QJB5UnFJlvjBu9nvFBvCzL/2cE56+g8w1PI1+Vpwu3WriXi1UQMMMTNWgznqYa2b5Tf6xOQD+199QkdoxorXK0YmMNY81+1b0vJDlUATGQCRQIh+wQgw+4HoQaowsa/u/vvWpcbvJct3iGW6I8hLCYn0EzBfjljdPIhamXbvn+13CCF8fdynYUBBVh8FnOgIvraoIYnVyUGEOz8yABVPqy7rJHSLFzi3a x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(396003)(366004)(376002)(39830400003)(136003)(451199021)(33656002)(8936002)(86362001)(41300700001)(8676002)(66476007)(66556008)(4326008)(122000001)(54906003)(38070700005)(316002)(66446008)(64756008)(66946007)(38100700002)(76116006)(44832011)(110136005)(2906002)(478600001)(83380400001)(71200400001)(55016003)(7696005)(26005)(5660300002)(52536014)(9686003)(53546011)(6506007)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YmJIMUNhNFhnMmtkREkvbUFUc1NSUStPTzJ5ZlpBc3JvVmt2bVNycVRtelQz?= =?utf-8?B?K2ttRGtTT2JYQzVlb09jNW8vZXdaU1BYdzhIRXFuN1JZbGdnRk1oYXo4aWpK?= =?utf-8?B?dDdmempmYlhDUWh5clJ0MnNmLzQ5YkdOK0J5bzlFUVJmckNPWlliaTJDM2hH?= =?utf-8?B?QWtsUjlzVGpyNUZUM3ZXSnBraDFSRzBpWUs1YUZ4bklnOGhNRHVwNFg5N0Q5?= =?utf-8?B?MVptdGtSNHNCTUEzVFdMbTdoTnpKazJsazlsVGRxbHc4LzdxTW9mN0ZuY1Rt?= =?utf-8?B?b1lGY2RYMU91eVRzeHNSV01TRVhvdWNVTUovY2QremdoN3ZDNzBUZ0xtdnpT?= =?utf-8?B?ckkvRDFuVjJMelhiRTJXV0EzMHZOS0ZSYnVPWllNU2tibnRSeE1VdVpZVFhK?= =?utf-8?B?OUVrMFc3d1BxQS9Pc3dyWklyVXNCQmsxTDdqUkNLSDYzWWJrUm1kM2lCYWF0?= =?utf-8?B?VUFGNmV3cUlyeHhud2Jpa3BhT2RPQ0x5ZXZQTXBIaFNJWmk5eGR0SWR2Y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WNRZDFLRXgwazJjM3N2?= =?utf-8?B?MmZWQ3F3eERvYW1XN3AwYjh2Q3R6U2RGWXVjZGZUbXQzTzVqVm9DZ0NFQXNP?= =?utf-8?B?bXJCa3BiUlNEUVdIYURpNWhqTW9KWk5RbGNiYUZJazVCamNaT24xaDR2MTZ0?= =?utf-8?B?dTlQS1IwbCtvUm1la3IyTXU3Z29XUXZ6S0crY1FQaDFIaGlYaVd2Z0F6N1F0?= =?utf-8?B?U3BFQzVGYWdLOGE1NXU1UDJscVZLN3dXUlk5NE9sNm9IUzduZFlhcitpcDZR?= =?utf-8?B?NzAreWlqc1F6K0pEbWhXNzRUTGphRHBTbmZxQWRzd01icXhpM2xmOXJxVXFa?= =?utf-8?B?aG9JenVieEkvZWFyTXJNdDZLcmF1Q0ZKeXlqeFpXWEdOekJDRC8rc0UyUGFN?= =?utf-8?B?T2xUL1I2M21UMVZRU1VJQ0Q4ejk2QmJmamtJWDNncGNuajNHTlF4d0kzS1Ir?= =?utf-8?B?RkJTYnBCblp3T1N4aDNhd3RoY1N6TnhxYjhuajJtbWkvYUxKNU91bDJ4WDAx?= =?utf-8?B?RlRkYk05TmtvMHhJckFvTVI2TmdQdEkvOVh6dzQ0T2lYMnVRYjBRWUE5NkhG?= =?utf-8?B?bEtyYy84Wm1waWxsbktXQWpBRVYzUllQZUdWY2VJR1Fac1BZYjQvbXZPektU?= =?utf-8?B?YXRueEtRclZVWlRNL1dXWGpFbmFIdlZIRDM3NUR4SFJWTHo1enVTTDVjUlJO?= =?utf-8?Q?FNKx2S5EEqP4xyizU+G7CUy+3?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34cc4366-b80e-4cb4-eadb-08db578d9327 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2023 10:49:37.3462 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: g74FAAAo/5aCighcLzutB6AHehLVC+af8s3b0DNkmJArrXrGBRVIKW/LhgvbRCQmOWu+xnFwcb7rvYVVeMVIAUJcAhV3LRQ2GiUVsBe5Lck= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR13MB5418 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiBPbiA1LzEyLzIwMjMgMzowNyBBTSwgQ2hhb3lvbmcgSGUgd3JvdGU6DQo+ID4gSW4gdGhlIHR4 IGRlc2NyaXB0b3IgZnJlZSBsb2dpYyBvZiBuZmQzLCB0aGUgZm9ybWVyIGxvZ2ljIG1pZ2h0IGZv cmNlDQo+ID4gY2FzdCBhIG5lZ2F0aXZlIG51bWJlciBpbnRvIGEgdmVyeSBiaWcgdW5zaWduZWQg bnVtYmVyLCBhbmQgd2hpY2ggd2lsbA0KPiA+IGNhdXNlIHBvdGVudGlhbCBwcm9ibGVtIGluIHRo ZSB4bWl0IGxvb3AuDQo+ID4NCj4gPiBUaGUgeG1pdCBsb29wIHdpbGwgY29udGludWUgaW4gdGhl IHBsYWNlIHdoZXJlIGl0IHNob3VsZCBicmVhaywgYW5kDQo+ID4gd2lsbCBvdmVyd3JpdGUgdGhl IFR4IGRlc2NyaXB0b3Igd2hpY2ggaXMgbm90IGZyZWUgdG8gdXNlIGJ5IHRoZSBQTUQuDQo+ID4N Cj4gPiBGaXhlczogNzRhNjQwZGFjODY0ICgibmV0L25mcDogYXZvaWQgbW9kdWxvIG9wZXJhdGlv bnMgZm9yIGhhbmRsaW5nDQo+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