From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0046.outbound.protection.outlook.com [104.47.2.46]) by dpdk.org (Postfix) with ESMTP id B87D41B3BD for ; Mon, 29 Jan 2018 10:27:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VVrlfQocdZSCh4w2Pl6UacxptaOa/FJAVqBA8hSjRA8=; b=xhByCdEV/z+jei+btxO0JgKtcaHO46F16BTY9xrhuHpceFAnp5kbWFcqwBJ3/+IxaLqd8XJS3p4SHK2mSOdfw02VT1Nl5cSTV1pyjs0TT42i6pLp2uQLTWrm2QahpDHWqrJJeVP2ep4lcXUExFfKl21Dby2lv7joMFvdsT6qewE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.49] (192.88.169.1) by VI1PR04MB1390.eurprd04.prod.outlook.com (2a01:111:e400:5348::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Mon, 29 Jan 2018 09:27:02 +0000 To: "De Lara Guarch, Pablo" , "Trahe, Fiona" , "hemant.agrawal@nxp.com" , "Doherty, Declan" , "Griffin, John" , "Jain, Deepak K" , "jck@semihalf.com" , "tdu@semihalf.com" , "dima@marvell.com" , "nsamsono@marvell.com" , "jianbo.liu@arm.com" , "jerin.jacob@caviumnetworks.com" Cc: "dev@dpdk.org" References: <20180126090355.25903-1-pablo.de.lara.guarch@intel.com> <348A99DA5F5B7549AA880327E580B4358930FDD1@IRSMSX101.ger.corp.intel.com> From: Akhil Goyal Message-ID: <11c5bfcf-acc4-a9a6-dc0d-910c608a708d@nxp.com> Date: Mon, 29 Jan 2018 14:56:48 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) To VI1PR04MB1390.eurprd04.prod.outlook.com (2a01:111:e400:5348::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7c265d6a-e748-4003-cc9e-08d566fa7911 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:VI1PR04MB1390; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1390; 3:na3Q8GL+MgkPcCpKdSPynAaA2XWNIRuzzGWhJqIPPnLscnQGSP5WudBKTlwwKEZCPTreX3//r7SIAuT96oJi6t687i6I14V257GJCLZS4G+j45O3v0GlUDSpTCznFeFLCVDpzmCPWu+0YOCiTyXSHM4MYVqrDR2bm19HSDYPDY0pLdaW4kZTfBv2c2BzewzhuU1XNENnDEoXEUW3yy0QLSiZrSSs/qP9SNQ/srbMfFeQpoy4DHMwMmDViSBwGw7S; 25:o6E6BM6psS79rr674xSTz9jx+NdqPqJ7zIAjg4svfX9SlNiBaO1DYtKUtk3kd74/nTA9B6sHmpeRmgkOQ6do9KuQooejq4RiWcgB9pv6b2FsDUtjyU+AR01kf0EwJtab4S1qRGIWsFMgz9GW4QHUX0VBUayrbNRnfXHmQv/6uWwGIMsW9K2ARrSFpM7kOi1EAcDAQKH2na81LWL61JgvcZ+MX2bTxFoztcIcWx3eLsGnZsB85/Po9mBltUq7xGAZUI6yzr07xMqLJOy+pNZBEBI2mXlYUMR4GmNbIdQPFtFsg4Ez+Ftmw3G2c8bcbVzm/xMW+opXU4fFLpjGwOnCDQ==; 31:qtFEpTk75Xv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ZDnYfGzpFxNJ9DenAIxJ2Vx3xyNUFkdOcjgy5Dyk0o1K63JRW5nEp6abspK3DITWOpDpB5vwHb382ANS4a9NmxO5QKVDEKKfW3TP6i2jdXw/Rq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3231101)(944501161)(93006095)(93001095)(3002001)(6055026)(6041288)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:VI1PR04MB1390; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1390; X-Forefront-PRVS: 0567A15835 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(366004)(346002)(376002)(39380400002)(39860400002)(199004)(189003)(13464003)(43544003)(66066001)(5890100001)(47776003)(65956001)(6486002)(68736007)(67846002)(2501003)(65806001)(7736002)(25786009)(7416002)(2201001)(305945005)(229853002)(8676002)(31686004)(3846002)(6116002)(81166006)(8936002)(110136005)(230700001)(53546011)(105586002)(81156014)(86362001)(16576012)(53376002)(26005)(64126003)(316002)(31696002)(58126008)(106356001)(2906002)(386003)(186003)(16526019)(5660300001)(77096007)(6246003)(97736004)(65826007)(2950100002)(23676004)(4326008)(6306002)(6666003)(50466002)(966005)(83506002)(52146003)(2486003)(36756003)(59450400001)(52116002)(478600001)(53936002)(76176011)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1390; H:[10.232.134.49]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA0TUIxMzkwOzIzOlJiYjlOaUVybC8rYnV6QTFrdEkzVlFWSlVs?= =?ut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Eeg13O9Kj4eDUdMFaJfxRe/uEA37caV/dnTGmi52WeBYgQ5YE0xKTLU=; 7:VHkZa7FlgDYREv6gp0HT3hg5ySbA9kJfN1Wc1YDHN6uHHUFn2OHRVqNUt/MOt1CU7eejvlMLThK/PLYL2pQ1cJo8gjUuiBLDnWvQZopseGWDvp4J8fUz0zsVUC/4F6qUgXQgPUMQ6vPZxFkkwqalz1jwRWARqss1hKKVue4Rp0VTUc8Qyl5PfOOqEHnl1N6yglg1DCa+Z4X+IUJcsn7v34socbSTMhe94Ejk3C0HUWX/PQhFJ58I7yR84ZjRZWU/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2018 09:27:02.9983 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7c265d6a-e748-4003-cc9e-08d566fa7911 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1390 Subject: Re: [dpdk-dev] [PATCH] doc: announce ABI change for crypto info struct 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: , X-List-Received-Date: Mon, 29 Jan 2018 09:27:12 -0000 Hi Pablo/Fiona, On 1/26/2018 4:38 PM, De Lara Guarch, Pablo wrote: > > >> -----Original Message----- >> From: Trahe, Fiona >> Sent: Friday, January 26, 2018 10:45 AM >> To: De Lara Guarch, Pablo ; >> akhil.goyal@nxp.com; hemant.agrawal@nxp.com; Doherty, Declan >> ; jerin.jacob@intel.com; Griffin, John >> ; Jain, Deepak K ; >> jck@semihalf.com; tdu@semihalf.com; dima@marvell.com; >> nsamsono@marvell.com; jianbo.liu@arm.com >> Cc: dev@dpdk.org; Trahe, Fiona >> Subject: RE: [PATCH] doc: announce ABI change for crypto info struct >> >> Hi Pablo, >> >>> -----Original Message----- >>> From: De Lara Guarch, Pablo >>> Sent: Friday, January 26, 2018 9:04 AM >>> To: akhil.goyal@nxp.com; hemant.agrawal@nxp.com; Doherty, Declan >>> ; jerin.jacob@intel.com; Trahe, Fiona >>> ; Griffin, John ; Jain, >>> Deepak K ; jck@semihalf.com; >>> tdu@semihalf.com; dima@marvell.com; nsamsono@marvell.com; >>> jianbo.liu@arm.com >>> Cc: dev@dpdk.org; De Lara Guarch, Pablo >>> >>> Subject: [PATCH] doc: announce ABI change for crypto info struct >>> >>> Since the API changes made in 17.08, the session mempool is not >>> created anymore in each crypto device. >>> Therefore, there is no need to have, in the cryptodev info structure, >>> the maximum number of sessions supported per device and per queue >>> pair. >>> >>> Signed-off-by: Pablo de Lara >>> --- >>> doc/guides/rel_notes/deprecation.rst | 5 +++++ >>> 1 file changed, 5 insertions(+) >>> >>> diff --git a/doc/guides/rel_notes/deprecation.rst >>> b/doc/guides/rel_notes/deprecation.rst >>> index d59ad5988..5588ba7c1 100644 >>> --- a/doc/guides/rel_notes/deprecation.rst >>> +++ b/doc/guides/rel_notes/deprecation.rst >>> @@ -59,3 +59,8 @@ Deprecation Notices >>> be added between the producer and consumer structures. The size of >> the >>> structure and the offset of the fields will remain the same on >>> platforms with 64B cache line, but will change on other platforms. >>> + >>> +* cryptodev: The structure ``sym``, including its fields >>> +``max_nb_sessions`` >>> + and ``max_nb_sessions_per_qp``, in structure >>> +``rte_cryptodev_info``, >>> + will be removed in 18.05, as these fields are not relevant anymore >>> + since the session mempool is not internal in the crypto device >> anymore. >>> -- >> [Fiona] max_nb_sessions must be also removed from struct >> rte_cryptodev_pmd_init_params > > Good point. Since this structure is internal, I guess we don't need a deprecation notice for it, > but I will remove it in the patch for 18.05. > >> Regards deprecation of max_nb_sessions from both structs: >> Acked-by: Fiona Trahe >> >> If removing the max_nb_sessions_per_qp, then the following functions >> should also be deprecated. >> rte_cryptodev_queue_pair_attach_sym_session >> rte_cryptodev_queue_pair_detach_sym_session >> These and the max_nb_session_per_qp were added here at request of NXP: >> http://dpdk.org/ml/archives/dev/2017-March/060740.html > > Akhil, do you agree on this change? > We recently did some changes in the driver to take care of the dependency for limit on max_nb_sessions_per_qp, but it is not removed completely. We will need to look into this. But sending the deprecation notice at this moment is fine. If something comes up, will let you know later. -Akhil