From patchwork Sat Jul 31 18:13:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akhil Goyal X-Patchwork-Id: 96498 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 93C9CA0547; Sat, 31 Jul 2021 20:13:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC51140DDB; Sat, 31 Jul 2021 20:13:56 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C774940DDB for ; Sat, 31 Jul 2021 20:13:55 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16VIATh3020458; Sat, 31 Jul 2021 11:13:51 -0700 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=kFxlBtKuOTObSiV6fhDvKl1m/xMu9NtDmp6jytsLA7Q=; b=NKdeNuP9B+xsMHawsQ1clCxsk9LioIRriXcaVAPVXyAKVi2oD5ACPwn7UAxbkz4Kxh5C 1Iwus+wmQHYJtQCU+OSMCHoIBkZWpIu3QuDDB/GCIRbb7mydjrKX+iOAaMZL3OP31MRL jrWxeGLXO6j+1/3ezeNymu3o1NeWqfbBnJdQEOHwBcGoHQ/X8OIIu2HTpHRUWMP13a1u u/pDOiMKa9paBSUGUHt0KJWKvWMfFWGQHphoLKA5xekEfX00ts0EFsjbXR7jW+mqEQPM c4cbM8brKjpRVB+3NqsjTQltYincthtEagjnoIZQjLGU6pgYSCZl5d8IXYV44MQc626P 1g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3a53vr8xfx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 31 Jul 2021 11:13:50 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sat, 31 Jul 2021 11:13:49 -0700 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.18 via Frontend Transport; Sat, 31 Jul 2021 11:13:49 -0700 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 864173F7075; Sat, 31 Jul 2021 11:13:45 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , , , , Akhil Goyal Date: Sat, 31 Jul 2021 23:43:26 +0530 Message-ID: <20210731181327.660296-4-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210731181327.660296-1-gakhil@marvell.com> References: <20210731181327.660296-1-gakhil@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: UwHL-z-JSlfhmPVuMP2Gn4dz2mQwpVbN X-Proofpoint-GUID: UwHL-z-JSlfhmPVuMP2Gn4dz2mQwpVbN X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-31_05:2021-07-30, 2021-07-31 signatures=0 Subject: [dpdk-dev] [PATCH 3/4] security: hide internal API 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" rte_security_dynfield_register() is an internal API to be used by the driver, hence moving it to internal. Signed-off-by: Akhil Goyal Acked-by: Konstantin Ananyev --- lib/security/rte_security_driver.h | 2 +- lib/security/version.map | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/security/rte_security_driver.h b/lib/security/rte_security_driver.h index 938373205c..b0253e962e 100644 --- a/lib/security/rte_security_driver.h +++ b/lib/security/rte_security_driver.h @@ -89,7 +89,7 @@ typedef int (*security_session_stats_get_t)(void *device, struct rte_security_session *sess, struct rte_security_stats *stats); -__rte_experimental +__rte_internal int rte_security_dynfield_register(void); /** diff --git a/lib/security/version.map b/lib/security/version.map index 22775558c8..bd91d9a16c 100644 --- a/lib/security/version.map +++ b/lib/security/version.map @@ -16,8 +16,13 @@ EXPERIMENTAL { global: rte_security_dynfield_offset; - rte_security_dynfield_register; rte_security_get_userdata; rte_security_session_stats_get; rte_security_session_update; }; + +INTERNAL { + global: + + rte_security_dynfield_register; +};