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 AC606A0546; Wed, 7 Apr 2021 08:11:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B963407FF; Wed, 7 Apr 2021 08:11:39 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2085.outbound.protection.outlook.com [40.107.236.85]) by mails.dpdk.org (Postfix) with ESMTP id CB30F4069F for ; Wed, 7 Apr 2021 08:11:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SKeJKE+8uL22gQ1D+H3r4UfqGwaIrGBWySb2DG5WjZplzAMWSSz1oK5gtsPJInM+pa1erKV03llrxwqJEotToQ7n866VbtYXTeM/3/huawSjbQBkmTKIa7g/URGbCo0Z5CT8y0VAaZ7AuhL5A9S/GGNkPZ5Eg0lS4hcuPNdSij6IOLZ5CoAkU8MteESdtHon96RjtMyH3BeJiEMnJdXfjNoeEAhS2HmjcHK4ep+LnVFfYY7zIipwWLBQaqCyxuMPsLMHa1DjNuiasbd0Uo74J0s5NH929LPzc7pOjvF5MiJQf0nuWV7iYd/lvoXbKJd1FDRbSLOWxg2/lJHGfsPlFg== 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=Ff5teFuKPDv6JgYq/AuCJC7TGi0MBkmhGVAbwczCh4c=; b=h7WCbr5v2qCeXs2Nf53fFrpg1hfKffQ+nXgxlFqbJTr/Uc7nrmddhW7HoX/aYMp72qbOydJUQc58EIHOvQc4qNeyRln1TIrfI9JlImjSSnyJ+rVqDHPU1H59p6pfd5p5zeVVnz7wvJCddOtxLFsNQ3GeIz1BtLXRWKkl3MNNz18SNO89j+VyWzQhEHak0OUPJJ94FakKutBM07aCXLpnLbNJEKVOTSmyHU+VAhswqWO+Zgu07p7OSY11U6NejNqHZ+GbkdDm/Dv0xufrOjapEmsjV4uH/pxMdbamQB+5bbSxI2M0k8kNeEEgDn1JWHh4X6wmON5yxH7BBtZnsZuwZg== 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=Ff5teFuKPDv6JgYq/AuCJC7TGi0MBkmhGVAbwczCh4c=; b=Sk8VlsfrqdDCpam6caU0DIPDs8YYJgsnUSc77W6H45rWGA/19kX8nLSIqXjT0IVvwxK5l1LzG+C2zGfvp96SD4m52IK4TO6exPp6+rLAGwUdLYYBtMUdS7/stSikvMnWsAfMM4/qgAGGGtY+euQiCqKgoyJDQ4DGbULkJJK+++uxicRyqAnYh//ULt7ZIJPkQryvqkViQM+ddnbLLc3v6E4L11X5igfoBFecqhLoppyY2u1zR7SFES8V9xtblNYSIs39afpuPDYhxwj8BJjNiCJ5aRZwSMF6aDlbeZoSU+tZTwa0CY9JKH/IuM6anlFIrJEjkEZXmkfTaKeanfZeRw== Received: from MN2PR12MB2909.namprd12.prod.outlook.com (2603:10b6:208:103::13) by MN2PR12MB3501.namprd12.prod.outlook.com (2603:10b6:208:c7::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.29; Wed, 7 Apr 2021 06:11:35 +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; Wed, 7 Apr 2021 06:11:35 +0000 From: Bing Zhao To: Ajit Khaparde , NBU-Contact-Thomas Monjalon CC: Andrew Rybchenko , Ori Kam , "ferruh.yigit@intel.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [RFC] ethdev: introduce action context APIs Thread-Index: AQHXGweOxhV9biVSf0uN0t84s4bJAqqQIHcAgBcxnFCAAAvIAIABJOOAgAAuJVA= Date: Wed, 7 Apr 2021 06:11:35 +0000 Message-ID: References: <1615967952-228321-1-git-send-email-bingz@nvidia.com> <27c5c98f-b29c-d8a6-d3f3-05fcd41d5a8a@oktetlabs.ru> <3094400.VKgfFvgXnU@thomas> In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; 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: 599b4736-698b-4ce6-bd50-08d8f98bff96 x-ms-traffictypediagnostic: MN2PR12MB3501: 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:5516; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lJRPhLr+cw0EQewrtgQpOo7AHeRhy6XphkeAScYvoAQiTMe65yMItWJ3leEF8hxblFUgOAiBpD5SOdynwxprVkA0e+2L0FHCAX+GpFUbq4NoNxaTQ3hgYhBxOfVab3W3mvJYDjsLFjo6SfDxO4lNGi5v4MzctgOxJCMlpy2aZ65kzYs1R/baYN9ijdqpgtZLd2LqO4YUYTkVa9TsQ0NzKuKmy5NOcgQgL8cEFr7nBzskPejkifyftCFUEPg7VOSN80unZOtiEIxnYxZ8r9lSBL5Dj1R0MK3If2apeISMewQ7ZgQKxJB9pftFssywqEAoJKvqLfWkMv1MLSodG+n78VBYK5eIjC2r8GMl2tQDWBYF87PpjKmhGaxqwtI7zNlzpjkGWMv+IllRqH4JVum6N1By1iB1c6C8dpm554rzHJAGRNVw4tmOi0p3C+5+q1Oi4OZUwLOpoicOfD9/6rhIyQ3jbVJmLouSmR2OJXu5F88loTNj/1nO3BrdQUofle368ynZA/4CPiDG5hRM9vU47Wjo1jb01StI52BR5qj4/vNAQ7ItV4du7WvnVC8rFymamlReAbejd/53LY0KvedPy3j6gG0nZGahmnYezQxNH3GPLt+9X9N5PRNrOQQHlYWmu7E4MZsyprrElrXYMXsYlv/LjzgzPa+Mar3C/NSs/SCSs9dawk9eP4Ro1TrQ6dp9nHDLBdeAOJCtt6ExOdBGmekA6O3Bh2W7S5A/L6V5d5s= 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)(396003)(39860400002)(346002)(376002)(136003)(366004)(86362001)(45080400002)(5660300002)(7696005)(4326008)(66446008)(53546011)(71200400001)(38100700001)(66946007)(26005)(55016002)(83380400001)(66556008)(478600001)(316002)(6506007)(186003)(8936002)(966005)(52536014)(8676002)(54906003)(33656002)(2906002)(110136005)(64756008)(9686003)(76116006)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?TFN1eUl2enJkeHV2NzVnSU14bTNMRlhyWGZGYllPdUZnSkpQUDVzaml0SHgz?= =?utf-8?B?ZlBOcmlOMnhrZ2tiL0VhUlN1eS9xSXBScDdVdjZIaVdxeWQzek5FUVpCcjhP?= =?utf-8?B?RVlNdmwwckpzMGJXUDJEK0cyb3FTYVRZV0JJbVdRckV6a01jb0JUb2xrZk9h?= =?utf-8?B?N2x1ditGbVcvcEZRZGd4NHg1TXprWUNndE82Y0JlcUorRWV2V3U2NFYzRlRN?= =?utf-8?B?T25mMFAxblIyVVpsS1prdHFOMDcra2Fhd3N2NFNndlo5aX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qZzlqdlhhYmIrYisrbHl5NXdDbHJoMlIrdyt0?= =?utf-8?B?YTcwcDNmVFYvS1NacFZKTUpNMGRJSEk5UWVFNWhETUx4RTBYL1NyNFg0QWor?= =?utf-8?B?WnZBMFFwazBEM09CcExPZUU5aXRQNXpHOVFDL1hvSmRLMnhWOXhRd01BTGs5?= =?utf-8?B?by9WaUNERXlzM3Zscjl0ZmhMNFlOblo0Wm12N0ZYb2xyWlVkdWRWU0hFb3JN?= =?utf-8?B?OE4rZzM2bm0zdy9WbE9DSEo5Q2toMjM3MTM1Zm1Fa1NjOXJybnVsSStaWU5x?= =?utf-8?B?R0dqYTlSbzdreGFDVmtyOWhzdTlML1ZNZ1VhcFZhNXQwRUo2K0s5Y3J2QW5V?= =?utf-8?B?UTRuUlpyRzNrQnFKcStiQVllUEFJc3NzMkIxSm80aCtYM21CUk5QcmtNTndj?= =?utf-8?B?aHpYWTJ1REtpZUlOYUFPVGpuK0dGei9RR0l5a3EyaXlJNTErWlRJOEx2Sng4?= =?utf-8?B?V2tiZlc5Nmt5eFB2QmlOVzRDQkZVY0M1MCtDRlJLdlZFdVZPdE1BekMzdnhG?= =?utf-8?B?N3NaNXlOc3kxRzhINWluSEZGSndXRVZvZXBtL2FOSE5uaXMzSGk0STMyM1Nz?= =?utf-8?Q?rfZfgUT4s1fQTx4HSjIwiQWQQukWevkeIuRzSnw?= 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: 599b4736-698b-4ce6-bd50-08d8f98bff96 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 06:11:35.4225 (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: lcY3oGhvKXTreRIF1sVOGyYxGejcFRAwBdJ5BKihHTeuvDC+yaBFMMtjFvdW8V7SwyhgMzs/6ycgYW6L/Nii2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3501 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" SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQWppdCBLaGFwYXJk ZSA8YWppdC5raGFwYXJkZUBicm9hZGNvbS5jb20+DQo+IFNlbnQ6IFdlZG5lc2RheSwgQXByaWwg NywgMjAyMSAxMToxNiBBTQ0KPiBUbzogTkJVLUNvbnRhY3QtVGhvbWFzIE1vbmphbG9uIDx0aG9t YXNAbW9uamFsb24ubmV0Pg0KPiBDYzogQmluZyBaaGFvIDxiaW5nekBudmlkaWEuY29tPjsgQW5k cmV3IFJ5YmNoZW5rbw0KPiA8YW5kcmV3LnJ5YmNoZW5rb0Bva3RldGxhYnMucnU+OyBPcmkgS2Ft IDxvcmlrYUBudmlkaWEuY29tPjsNCj4gZmVycnVoLnlpZ2l0QGludGVsLmNvbTsgZGV2QGRwZGsu b3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtSRkNdIGV0aGRldjogaW50cm9kdWNlIGFj dGlvbiBjb250ZXh0IEFQSXMNCj4gDQo+IE9uIFR1ZSwgQXByIDYsIDIwMjEgYXQgMjo0OCBBTSBU aG9tYXMgTW9uamFsb24gPHRob21hc0Btb25qYWxvbi5uZXQ+DQo+IHdyb3RlOg0KPiA+DQo+ID4g MDYvMDQvMjAyMSAxMTowNywgQmluZyBaaGFvOg0KPiA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