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 2FC97A04B1; Sun, 11 Oct 2020 00:09:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 000FE1D40B; Sun, 11 Oct 2020 00:09:37 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) by dpdk.org (Postfix) with ESMTP id 5DDB11D17E for ; Sun, 11 Oct 2020 00:09:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HzBgN9icbiArOlbbj7ZwXejwx4foPJXwv48PAb6EpyjoeUptFMYjfzM1UR12AdBaCl1xTztk3LI6wa0ZUfCc8BhokyvGw7HnAKgK/dR8SGsWDBqjcgV3kVIN69tYZkBRix16auX/sNpocTDoo3+4Zbt+wbjdzRqVvLiIIGoB0vfaff6taxD/Vww/xwjql1U3pWNgPIE44JZZqROUJNP0KT1FWqmo/PsKOFS+nlrWzkuJt4Cj+YhHUqMB3QyQmZZ2UV82eayKgT7a32fQU7zFfC4xsGpq0NcUp2cHvwB5BG4F7gHO+Bg0XMiy5GvGBp4LY6ltx88KpQsGAzWo7MRkmg== 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=Ktq2Di/w9M0k4/xdrbKGz9xV0gSjVqSA833MCbB5CKQ=; b=dcI1pOZJKUaakyvUaXnEYWeZ728ChoexgJ3cI1qWgDK1dYqXZE0IwAdhewhOu1NsX2yyBd2YcpXzSZbdoZTmHcQxFIVu0OAX3BOu2IQPjLzTKB8//8e46nh1GrWqD5249ZjN3acC6u1kCZBkGxTykxrICTOQZW3Mfr3RHJV1ceh5fD8wGEmjk8sBtA+59/38G4QE7jBmQVNT+0H1Hgk94EQ2bHo5bKcNjngMKh0hJ9bn27odeB75P+hcevEO6/9gdJ1J5u/b9ot5ydg1g54BbaJfz7Xnt/Zqghajb9t4fAcVSbczy0IgqroO9gl/xKE9Yhnb67u2tFYUrtQYpbLr7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ktq2Di/w9M0k4/xdrbKGz9xV0gSjVqSA833MCbB5CKQ=; b=RCQKM0zS2njYhVa4rqVKL039KdWuQx5Lqk4zVXh5RXO2kkY1ul4JNr8ogi/FlCNbCK8bD7fRTKPMM0T8FYRMbtgoOtUBrjWQu8blPXwm1BU3XH9r1bqPe/0fY+ssxLSenuBtxnolo6oAhiT8XcMqmpW9DsOZ6xbxeUAz99drkrk= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR0402MB2752.eurprd04.prod.outlook.com (2603:10a6:800:b1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.24; Sat, 10 Oct 2020 22:09:33 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3455.028; Sat, 10 Oct 2020 22:09:33 +0000 From: Akhil Goyal To: Lukasz Wojciechowski , "dev@dpdk.org" , "thomas@monjalon.net" , "mdr@ashroe.eu" , "anoobj@marvell.com" CC: Hemant Agrawal , "konstantin.ananyev@intel.com" , "declan.doherty@intel.com" , "david.coyle@intel.com" , "radu.nicolau@intel.com" Thread-Topic: [dpdk-dev] [PATCH] security: update session create API Thread-Index: AQHWgi47pud7Lvi5P0KvZAQ+zHhWTKlYpbGAgDj5PAA= Date: Sat, 10 Oct 2020 22:09:33 +0000 Message-ID: References: <20200903200958.28025-1-akhil.goyal@nxp.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: partner.samsung.com; dkim=none (message not signed) header.d=none;partner.samsung.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.231.103] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 4fcbf2ea-1b2a-416e-2e0a-08d86d692ade x-ms-traffictypediagnostic: VI1PR0402MB2752: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3c907AhWjPM3Bl67IS81l2Hii5OhvqZeVAe+aKHkEokdYL9jHuLiKNRwwKvsXnBX3r0eAIXx7WNwPWWV0b9i7dxFpz5vnrujBYlzryyUP0wCat9N/bpLcQ+Wt+ktk1qb7MfU6wsrnuEBojgRdxAsz6XSvrBjzMS6r0Mxxa9FEakNSsTMmROrvkrNUk21QD4MD/YS0E5Y4xwKXRQ0Ab8zrT4UpGhIT0TSy5/mEDNa5CZhRjwqmHs5+c7fUJ3/EVGW4Ye938rb1ZEmY/F9vG7CT18GS56qeYigt9ux+Is+zSfDPdNcylSesszUnbwUDwKNaC/zGgjOu2JgBZdJVFEy1Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(396003)(346002)(39860400002)(366004)(33656002)(26005)(86362001)(5660300002)(186003)(478600001)(66446008)(64756008)(66556008)(66946007)(15650500001)(71200400001)(76116006)(2906002)(8676002)(66476007)(44832011)(52536014)(4326008)(83380400001)(55016002)(110136005)(54906003)(8936002)(7696005)(9686003)(6506007)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: hoAx/RW1BOd5/zw4iD3cYEKNAfZvz1g5PNeL3xHg1r5/711hSKzYkTG9r5Xaoh9VltUYe8FSA81lKe7DoFA+/qeYk66RQT8SWjQFJJXvMCj7jV113IbdN1TJO64VvLZDigO8sZ7AQxo0Z/7V/Xe6wOT5Mf0eKEQ/BPpT05qJeVhMAANU8FPTfWt6A2GUedgV7BIpxvzDIvQnc3km37QOLsXUD3aQPWjxcj/Nk0lUCoIBJ9PR0Ms/abPtj+LSGb7F96fOFDjAcM6+nYIaHewgGHddXdqtbKFpUd1qUJrsjDKS69qqu6BnbaeupxfLsoFcmGzqV7j+OHJIYnvV4HDDZ3SWMkoQAz33JnIWKd/9VdbuWyO0NjFLy7Ypu1C6R3YgFObWhYCKBzznKGckKGOvxPlCWWgZsHv/FviGs8/PYfGlLa5uUMPGto4Kh+k8LCL67uUyBHvdzFBQOjwy7u/Wc18CzIUN2Dfxx7mtzAV8vLxiDsBi3MqJzKIYYsHPpWnKj7oCHj47nihFP2tP1yTmE/Eo93dDqeM3B3BL4/jbxYJMy62yRX99SxsAsczDrzYUoGS+BEEpjuZWqtGdmhjccIxfPWqLP2D+9L2UyRJx1xjya/tytfa5qjKsGUpTbrNlMOUgSbTmVMnjm4CAnhFr0Q== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fcbf2ea-1b2a-416e-2e0a-08d86d692ade X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2020 22:09:33.0343 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CGd6tK06kwVkTLL/DVSHDQV/eZ9oTO86iPTGrfUR4Pp4Qhrt5ZVlQLDv54bU5MAcHz6YTDIruNNPjISBYyJ1VA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2752 Subject: Re: [dpdk-dev] [PATCH] security: update session create API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" SGkgTHVrYXN6LA0KDQpUaGFua3MgZm9yIHRoZSByZXZpZXcuDQoNCj4gPiBkaWZmIC0tZ2l0IGEv YXBwL3Rlc3QvdGVzdF9zZWN1cml0eS5jIGIvYXBwL3Rlc3QvdGVzdF9zZWN1cml0eS5jDQo+ID4g aW5kZXggNzdmZDVhZGM2Li5lZDdkZTM0OGYgMTAwNjQ0DQo+ID4gLS0tIGEvYXBwL3Rlc3QvdGVz dF9zZWN1cml0eS5jDQo+ID4gKysrIGIvYXBwL3Rlc3QvdGVzdF9zZWN1cml0eS5jDQo+ID4gQEAg LTIzNyw2ICsyMzcsNyBAQCBzdGF0aWMgc3RydWN0IG1vY2tfc2Vzc2lvbl9jcmVhdGVfZGF0YSB7 DQo+ID4gICAJc3RydWN0IHJ0ZV9zZWN1cml0eV9zZXNzaW9uX2NvbmYgKmNvbmY7DQo+ID4gICAJ c3RydWN0IHJ0ZV9zZWN1cml0eV9zZXNzaW9uICpzZXNzOw0KPiA+ICAgCXN0cnVjdCBydGVfbWVt cG9vbCAqbXA7DQo+ID4gKwlzdHJ1Y3QgcnRlX21lbXBvb2wgKnByaXZfbXA7DQo+ID4NCj4gPiAg IAlpbnQgcmV0Ow0KPiA+DQo+IHNlc3Npb25fY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