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 958A542466; Mon, 23 Jan 2023 10:35:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4388E40223; Mon, 23 Jan 2023 10:35:38 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 67B47400EF for ; Mon, 23 Jan 2023 10:35:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674466536; x=1706002536; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=bRA1ArzBKHUmg68CfXg2HZVDMghMsMB+QNF8ep/0UrU=; b=aCqMpy9vt9gTZmknMNXA2xC4gUdcLGT+iyzm4r7FujloApwlNbWI8SP/ ACgqgM+hgCIy+ZyNJ9wTyD4RlwwS2GY4+ff1IAVt5P5JQY+fi17AuGAed pb2JZTYkVuJjOwDpSysO3gW379tPTR1Obicjy/QkGp4/i6nrqbjFsyemz 1IdtbOAyEr4HN1FH9VM3fJUsE39Aq1VFN0KQUEheoToJie3YBDGBHNbcO LPgy9EIC/h/4YfxddiAl8InNo9TLMCIuZ0kmgjmGjJtQ+Iq1DPCEPhfTr VYXTIykZlqZtb9ijCVsMXm9gz5y5Dld0sK7uzrQ/8KyhFYQf+4b4AxPmw A==; X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="412233322" X-IronPort-AV: E=Sophos;i="5.97,239,1669104000"; d="scan'208";a="412233322" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2023 01:35:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10598"; a="654841826" X-IronPort-AV: E=Sophos;i="5.97,239,1669104000"; d="scan'208";a="654841826" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga007.jf.intel.com with ESMTP; 23 Jan 2023 01:35:34 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 23 Jan 2023 01:35:34 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 23 Jan 2023 01:35:34 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 23 Jan 2023 01:35:34 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 23 Jan 2023 01:35:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eCOv0HJx/sgNkHmeVt/cyoYHlXd/Qcv9WX8zAty3WAyb4sz3y5avjky4jNHMGh2hbzU1UazffobXoUzCCDMRAcl9H+dYQ2lg/24KkLALnyZ9NR/70XiFRdnV5nR/7xod2mI/VE+QaudrImenUfPXQbVR9+Xbn4VgMk/k90LohJEtp76xHlMrFqwZ0nplMRZQnYD8lVRyZEbX2gWu2MmF5O1zI+dA7cZJbVqbJa1nWBRcYrosKoNoC2UnJj+GZZhBtt1ymr9y8ndMtuVL8YPUyxWI2yiZ74zs0WOfXkop65yZPUdGYSv9x+NYYd32/GwZUBLaCLxo3L780rvxUOxPBA== 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=M+1+CBiy80FoCiWtAXVzbfe7pH1A+gADZ14JmbdS3+s=; b=TVzF2tVzBqlgL6yiZsC+n2fpfFeFzvNVFhVbG5rPBNcvwd9Li9rsvDCx+CDwnJnjPuFTWRte6ZxuVZUmMoQGbBd7VAAF1NdpHzOayT9onctJncWpPlj0E38TtdLYfplhwTNm0MqAu2uDxryKt0pfkYkb+7MyHsXnV6D9vKor2is6EJw1E3bz3MfCL07YMeaU+HPHVzjJMzd3Jpr6aSlGPbO8HSwOhtvjIlEKoCBdcO1ecuQPf3p6Rf++m9ZqQUR0XYewsIkilq2f38vlPFzZ5dO9mx1i2PFv3l/OTuv7nSsK4XifAcjDBWj3z5RNH4vdPX4nlwgVwS6fqajd42RZjg== 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 Received: from PH0PR11MB5832.namprd11.prod.outlook.com (2603:10b6:510:141::7) by CY5PR11MB6161.namprd11.prod.outlook.com (2603:10b6:930:2a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Mon, 23 Jan 2023 09:35:31 +0000 Received: from PH0PR11MB5832.namprd11.prod.outlook.com ([fe80::ef44:2061:3d86:6b21]) by PH0PR11MB5832.namprd11.prod.outlook.com ([fe80::ef44:2061:3d86:6b21%8]) with mapi id 15.20.6002.024; Mon, 23 Jan 2023 09:35:30 +0000 From: "Gujjar, Abhinandan S" To: Volodymyr Fialko , "dev@dpdk.org" , Jerin Jacob , Akhil Goyal CC: "anoobj@marvell.com" Subject: RE: [PATCH v2] eventdev/crypto: fix missing crypto vec limits Thread-Topic: [PATCH v2] eventdev/crypto: fix missing crypto vec limits Thread-Index: AQHZKya4H6FCswivEUi6bjMGb7wyEa6rxZRQ Date: Mon, 23 Jan 2023 09:35:30 +0000 Message-ID: References: <20221206092329.2250774-1-vfialko@marvell.com> <20230118102148.233481-1-vfialko@marvell.com> In-Reply-To: <20230118102148.233481-1-vfialko@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5832:EE_|CY5PR11MB6161:EE_ x-ms-office365-filtering-correlation-id: bf07512e-47f1-449e-b36e-08dafd252ae5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AXUuANPNIN3OnejziWMQe/UIQ8+7U5Cxq1en0nXTUvWCS52CpNBOspbhX+Z1DB4x2CdhW8VdePoT4jMXrnGwSP6NcaYxovFsgGwIWj3sDDoaYRguTbwnbV2Otf63jTSpCjSYq3AlmaRdhrfRNwgclcZ7lw8qO4t3TxwKuNxdcU+sqTqubaE/an5o+V7HpKxS4nq57Mjy98foPOepaoWZq3MZFIWhrumcfC4DcG5U+SSqbbNWDOFj3sMK5o+ze9+JQhvcz8PzHhNLF45HcD77C42GFun7ob8MUilk8tuxUAyuEAv+VI36uNRhyAMq/QperdBTgmolI0N9NVaQiufOfXum+CzEyRbGjb7Y5ILDvLgLpLIBLwXnqJ4KYGCBoAcrBPjByIFGGNUbANR3P0JY9GbRnpVVM+GPExhyVC+XFivWvfn+JuFhlMxNgkRP2zp4I6BvgYwRZkguuKJ1gQ0zg5VS+nKREGrQDK1yGd8xAbnx2wDUyFKyvwW6N0bvqZOwRkVpX1jCw/esUfxXBjwDUz6+KTIaIT42DDoUyoJz04NCD+RG82iuSkD0gDfeBmCuemHdccmdd/XVQbrOPbG2rpDucZukkg854b17bfNRH1hLw+haQAkK11fiLOvRZf0DKDGlRwAgSMWNkyYkXVnpMdK9d6+2I+wZK3RWx9GbsYPAuW5icL7Xyh7bz0qvlWuXLhzQK39raMjxkza9jLzbvw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5832.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(136003)(376002)(346002)(366004)(39860400002)(451199015)(66446008)(33656002)(8676002)(64756008)(478600001)(4326008)(76116006)(66556008)(66476007)(66946007)(41300700001)(9686003)(26005)(186003)(55016003)(86362001)(2906002)(83380400001)(71200400001)(53546011)(6506007)(316002)(7696005)(52536014)(82960400001)(38070700005)(110136005)(5660300002)(122000001)(38100700002)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?uQl6yaPTlYjYijoK/+y/UcEp54GNOugemZ/uXF7sjcOnyN5/BHyKkX1kbyyA?= =?us-ascii?Q?2PAEWaoYHVgrq6n/cm/R3ukjs6WJ+Q+gWGmWU3HXBLFxxaoDOd38dq+MnAY9?= =?us-ascii?Q?KsF9W77YH4wOygtE7GkfiN/RWQPsXdPwuPmy7wFpvNFIIWpZsO6sNK5oMvPZ?= =?us-ascii?Q?Krjc2xwsBamFVf79FoS3WhRsHAKxBNo4O7uef5S7GFB8K53olsabzZndx6ha?= =?us-ascii?Q?xcIej23UBes224s6fKBls9++MrenAK1GLyzZXb0Kkw8F+KDSWSlbRtOg4i8V?= =?us-ascii?Q?vj9cLt5ysByXudwxc33Fqgb6Nc+/CVjEjMK21KgpmEWB1+3lUjqd56n8MqbG?= =?us-ascii?Q?KnjS9AtiM+eBsEd7j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?= =?us-ascii?Q?+JkO7RuTeGpsml9ykuZxAVOGZ+6Xb8oHXY40YNp79VU9MA2HdhRAuAl0Cfjg?= =?us-ascii?Q?VmcbMGFITb9xpZNWjWhXmpi5qU0uIVsV6AIZqG6ff0hDZOU6XxhPzLCA0GsY?= =?us-ascii?Q?gYiidjm4CWIVNkoUKgw5wyTttKX1nDDPnMN+xO8gLRRZZGvuxPmJKuGP6vwM?= =?us-ascii?Q?j8NT3mv9f02E3cteUmlXBNHXcCqVCR//jp0vPTXq6Fk7A4UkPBk3bNSTK7ac?= =?us-ascii?Q?clm22+XX5NDEBMrfZZDB/1fgbyo8sr2Z/ruyn/a3fuiWbHDsSmGRjxUuyy/6?= =?us-ascii?Q?qkJXvFhdz7Kr56jZ8j09hILdnRo8OibMc2KnYp7h+zHx9ITutiGrR6qp7Zaa?= =?us-ascii?Q?RA=3D=3D?= 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: PH0PR11MB5832.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf07512e-47f1-449e-b36e-08dafd252ae5 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2023 09:35:30.1504 (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: n4qeQFtVhJkS62vtY2CzS2mlqMIRU6T0dR5KA8RR2EDb1EKuvJwuhdxchEr58JKkZswQdu9jbaP8og8tmlUoJSwGRHxZlIQDP//bs0UFmzY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6161 X-OriginatorOrg: intel.com 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 Acked-by: Abhinandan Gujjar > -----Original Message----- > From: Volodymyr Fialko > Sent: Wednesday, January 18, 2023 11:22 AM > To: dev@dpdk.org; Gujjar, Abhinandan S ; > Jerin Jacob ; Akhil Goyal ; > Volodymyr Fialko > Cc: anoobj@marvell.com > Subject: [PATCH v2] eventdev/crypto: fix missing crypto vec limits >=20 > Add missing function `rte_event_crypto_adapter_vector_limits_get` to > version.map. > Fixes: c1749bc5ee10 ("eventdev: introduce event cryptodev vector type") >=20 > Signed-off-by: Volodymyr Fialko > --- > v2: > - mark function as experimental >=20 > lib/eventdev/rte_event_crypto_adapter.h | 4 ++++ > lib/eventdev/version.map | 1 + > 2 files changed, 5 insertions(+) >=20 > diff --git a/lib/eventdev/rte_event_crypto_adapter.h > b/lib/eventdev/rte_event_crypto_adapter.h > index 83d154a6ce..2a69290097 100644 > --- a/lib/eventdev/rte_event_crypto_adapter.h > +++ b/lib/eventdev/rte_event_crypto_adapter.h > @@ -595,6 +595,9 @@ int > rte_event_crypto_adapter_event_port_get(uint8_t id, uint8_t > *event_port_id); >=20 > /** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice > + * > * Retrieve vector limits for a given event dev and crypto dev pair. > * @see rte_event_crypto_adapter_vector_limits > * > @@ -610,6 +613,7 @@ rte_event_crypto_adapter_event_port_get(uint8_t id, > uint8_t *event_port_id); > * - 0: Success. > * - <0: Error code on failure. > */ > +__rte_experimental > int rte_event_crypto_adapter_vector_limits_get( > uint8_t dev_id, uint16_t cdev_id, > struct rte_event_crypto_adapter_vector_limits *limits); diff --git > a/lib/eventdev/version.map b/lib/eventdev/version.map index > dd63ec6f68..c155af6d50 100644 > --- a/lib/eventdev/version.map > +++ b/lib/eventdev/version.map > @@ -110,6 +110,7 @@ EXPERIMENTAL { > rte_event_eth_rx_adapter_event_port_get; >=20 > # added in 22.07 > + rte_event_crypto_adapter_vector_limits_get; > rte_event_port_quiesce; > rte_event_queue_attr_set; >=20 > -- > 2.34.1