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 7F860A04B6; Mon, 12 Oct 2020 19:46:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 35D361B673; Mon, 12 Oct 2020 19:46:53 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2052.outbound.protection.outlook.com [40.107.20.52]) by dpdk.org (Postfix) with ESMTP id C1D7D2BAA for ; Mon, 12 Oct 2020 19:46:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EMY1W1jO2gK4ktjn+SkqrgbiSaPsUl3vA3PY30Qlys6imC5O0OBZNSONmoMzeu0iZS0LiY8V8qoxsa3W55biSNWVQ27IzGo45s1hLjsj0z4LeF+AaVi2UpV76O4D/Bkek7eIussLujeTyT//9Cbi7mjk7fEDQ7Lvq3/wC0G5+tVbRZ9gTwxE/TOM+U96ZFwDMcP2vINe/wkMWkLoXxXZ+FXITcQgjzTG60mevD0ObBZE0g/3dA8v2Ma/t6i8mnwXro5S6Ir8q3QEZHnB92CI6cNM4BRy7uyFJYA0r6kdOJbU7uxWQrQZC5cC39/ZZdanthLsi3+RDQpCyLlzQcM8/w== 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=sJTpuq+oRgFeSUQS342pzWXintdvooWRrp66KKzwmfM=; b=oFc3du6t37v9HHAAs9KVIptoAH6owgPVMAeprcGwdCmrgRhIeTzL6GS63qhbDTt7LQOU2ZED78rFnqnly9xxuyh3xpQHIPx3O5Nyw5avIm07wDvw5xT54rDN+HHYzVc+HIVz19tKDy9VDfCEF4lwKhweG9ZX8DNtuh/AjFUu7o7S+MA47RKiUIzhmjFijJeKfKkxD1UBszp8kr7/iTJzvNNtcnwP9Iw58WBMeRxlEgBMS7Xa+Ex6ONxqeH+C5R9OSCT30CrI553l7YRDVqWfIw1iA0GtH2gm4SPCvIa+LSsls+4R87v9UtupjmeBrOv2bTCuP/MkbQTt44bC6MA75g== 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=sJTpuq+oRgFeSUQS342pzWXintdvooWRrp66KKzwmfM=; b=bh6i0wQf2lIjZXaPmjHB5+xbmsYszxII/Z/zAG+pEtsl2outOTqe0RQf+RMTlWJyPvZkAwzr3Qfvihwr37zeN2gib96qdycnNHn1TFK+YT8Lg1oTibOoUzlYt7YqwLztoCbaJ89mSl3iX93bui3Zq9wEmaIQV7BFx1pLp8EaWOk= 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; Mon, 12 Oct 2020 17:46:48 +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.030; Mon, 12 Oct 2020 17:46:48 +0000 From: Akhil Goyal To: "dev@dpdk.org" , "david.coyle@intel.com" , "l.wojciechow@partner.samsung.com" CC: "thomas@monjalon.net" , "mdr@ashroe.eu" , "anoobj@marvell.com" , Hemant Agrawal , "konstantin.ananyev@intel.com" , "declan.doherty@intel.com" , "radu.nicolau@intel.com" Thread-Topic: [PATCH v2] security: update session create API Thread-Index: AQHWn1JTOgwyExapNkOtyVmtD7EGlKmUQEmw Date: Mon, 12 Oct 2020 17:46:48 +0000 Message-ID: References: <20200903200958.28025-1-akhil.goyal@nxp.com> <20201010221124.6937-1-akhil.goyal@nxp.com> In-Reply-To: <20201010221124.6937-1-akhil.goyal@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; 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: 52f27c7f-6b94-48e5-5afc-08d86ed6cb7c x-ms-traffictypediagnostic: VI1PR0402MB2752: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wQv10DGWGDtroHSyn2gVGy7wg/hNGlysrUa4KMu8V3GZeux7glOFJUxaCVphnap6+BpIUCd/ITU26YHn15zel2cpcIebrUpbjzssfQ1SVizdHQXvsSI7nOWXt1C4sn45g27TNFz/wP7Hfe8BXYD4sAi38URNio5FV1DT2XJDyZfpNXOxtS3KD6aB80Ae172jOK/M4o2M9x50JzIfo3xdf856mPREMvNKxJInFLAVYKuN6CU9BE7c/81ug4Cde5xirGnyRZnJCIdQBpwb4fLNfapHCkvCqtq2VbyH7zg+HiY+YYbLSBn9s+PFTtrWhpZ77oC1bP/bcYIK0g2QDXDLtQ== 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)(346002)(366004)(376002)(39860400002)(396003)(136003)(4326008)(7696005)(110136005)(54906003)(52536014)(186003)(26005)(4744005)(9686003)(478600001)(8936002)(2906002)(316002)(83380400001)(71200400001)(64756008)(66556008)(66446008)(5660300002)(44832011)(86362001)(66946007)(76116006)(33656002)(6506007)(66476007)(8676002)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: rDdkj7PbroMCDqaHJYF06npYIgJs3unmuizcoUk/ileOHg7col505UtkweJdgMGkARtADPrlSgA+q7df001KBeOYnX4YbK3Tmm2kTpU9adx2xdS3tioknv/u19ric1/qzz9ShLvxsTC6HNgzs2vJM+/C6RrBaiLX3qdm61yPDU06UEYOYCCL6w62LQ/Zy0qOojRAnRI00KkILw6BKW8wraOZosycbgSVflPb80MuRgQjCUjDIioSTixdiyhzahYwPBtYrgB86KrhshplWOUL6RB8GtST8F0URnriuKuOInjZ8jwU4wMlD3vL07JbiqJbIQyLfz0LkDrnG3e8X68xClvfAsUWx9Gh81B88VZhaEo3wLcukwIRXBJ/YsMJi58aj02YOujcVAKizlwqRFzbqxZV6oi5WVEQaw95D+1U/v1PQkgoFtwx5PR806xk6o7knZZoFzHrVfVjcQ+6xhVyR+o4CzLa0WZ1UYg1JT3jW4DlIlXjWveoOcpuQmG58Bwy5z9QpoXQaTGdwDiAGIyR8we1t1mxtGdvTiNfGR9X+UqTb4ejs4pQVBLuLPpZ5ka7b1YvaQweNKtSYtpMYsAd1EZg1N9sEZujIzHXa+r08tcFeYZczrOlK7vAfO313Phwcgb9RhZf3AYETm8QQwbwyw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: 52f27c7f-6b94-48e5-5afc-08d86ed6cb7c X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2020 17:46:48.8216 (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: yGXRO72kyoPSndG8lwFlZymVYYEIYSQ8Zc7RMJm92cU2CrwuKdzWGw1sWpcTeQUDc5S80ILVhPEzxd95jyk6Yg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2752 Subject: Re: [dpdk-dev] [PATCH v2] 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" >=20 > The API ``rte_security_session_create`` takes only single > mempool for session and session private data. So the > application need to create mempool for twice the number of > sessions needed and will also lead to wastage of memory as > session private data need more memory compared to session. > Hence the API is modified to take two mempool pointers > - one for session and one for private data. > This is very similar to crypto based session create APIs. >=20 > Signed-off-by: Akhil Goyal > --- >=20 > Changes in V2: > incorporated comments from Lukasz and David. >=20 Hi Lukasz/David, If no further comments, could you please ack the patch? Thanks, Akhil