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 9E55DA0A02; Tue, 6 Apr 2021 11:07:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 258C4140FA1; Tue, 6 Apr 2021 11:07:47 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2048.outbound.protection.outlook.com [40.107.237.48]) by mails.dpdk.org (Postfix) with ESMTP id 30503406A2 for ; Tue, 6 Apr 2021 11:07:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XwkYvMNkJJv76eprT4XHc64g5M37AaJk1Ii49BZGoc+xhq2GrPQ7v+HmJjJmFoHOUHaCAMZfMiwJCWN1XkpkQ+mpCdESpUtwXuUV77XGzn87oTbd1octV6Ba13Zj+VLx3ZIPd6npL8KjOq8PhJ45f+Q3zd606zcYa1ajh7tQAVz6woL7Aj4b9UFT3mrw0Q7l0xJpG7bL5QxXWJ1A+eWrVaqiE60mC2l7GRaJ/LERIaBZ/r2IHYBUp55x8UsV+XQfJiF5nT+vjmy4ibOO+Mj3ZNrXA/qdtRwB6/w7orVrHnsOM6Y6vye+Rc8FadNT/CXL9CwldscUEFOTXgqnYqJ/qg== 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=ncsgDprLFoY+VmU8MJVYxCwtOwyjqzpFx+PdlSFTMpQ=; b=ZubOoHxWmNd363YOFEfmUxt8Lgz0b01V/SHFjEIf9ghOMNuu7GNvfGqXO4we4CY+l+FCYPDyyCaeydhqNGrzhBGOxulQ1GGaYXXCDCVSKxTMZdpvBwbtga8y2GFlNUMYp7//cFaVAH3oEJqEZQECAQVWhfDzVMiLa8X8lNoPiv468zLOAceu353/VtwGaLeXKBaZnyieIEBDbxSzQBI87+1lCKng6cFn4Zbmact4dDgB3Df8UFi3yjG4NHSxLIFo3tncou+NRmrtwXKhRQBipsAR9M1Eyjivt9Sf9TnQTdmFa0yoYVIrL4yy/EOLAKp0aHeQBU76Hrqm5Xk1cFFtLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ncsgDprLFoY+VmU8MJVYxCwtOwyjqzpFx+PdlSFTMpQ=; b=B6QbN5FPBfrF69gYHYJATx6hZ+HWecZv2EI9dx6yyio6BMXOUXnRieRJGDgjj2o/GVzbq37z7g0FYK3XssHjwdAWvlNIJFVY/usMFZH/51KVoMu7yf/cILwRmSB01a9ToPAV+3IACil03nyWOuvgf7XaNFb63c2qGDBtZLcJMBOIVMNxYH6zZ61h7GSrGZiLVOtL+oK09yki+CVrgbUVnjSPMuqVeZJNsiWA3PQL4z0HoFcPwn0mNheQOMEsXmZtqnpBG4YRt3oV1McxIJChbc01qJzXirH3qLYS+Onuhgs6oHq1JVMbEEXpJL+wAYihy1JSi0apKvo667f21C9KOg== Received: from MN2PR12MB2909.namprd12.prod.outlook.com (2603:10b6:208:103::13) by MN2PR12MB3117.namprd12.prod.outlook.com (2603:10b6:208:d1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 09:07:43 +0000 Received: from MN2PR12MB2909.namprd12.prod.outlook.com ([fe80::7cbc:e499:e936:7408]) by MN2PR12MB2909.namprd12.prod.outlook.com ([fe80::7cbc:e499:e936:7408%7]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 09:07:43 +0000 From: Bing Zhao To: Andrew Rybchenko , NBU-Contact-Thomas Monjalon CC: Ori Kam , "ferruh.yigit@intel.com" , "dev@dpdk.org" Thread-Topic: [RFC] ethdev: introduce action context APIs Thread-Index: AQHXGweOxhV9biVSf0uN0t84s4bJAqqQIHcAgBcxnFA= Date: Tue, 6 Apr 2021 09:07:43 +0000 Message-ID: References: <1615967952-228321-1-git-send-email-bingz@nvidia.com> <4868470.BFrr8Tzbyp@thomas> <27c5c98f-b29c-d8a6-d3f3-05fcd41d5a8a@oktetlabs.ru> In-Reply-To: <27c5c98f-b29c-d8a6-d3f3-05fcd41d5a8a@oktetlabs.ru> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [103.150.130.69] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 31a878f1-f0c3-4e76-51ba-08d8f8db705f x-ms-traffictypediagnostic: MN2PR12MB3117: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:176; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: v96Qe9/kj3imiW2wB4k0+5Xs1usQE0osRRaCOGOyR7m4mA23U/U7myc/GYuyRh1udS4hBiT/8jpItP9JSF1qFeV8s5Km5tUCsK50uhSdGnxmPVginaB2gvPJHP47SeR+ion5+JV8FoxB4MtAhXV9AbgYeH74WLhvQciY3gpEsXTKKsNpQcpLW2kxMPu49duXEQ7E8G1IYmUE+TxWWnqRjpCG4ERFK7hzrxKntob9gPV56rsv0a4RBY1LvGqdHGYbfwv6e0aSpXBNvLsUqdrGo57aPUXUrxIYtM7Sk574LTK++9DPzkd9YP5pMSJqtgCtZ9DMynrRyZfpIWSkFUqygGP0oKgdDIN6S3voT/iaWr+odUZLHxpEhReiqB+SwYA8SGrqL4fN9USWuuC5Zgdo4zu+vAZ8zbdm45OzFZzt/610yUZU8NEgU9psePlndl6/oDDfPh07EGkt6O0RVsy15KO82xiubKMOaL+sOO9BdZAjWCcJAk+laJ27jVovyMFee447sCxruy7sZ4I55FRBc7kiBlz0gqj/qoxSMu9qdD+2kLUtqEgBstkmCbBdnrG8ZOd8BOtkV5wk6Merr4hvm8GitXxXDLtLxbQyHZJBplLPrM3osZMe40kziEiMWlngjJUFjJCNCHNVXgcqtEivQdxGzU6ToEsi021EZ3dsfF4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB2909.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(6506007)(53546011)(5660300002)(33656002)(478600001)(8676002)(38100700001)(52536014)(66446008)(4326008)(76116006)(66476007)(66556008)(64756008)(66946007)(9686003)(8936002)(7696005)(83380400001)(110136005)(316002)(71200400001)(2906002)(86362001)(26005)(186003)(55016002)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?U1lUaUpoTmN1dFF6QTNQUlVtcGJBcnVpUGtCNlFBdDJtdEpuekZPallZcjdz?= =?utf-8?B?UklQZ2pmSUdFVGNrbENHbUlDaFRpRG00OW5PUHJXN1F6cG0yczRIMTk3MFds?= =?utf-8?B?cXhIWU9DM1RYVzFEZnNyd1BScHBHeHFPWHU4dEZIVnRoRzlZbDN2NDVncmh6?= =?utf-8?B?SlR1aGx1ZEZZczZOWTdvMXpraS9BRmtyUlRjUVRQWDFlbm5TMGFrdHBJcmNB?= =?utf-8?B?VHdLbExBelF3L2crb0YvU3V6OGcyaEVjSzNxSC8vcmNrN25RZGRiUzVRRFdy?= =?utf-8?B?eWV0aXVvKy8yRy9ETFZIM1FVbDE1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VOZDN0ZWpML2dka0wzdkRFb2k0R0FrK0lCMWR6bjBX?= =?utf-8?B?T0N3Q3JzYWhPd3NqblFiUE42Vk9lSFV3MHRsRzhVSTZpSzJXUE5SS3lHUm9Q?= =?utf-8?B?S3BKUmdmQXV6bDZTNTFRZW5pMGZKSEh4ckFGdFdIVG1Ka1QzcUVSaWJrZ0F1?= =?utf-8?B?SThVdDZ3KzFPRkRsNVU2eVVTMDNsa3k0djZxWGJIeFBzZGpLRjBxS0FsSklr?= =?utf-8?B?L2xzNWRhZ0hYRGJRRHlndnpiUElJVXU4bnkzZGlCTHBWRTNzanlKQXBNKy8v?= =?utf-8?B?N1FRRkdCNHJMbUd5WEllVnIxL3c1bmxtQ1JUdmRVd2h6aW1RTWNzOU00OEJG?= =?utf-8?B?UnZjTlpXTXpRYlJYQUFwYmI3SExsb25YcmhkN3FyWGlKZm5pQU5xUWsrRXRE?= =?utf-8?B?SEhxSkszamhZU1g5OWNWd2NoSWdCSjF6OTJJV1JIWkRwbE5XMStPQi8vbXlo?= =?utf-8?B?NjZXVmRRYk5BZ1U5NEcvYkNHNGJOQkNWd1cvQ2E3K1hXVUFXQlNCaWRwRzZX?= =?utf-8?Q?R63CBMQ/SDhrwGYFxKoFIQxFbA1nj57qAT9jmps?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB2909.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31a878f1-f0c3-4e76-51ba-08d8f8db705f X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2021 09:07:43.8187 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5bKDY6YR1QfDX0BhQMA8YC8Xpkihl7Gz5qTI1EpPBWkgp1VcDuNBRv+IimHw4prJ2x4YiN/mFLFnYst8IaWuuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3117 Subject: Re: [dpdk-dev] [RFC] ethdev: introduce action context APIs 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 Sender: "dev" SGkgVGhvbWFzIGFuZCBBbmRyZXcsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4g RnJvbTogQW5kcmV3IFJ5YmNoZW5rbyA8YW5kcmV3LnJ5YmNoZW5rb0Bva3RldGxhYnMucnU+DQo+ IFNlbnQ6IE1vbmRheSwgTWFyY2ggMjIsIDIwMjEgMTA6NTUgUE0NCj4gVG86IE5CVS1Db250YWN0 LVRob21hcyBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47IEJpbmcgWmhhbw0KPiA8Ymlu Z3pAbnZpZGlhLmNvbT4NCj4gQ2M6IE9yaSBLYW0gPG9yaWthQG52aWRpYS5jb20+OyBmZXJydWgu eWlnaXRAaW50ZWwuY29tOyBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtSRkNdIGV0aGRl djogaW50cm9kdWNlIGFjdGlvbiBjb250ZXh0IEFQSXMNCj4gDQo+IEV4dGVybmFsIGVtYWlsOiBV c2UgY2F1dGlvbiBvcGVuaW5nIGxpbmtzIG9yIGF0dGFjaG1lbnRzDQo+IA0KPiANCj4gT24gMy8x Ny8yMSAxMToyOCBBTSwgVGhvbWFzIE1vbmphbG9uIHdyb3RlOg0KPiA+IDE3LzAzLzIwMjEgMDg6 NTksIEJpbmcgWmhhbzoNCj4gPj4gVGhlIG5ldyBmdW5jdGlvbnMgcnRlX2Zsb3dfYWN0aW9uX2N0 eCogdG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