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 1C586A034F; Mon, 11 Oct 2021 16:53:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FD5541162; Mon, 11 Oct 2021 16:51:21 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id B41BB410E1 for ; Mon, 11 Oct 2021 16:51:19 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="224303243" X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="224303243" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 07:51:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="440822461" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga006.jf.intel.com with ESMTP; 11 Oct 2021 07:51:18 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 11 Oct 2021 07:51:17 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 11 Oct 2021 07:51:17 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 11 Oct 2021 07:51:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h5OztMVF8bTrtrO1VJZnjTKJvQFZ6GGyYak9BRPXn7H8NxHSARI5EQUcNq9L8n5yWeXicrmtwZdR8V4CCjUzdSsioTXNbvUQ4EndshB/iNRJqOPNRYPVMochX+k9NTBdDulSec3lQKcxa2QT1WlBN8PpRO18jWw/V2bAZdHLUZkTqjxKHtvRLl6/Ok+ympuHCFsT+2BiTvgj3/PYvh5POYRVDQcW/nzcYiuYl3hR5Kv5sL8EHBJEYdsfNcuPQFoSD83stVyUHg/a67z2bXrZHiejTlnLYn/wfNBYpUTB5a3civ+zeCgBO6aoNL009GDK3IAGEJN1nzoanc+doPwHiA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8PkeEa8D6L4cV5WHOuSSJqILzn5/2HC9z/Ao//gXG6o=; b=kS592YO2fNPlai65QUGa6pN9x2yu7XBlb1+OVLUAziAEZrnAloHy48Z90rF8LLnaXYHs6cdg84p4qCR0Vg4O3ATtD35laqht8BwrSNn5WDcf0KU3XzgW6P3QHCbSshM+Z9FgaV2KchB/bHuZyBsLTwWahZ/GKFr0yijykbaX+WlcxT0CDjU7m+07aGBVWj3XfZVsvgv3SswbsBsbUFZmJXEGvPa8rGvsaYayVzkJEIIf8s2GtVBFVdVyZ1ektnxal9ooRiQG1THFCC7zzhtC85ZKSHm/KzrEauREImke6/SPSRtpCZMiS3L7GkrFU+kbExkGLKCyFfCFAWPP+7aWaA== 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=8PkeEa8D6L4cV5WHOuSSJqILzn5/2HC9z/Ao//gXG6o=; b=KROpmtGRRJyWols8jsNvOdq3KEI1FFe6L9/jxsUTUwqOSwRoYaZU4x25cC8OyPDzuP+YFrRBrY13BmlGzDcD6D0Maz48y/ohBauBm0BtgYYCTMYC87SzNhCNDhErGiMLBjgxXGNeeHY258Jp3NjzHkOVYHInW+I9HZPt/3eZvks= Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by CO1PR11MB5121.namprd11.prod.outlook.com (2603:10b6:303:94::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Mon, 11 Oct 2021 14:51:17 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::2c31:1470:3036:959b]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::2c31:1470:3036:959b%6]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 14:51:16 +0000 From: "Zhang, Roy Fan" To: Akhil Goyal , "dev@dpdk.org" CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "hemant.agrawal@nxp.com" , "anoobj@marvell.com" , "De Lara Guarch, Pablo" , "Trahe, Fiona" , "Doherty, Declan" , "matan@nvidia.com" , "g.singh@nxp.com" , "jianjay.zhou@huawei.com" , "asomalap@amd.com" , "ruifeng.wang@arm.com" , "Ananyev, Konstantin" , "Nicolau, Radu" , "ajit.khaparde@broadcom.com" , "rnagadheeraj@marvell.com" , "adwivedi@marvell.com" , "Power, Ciara" Thread-Topic: [PATCH v2 2/5] cryptodev: allocate max space for internal qp array Thread-Index: AQHXvp2oH/of7lC/4U2V9xrCyMd8u6vN4ZZw Date: Mon, 11 Oct 2021 14:51:16 +0000 Message-ID: References: <20210829125139.2173235-1-gakhil@marvell.com> <20211011124309.4066491-1-gakhil@marvell.com> <20211011124309.4066491-3-gakhil@marvell.com> In-Reply-To: <20211011124309.4066491-3-gakhil@marvell.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 51d1849f-1225-4d2f-4f10-08d98cc69456 x-ms-traffictypediagnostic: CO1PR11MB5121: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8LmNAFlDzfPLOQwM7DF/jprxsolSg8ONT8Vj/c5T0XLJrDw7PTBX7tftBkvJMh32lxOYgYZQZlXshO5s0T6dNl6J8CDCZAr7m/IYGSont+2Hp+j7pLnF1k/XCSR8GEnxATBPHpPSTccasfVqNdM0BR65+uvYPttX5ZjyPx9sRtHgW9RGhjNCBAicC9O+Y55wImAzxIfUnwYLWFcW5plpFwV97rXTyi1jxmRzUS7FwiXiLWOeRlvGcHp4obTBveC3gRF8XrjBLkaO/gt8f8uysfdmNFc+S7NYy2iPK0k+6krB3TlaY9e60ePJjHNxrcF4KPDDxh8ApTozHB1QozJHazIytdnqE+NPxuKR2fiVpiCr+Py84giZV+qD8iQERzencP+4StpC5QmzLFbHPLf2XPQ0THMrtFHDPkU9AWuhvZxBPktFt0sUh4/kt0zC30k8ztWJmS2h3+6P1NtNJqDTo6ftBO1nYYVehDOaBkmtA5eXxWYUTlQRHMagjPLhGi79TF/adGhF2OpRyaMYDc0zhYtAAHAYYXeFNYianodAY66VEaeAh1dqY/4i190q7xlMNloL/7a1IHhquBraKECKLZDrN9M0exmeTUCifn7HvYG/F/zG1GIuuOH9kWbnYoykZaqJomm77DfLySufRomPbVs+iP3a64/Gcog7WDegH3fkDUZbyIKbqTtyckLug6Mm9fFJaZYdsDcCR1oRLdTAyQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(5660300002)(66446008)(53546011)(38070700005)(66556008)(6506007)(64756008)(66476007)(7696005)(4326008)(7416002)(110136005)(107886003)(2906002)(8676002)(54906003)(33656002)(83380400001)(8936002)(52536014)(316002)(508600001)(66946007)(76116006)(26005)(186003)(122000001)(38100700002)(55016002)(71200400001)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?tLrIod3IYiQolgcVcVuSdKrJ6nXEruY+lOvQfQTxC6gqZWdGpLLkZtSl?= =?Windows-1252?Q?zCD6LrnWXcarbyR5Uui+P5+i55KGIyghuJH4OtQ9MnF6LrF6kk9mQ7Vt?= =?Windows-1252?Q?AZT+4IU90w8aEolVwyMVu31jMgb6ynxsMxmiFosm6O/IgRt35kllE7+q?= =?Windows-1252?Q?yr8Mymql8xM0Ogp0FrN8dyW1QC95U9largdvN/reTD4F7BbZaUHHPliT?= =?Windows-1252?Q?8DhUeZSBac3xfk6hiCB3Td5fdx1auziL5mMzR7o0VFQX6gj8kDx8ncfZ?= =?Windows-1252?Q?et0s6d2ZIHGCmmT+VxFm7JM+GTpaukgEyMKOxZ9fRi0RIx8CS0t0DNor?= =?Windows-1252?Q?TqF0SaMtoVBwjmGdFB22bvFvFMxsDTGQn8gKlhwZn3ZFr6i49DeVM5vA?= =?Windows-1252?Q?oGR9xEjChf2DYwWGCf5rH0mcTO5583L+0E6MmkRjKz++Xxgu2pi1rGBo?= =?Windows-1252?Q?ufQ+s5zTeCav9//etWl7zkCwHxM/83I7LdBWjIMyM33bKAHa1OjEvu5m?= =?Windows-1252?Q?aLRYuDrmFziAP1khGm38TmyCfvEqYtCaD89UnZ/tXQbkj5Fv6fvXJx/F?= =?Windows-1252?Q?MsqccYW17B0EaEHwc4ZyTioO4hAsLhnqtJyfWmcnC4LGNAGruZkNgPfK?= =?Windows-1252?Q?OACpZ2Hu/PgJIqi6N9RjfmOgPOHwheH33v147Vwt/cfy1vkxmpGURuac?= =?Windows-1252?Q?OCiAOKWykOvpOvvdreAl6xhZKZJu38V5NKqesvGonEYtKG82RHDM+30M?= =?Windows-1252?Q?L9vRGFWT/c4CkqbUupYhkPeuwEyQLdzHTSju3I/WmmpxbSzmnNtRh3ml?= =?Windows-1252?Q?Q4zY6JaexIdpUb+w+0IY7rgHPPPcLeqM+TTggDhGKFXWvKaoONNLSBbv?= =?Windows-1252?Q?6S4iQhszmkkXojefqJtrOsjsCVdiR5CPyaCPL4yeqzdz+51ZYEqsHOj+?= =?Windows-1252?Q?RvQ7ovihihsngKlsmOeEsMy4mc2yFZBNe4YIkifCLPrdC1CCq1y0zZFA?= =?Windows-1252?Q?CumXKDKAv1lzByG8Al4dxkfNZuLs9rtG76UFR5rC8SZRpNYw5rpgGaCX?= =?Windows-1252?Q?XnCpD6vjbfpvK+WBT6MoKh2N2pcgYso0xrm/+HkC+kFqqYBNFH95YGAj?= =?Windows-1252?Q?NmYos/8n7WKs6prRD2vFD6Ewsm1xLwBEzlu8RqZcyRAcRt5DxOVs+S4U?= =?Windows-1252?Q?3hTIZL0Accj7tbbGypCJNftzpFfjSIh5x+GHRNJWt5UxZlw0LSOWCKeB?= =?Windows-1252?Q?CKs0imCmgrvv/m1H+5XQ/+0OjtUXsH6mH7Zx3naPiLCc5DWgNj2vKt8r?= =?Windows-1252?Q?/tJkjKCLqg1D57UvxyVBs+7cX3vN26aEMl7yQTrhr1PzypgOlD4zliSa?= =?Windows-1252?Q?SH3P6Goa3iFTRMLIuKQ5JYh9+bunqJISN5sM1nn4ZADk68zsaifg/keE?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51d1849f-1225-4d2f-4f10-08d98cc69456 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2021 14:51:16.7010 (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: zF8mds1BnPph/TSFaINn2bVFi+9bDJdOy9nSggoMR+lbDi5WlSsa6DfA9PbH4tHuQ+aASoHz2S0W6UaZbrGAoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5121 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 2/5] cryptodev: allocate max space for internal qp array 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" > -----Original Message----- > From: Akhil Goyal > Sent: Monday, October 11, 2021 1:43 PM > To: dev@dpdk.org > Cc: thomas@monjalon.net; david.marchand@redhat.com; > hemant.agrawal@nxp.com; anoobj@marvell.com; De Lara Guarch, Pablo > ; Trahe, Fiona ; > Doherty, Declan ; matan@nvidia.com; > g.singh@nxp.com; Zhang, Roy Fan ; > jianjay.zhou@huawei.com; asomalap@amd.com; ruifeng.wang@arm.com; > Ananyev, Konstantin ; Nicolau, Radu > ; ajit.khaparde@broadcom.com; > rnagadheeraj@marvell.com; adwivedi@marvell.com; Power, Ciara > ; Akhil Goyal > Subject: [PATCH v2 2/5] cryptodev: allocate max space for internal qp arr= ay >=20 > At queue_pair config stage, allocate memory for maximum > number of queue pair pointers that a device can support. >=20 > This will allow fast path APIs(enqueue_burst/dequeue_burst) to > refer pointer to internal QP data without checking for currently > configured QPs. > This is required to hide the rte_cryptodev and rte_cryptodev_data > structure from user. >=20 > Signed-off-by: Akhil Goyal > --- Acked-by: Fan Zhang