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 E41D34240B; Wed, 18 Jan 2023 11:22:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8DA8410DD; Wed, 18 Jan 2023 11:22:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B6DAB4003F for ; Wed, 18 Jan 2023 11:22:00 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30I8RmAk008820; Wed, 18 Jan 2023 02:21:59 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=O8w5eyU4bTHgNd7aDXZJl27nBVOvrjhzxsqp6hWUeFw=; b=eZrVN4haycnddCsZMBsQpFrvLOEuTuvx4AYMNFiTHUZxx/dz+43vg0LIfSTS/4CBqmBO qMsvwACJe4RkAhdSqU9X4wSF94fIzske9TCcTsV+ZgSyKydThooFafM7WsjDBfgNm1DX eLpPkZnRxNUew0Ym0dvSGCmZN6JAQKLFO9AiV2arpoMfRLZ8NGJbbJYKsTcPYXtgs+DM GP94zrZ7oOISPNgsInFCPPqBMe9lKN+jHBRwcXuFa4xd/ZlBgxWAbEkQu3zwjlso3M4j 3f1FZ7gmsbPgcXz6RPP6cZQnVrIHSVAnvRY6nQNqKCIL2oTGhk0aKuFhMeAhpCdEo8G7 HQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3n6avbh0b2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 18 Jan 2023 02:21:59 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 18 Jan 2023 02:21:57 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Wed, 18 Jan 2023 02:21:57 -0800 Received: from cavium-DT10.. (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id D95B25B6934; Wed, 18 Jan 2023 02:21:55 -0800 (PST) From: Volodymyr Fialko To: , Abhinandan Gujjar , "Jerin Jacob" , Akhil Goyal , "Volodymyr Fialko" CC: Subject: [PATCH v2] eventdev/crypto: fix missing crypto vec limits Date: Wed, 18 Jan 2023 11:21:47 +0100 Message-ID: <20230118102148.233481-1-vfialko@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221206092329.2250774-1-vfialko@marvell.com> References: <20221206092329.2250774-1-vfialko@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: myQOpwwSdaACwNiWfevxG0u_nz1oWFng X-Proofpoint-ORIG-GUID: myQOpwwSdaACwNiWfevxG0u_nz1oWFng X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-18_04,2023-01-18_01,2022-06-22_01 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 Add missing function `rte_event_crypto_adapter_vector_limits_get` to version.map. Fixes: c1749bc5ee10 ("eventdev: introduce event cryptodev vector type") Signed-off-by: Volodymyr Fialko --- v2: - mark function as experimental lib/eventdev/rte_event_crypto_adapter.h | 4 ++++ lib/eventdev/version.map | 1 + 2 files changed, 5 insertions(+) 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); /** + * @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; # added in 22.07 + rte_event_crypto_adapter_vector_limits_get; rte_event_port_quiesce; rte_event_queue_attr_set; -- 2.34.1