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 52FD5A0584; Wed, 19 Oct 2022 13:30:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31328427FF; Wed, 19 Oct 2022 13:30:06 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2100.outbound.protection.outlook.com [40.107.243.100]) by mails.dpdk.org (Postfix) with ESMTP id C243D410D1 for ; Wed, 19 Oct 2022 13:30:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oUOSByTaYMcyHFZd8u6gix8nxnrIwX/KZUPfhFma8hljs6PHldh2BH9vxSRkDxSt7a2AqvyqFW1XcMO1c01ZQQpncikp6EDEB+ASG6oQs7MAlm1B6/TXYOnyntkAu+xf+vv6QdJTrI7WAqdzmmLl/YicDGZEHqP7D7ZS9FGrNdRsaU347PvS6Y2Tv/hJYHYJwA5kafufg1HeFBGOC6vf02vkNxwqD2mZZRjkKVAMGTHfAx2TmdBClUgNBQTt6kQa2pjX3rKusLDt1BePFuIHrdIUQjKJPsWVOOwfmp8pbQxoPRldn0gnBROJXfq3zmu0dTNM7Z4VL2Qji+XQRcNOtg== 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=oQBhhRy5xPXsa7xwnTbwPcR7ybtzNxg1exUvPz3Z/XY=; b=gTE1a6Okots4B36FRTjEnEH01twRm54Bw9ldEA1ycfVFa3JI8oK+vX31UX/TikNMUWeMPv7eL6ogZOJ6yTd7QZGzHIVrO9jqWCUmYbV2iKZu1np8sPoXRyhqHtACrY1mz7W3crBfzxgmk5/DYubzpfvdQuVa8pDj5X39FXMQqLMrT7Sw3Le8klYKilHzZzbLMLl/V8tkZdw8GLiHXXfP1XMLray05jKMbgpdPJjeNctEJo512OTYxdgFLsmmVs6SvFhNFjDcQ3ve4KJq5FTb0NMC1jQeEoMqz5Mt08yBIKV9JWwBPXiSGSHIBHx8gPESIrT54USZOSI4DMhjaaLoLA== 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=oQBhhRy5xPXsa7xwnTbwPcR7ybtzNxg1exUvPz3Z/XY=; b=vE2yMSQ94gcRi8t7kk/p52CH2MqLf1AYZyglvlFl+L3is/BnsSVu5sS3C67HJHhveDK/btCeUTzRAYgY+pzQKu0FE7F1lE1UlFFBQErdfsxLPvWBo9amFxWc6P/yHRGkr/zvxgM6KPuXebyrkcPpk+KgYjbkz00TGcLMsGCURlM= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by CH2PR13MB3799.namprd13.prod.outlook.com (2603:10b6:610:91::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.20; Wed, 19 Oct 2022 11:30:01 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7c26:1a0b:2825:6f4b]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7c26:1a0b:2825:6f4b%4]) with mapi id 15.20.5723.014; Wed, 19 Oct 2022 11:30:01 +0000 From: Chaoyong He To: Ferruh Yigit CC: oss-drivers , Niklas Soderlund , "dev@dpdk.org" Subject: RE: [PATCH v2 03/24] net/nfp: add the flow APIs of nfp PMD Thread-Topic: [PATCH v2 03/24] net/nfp: add the flow APIs of nfp PMD Thread-Index: AQHY3G7ZnjXLRDJznkuYmYDtTiGxpq4HtpMAgA1cNoCAAIuPgIAAAPRA Date: Wed, 19 Oct 2022 11:30:00 +0000 Message-ID: References: <1665382142-21684-1-git-send-email-chaoyong.he@corigine.com> <1665382142-21684-4-git-send-email-chaoyong.he@corigine.com> <0f2d733d-4f52-b117-9d0d-762cb890b82e@amd.com> <2c989a1e-5a95-1ae0-ea0b-e29a6b76b67a@amd.com> In-Reply-To: <2c989a1e-5a95-1ae0-ea0b-e29a6b76b67a@amd.com> 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_|CH2PR13MB3799:EE_ x-ms-office365-filtering-correlation-id: cd385f63-d07f-4d56-dc2f-08dab1c54299 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Js+aaRFvGZrx6uVV8daBRw3PN+Zw+WDk5uSnnp9w4iwRdeuPkRsyScBw8BrovcFVOx2Lj+9ob555GBP23UdqPE1yK2Qt0qnzzof+54F9pC9psNCjk46WfRTl95annsyW0GzmZ8p5KNq3G85hjRX1A5v6AhIpXIL7O02qfYQznLjbPFAzuBvkSLcmNGx5/xGxcBbX87SB7v3dSs1IytozmGBH5aAWM5gdXWHkpV5M8orfEvQeeHatPa/DKFuvkWRrLpmqa9Urr7UC+qlTnOoR0ic4ElsE8B7V9rKPOKKjePI8DrfSPfB8e0l0jfcQvmbCm5ofGR75kSazMZraYP+v+hKwuQMGN5YC0T+Yxrrd3UxUZQQBZf2Mng3f7gI4lA6/oi1zcJdMFMM9hFl/myX+kROe//jG1Mq9izyUCVzYXCjqp9HmX/paM5r4kfh4pLwQovScj90BRqTVqMXrKrDzBWl9cVH5U60qTOo1g8K8mVoqRAqJc/LYQ7K2M52tWJkPg5zPWeZqvOLPMeRlK/yvXwXJ23XT/Sq2xoLDYRHxdveH6G2KV7jT0ttSmUJbn9hTJqPFlZPhdF6lyCHSXuotbxvIIQQDDtw2KvI61eceUgi7Hz3/6rOhfbgMNIaqH98kFbxbB1WP9DcmwxXIF9MmEoJWViZQ+BQIAOnfRHW0KrZSR04w6aHU7Nizx1GbHeNZSP24VGG9Cet7Pl2FgsEi4/RqEk2J18M/uFULebOrcjkOdPNQCvgZxxkPx5lbkRDGaew9dMSXvc7t84PrFv5/AA== 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:(13230022)(4636009)(366004)(136003)(376002)(346002)(396003)(39830400003)(451199015)(55016003)(83380400001)(66556008)(44832011)(316002)(26005)(7696005)(6916009)(9686003)(71200400001)(4326008)(6506007)(66574015)(66446008)(54906003)(5660300002)(2906002)(38070700005)(52536014)(66476007)(53546011)(38100700002)(8676002)(33656002)(186003)(76116006)(64756008)(66946007)(122000001)(41300700001)(8936002)(86362001)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZTVxZ2RMKzdWZ2toQXZXNGNpdzAraEwwTnhUbWM4aGRPWHlJNFJCNWlkRmtk?= =?utf-8?B?cmdoSDN3R1IwLzZMYTgwV0grNm1IdmZmUlNrUHg0cFM4YzVYUlZ1OXZKd1pl?= =?utf-8?B?MEFoN3VMeEsxSXhPcXZGNDhpcFF1UUZqWWVZSXpoUG9RUk5pSTlqSUwyY3l3?= =?utf-8?B?OUdJQkVYaFB0Y1lleWF2NUlPQks2VEQ3YStVTXVJSzRSN200bDZ4K1RiWW9U?= =?utf-8?B?blpZTEtLU0dKUFg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M2?= =?utf-8?B?d3lEOUZFVzBIblRwaVh3OHdPQm5ObXdiQnZRUVo3N01MWmVDK3oxQVZJd1BI?= =?utf-8?Q?kM4MuAkTdk3adGsbXdENQrnab?= 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: cd385f63-d07f-4d56-dc2f-08dab1c54299 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2022 11:30:01.0243 (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: MnxA7SP/exIwPdCmZHEObisTZxb3PKdGPScO1ct+dIMHbfMOwZJ+eu+ew2QBe8iNYS4dch4bJk9FIAE3ARAL9Z1v6dhlTr/cAEsKIKZ5vc8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3799 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 PiBPbiAxMC8xOS8yMDIyIDQ6MDAgQU0sIENoYW95b25nIEhlIHdyb3RlOg0KPiA+PiBPbiAxMC8x MC8yMDIyIDc6MDggQU0sIENoYW95b25nIEhlIHdyb3RlOg0KPiA+Pj4gQWRkIHRoZSBmbG93IHZh bGlkYXRlL2NyZWF0ZS9xdWVyeS9kZXN0cm95L2ZsdXNoIEFQSSBvZiBuZnAgUE1ELg0KPiA+Pj4N Cj4gPj4+IFRoZSBmbG93IGNyZWF0ZSBBUEkgY29uc3RydWN0IGEgY29udHJvbCBjbXNnIGFuZCBz Z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