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 5FFD4A052B; Fri, 31 Jul 2020 11:59:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 091C7262E; Fri, 31 Jul 2020 11:59:27 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 817F711A2 for ; Fri, 31 Jul 2020 11:59:24 +0200 (CEST) IronPort-SDR: tPnMQ5ALC6kP4YS0+lnDuFve+vw8zkf6KGa3rvZtzz7ylwXR5cWUFWjJhADzG7HhfowiAQMiYm qA0TCA3ieaLQ== X-IronPort-AV: E=McAfee;i="6000,8403,9698"; a="150952195" X-IronPort-AV: E=Sophos;i="5.75,418,1589266800"; d="scan'208";a="150952195" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2020 02:59:24 -0700 IronPort-SDR: xc03aM8N+z+jpnEDwUDzIVHq+S2DPVI7/LFNe7gnNwXC25DAFDwK1Xcqbf5qSujEQ291LuruEu 0WdYe6RJvQlg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,418,1589266800"; d="scan'208";a="491437686" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga005.fm.intel.com with ESMTP; 31 Jul 2020 02:59:23 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 31 Jul 2020 02:59:23 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 31 Jul 2020 02:59:23 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 31 Jul 2020 02:59:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WS1kFAquCTw0EGk+grRL8IgLhieT92T6J2dGEsq//taQyjjSMSdM2M/cymDEg/02o4UQkluDOP7i6/KZ4fpHeHhn93gSroH7YLEv4/4wIO5lbgtxqK8+M9SJkPvSVYRGNaVWlC8HsOuH1DGf/1pdq3iATFyhVm4ohk0rqgQoUsRj9a+RF/BIRQmKZi3gHj7SOYY910RoRqXVPm2ZZMH04lifC9XYxS5rD7uNKTYybJsRwP4+xCDYYQdOZI8BfVsx/wKQ5N5K6qGH4VaKXA2r0IvJp6b+7ivoqKHOx9n+PDzc5PBhCG8mXq9DkPUFnkvXwiSjkIFt2hboupBvAmQa3Q== 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=Lc1TmbDNB4F6qv2EIlVULxQfu955I1vF1NOwJYtXvyc=; b=bJv9CF6GfnzO0EHG/mKgh15I/0UuHC2qz8c3+y7Bp70CTI8/qusIRfIIjvCzMPfF2+Qv9DZXQPiSYKkNMinidhn9r7ro6PLdFiWs3r3xGr+vm/bDRYwZulaTAJAWQMLyrHX5xhbaRbt/oT3XgFFbmzaj7md9qFQWYZkGlrPMY7wFxT+jSMvJ0XpE3dSI9wKVdbAGvYPp/fTp69HdeTeaWwGuaPdS3s37IRkpelbEMkzNK94Zcq71ouxU5qfscVbwzJSnIsiXX4J+G0hwBIgyMzn8Y/HO/wTa4ukLLGGmkoTsly974L1KIUeNnzNT3QCxCAQAHUM9CMCx6wdxlqlWkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lc1TmbDNB4F6qv2EIlVULxQfu955I1vF1NOwJYtXvyc=; b=eCXueGy+q267rojVrbhVmMbWNLGn9yM30ml4JHFOAV7QQrbknLGf2srGhOiCnKSlLjwXdGdfi207y54VesKH3KQENEXO6EIkXdrg9dhP4hnofY17zCJ3R3UUuEsUxnkQo3yzec56Zt9anDJYqsmTMzUEJAooK2TZyqWTI1SSV8U= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BYAPR11MB3304.namprd11.prod.outlook.com (2603:10b6:a03:7a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Fri, 31 Jul 2020 09:58:57 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f43b:a137:dab8:8b0b]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f43b:a137:dab8:8b0b%6]) with mapi id 15.20.3239.020; Fri, 31 Jul 2020 09:58:57 +0000 From: "Ananyev, Konstantin" To: Akhil Goyal , "dev@dpdk.org" , "anoobj@marvell.com" , "Nicolau, Radu" , "Doherty, Declan" , "Zhang, Roy Fan" CC: "thomas@monjalon.net" , "Trahe, Fiona" , "adwivedi@marvell.com" , "hemant.agrawal@nxp.com" Thread-Topic: [PATCH] doc: add deprecation notice for security session create API Thread-Index: AQHWZpTVSsOxt3Fv4kq11GfMQmDBg6khdOQw Date: Fri, 31 Jul 2020 09:58:56 +0000 Message-ID: References: <20200730171330.16144-1-akhil.goyal@nxp.com> In-Reply-To: <20200730171330.16144-1-akhil.goyal@nxp.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmM2ZDc5N2EtYTA1MC00NzlhLTk2NTctNTk2NGI4NDMyNTQ3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTGZ1dnVXeEI4U2JHbnZFeklOeVwvTFBRZ1JVbTlUWEZ1QUk1c0I2NlhzTFhtY1Y0TWxjYzVaR3Yza0lzYnRXRkYifQ== dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-ctpclassification: CTP_NT authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [95.161.223.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1448a650-a110-4fce-2632-08d83538578d x-ms-traffictypediagnostic: BYAPR11MB3304: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 46Bgm0PCI4DfaR9nyL6mzj2oMBC00oZW2vdM1U9mvEMTgrhmOeW0ewD6xQ4rM/HWc7VHdOsf0LhYlwmvI6fyMlk4QeLysX/djrc3vVT0r/x+DUWNkdWei2m6Rgx+7kYkGFXCYL5jC0LcbmXc3oG3IAE16UschJ6aS8q9biJ3GXS8psTNC4IYH0ThOUlA04x6Fd9pkZeTsfSxY1ZbZuEf4PXaROwvhwffl8MWM7XY48AxnUa2nV0T3z8A9HdArKAhSZfGYbk9zqo0I4OCZrKKJJsDdIo5PSj52xV31xa9FFKZhN2fw6ELfiGH/0Yq+pHP9GpPOe4nI0mg9rshofU6DA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(366004)(396003)(346002)(376002)(136003)(33656002)(54906003)(53546011)(4326008)(6506007)(6636002)(478600001)(186003)(8936002)(52536014)(66556008)(66476007)(83380400001)(64756008)(7696005)(8676002)(66446008)(5660300002)(66946007)(26005)(76116006)(55016002)(86362001)(316002)(9686003)(71200400001)(2906002)(110136005)(15650500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: +vtt7UXIxBuZ9dRwP7ZxvxwXg1ewKOozA4uCC8j9s2gMU60Q77NSa6HmpLfLfjsooQZyJgegQy8hMnUrFxohPFQb3n7f2e/USukg47pYgSMcBiA4QS5AhBtePlj4QBGGdarJsJ3IiGWgdtXpykRMIg1q1M54iTH4t1GmPybb3SIyYBqKeNeQ7tBxiTh8MkXvS279GiG3XxiIL6BmYRqjUiluzJG9qQatXH3oHqEMq6yjchYK4uL7FfL6MwxoEI4EJUcUnu7Y9O8TkBjWvAOq3JucZuXrTRp3YHZMTP7bwduvuPjCZPmfMuO93EVIye8NgWPfpsWTQ/qbmAxPSdkGfGTd0FPstFes0OgWHLAV4uTZi5LHYQSh7lKAje/HGoP7wXD1EhanEVub66Ir7d46kS6JfSOINWd0TPGIENaA7+CbqqK/i0aGE5BDMmhWCw/nLTpY8F+ewHTvdlwEVjG6KP1uF4g2cvuxnMyttjT2m4bySEEApN1Tnk67HtUYhVi4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3301.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1448a650-a110-4fce-2632-08d83538578d X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2020 09:58:57.4345 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /Wl9CaQfdVktQlhDE/vjVtjW5ZgSuQS49MJf4JG5FBRg767g/y3ZypHLFQ0t3N6paGwGDUi6ax7v6QpzBJuxsm5VCOfrwVAutNtEqpu4M7I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3304 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] doc: add deprecation notice for security 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" > -----Original Message----- > From: Akhil Goyal > Sent: Thursday, July 30, 2020 8:14 PM > To: dev@dpdk.org; anoobj@marvell.com; Nicolau, Radu ; Ananyev, Konstantin > ; Doherty, Declan ; Zhang, Roy Fan > Cc: thomas@monjalon.net; Trahe, Fiona ; adwivedi@m= arvell.com; hemant.agrawal@nxp.com; Akhil Goyal > > Subject: [PATCH] doc: add deprecation notice for security session create = API >=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 se= ssion. > Hence the API will be modified to take two mempool pointers - one for ses= sion > and one for private data. This is very similar to crypto based session > create APIs. >=20 > Signed-off-by: Akhil Goyal > --- > doc/guides/rel_notes/deprecation.rst | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/= deprecation.rst > index ea4cfa7a4..9ed7b55e6 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -126,6 +126,13 @@ Deprecation Notices > to one it means it represents IV, when is set to zero it means J0 is u= sed > directly, in this case 16 bytes of J0 need to be passed. >=20 > +* security: The API ``rte_security_session_create`` takes only single me= mpool > + for session and session private data. So the application need to creat= e > + 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 will be modified to take two mempool pointers - one for = session > + and one for private data. > + > * sched: To allow more traffic classes, flexible mapping of pipe queues = to > traffic classes, and subport level configuration of pipes and queues > changes will be made to macros, data structures and API functions defi= ned > -- Acked-by: Konstantin Ananyev > 2.17.1