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 56F09A0C47; Tue, 12 Oct 2021 10:51:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3EA58410E4; Tue, 12 Oct 2021 10:51:05 +0200 (CEST) Received: from mail-108-mta16.mxroute.com (mail-108-mta16.mxroute.com [136.175.108.16]) by mails.dpdk.org (Postfix) with ESMTP id CA9F640151 for ; Tue, 12 Oct 2021 10:51:03 +0200 (CEST) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta16.mxroute.com (ZoneMTA) with ESMTPSA id 17c73b2a81a0000b55.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Tue, 12 Oct 2021 08:51:00 +0000 X-Zone-Loop: 5be13c822db3b2e9425e648b4dd395ee9a84cacd8d4b X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Dew+86mkI7i4DpU6XPb8RCRnUaBSgMerdLjLpqQ6ojY=; b=KWwUuSQug+mUxgRGSWU9miStca y7j9jSGhAQrbyFhJJQ1gbZWiHxrJXtxbfHT6KYEjEzq3qV5v2AnHD0TX7dbzcEuufC+WOmiePIL5P j6SS6UxalYjZMSzm/6W2VsHlPbLWtL7QNceJYK+vhIQViJfsxvMX2vQdv4ZMrX+4RlOjUfy/xQWaD E1JoIQWKTE1cwUazT42OUgqdRxQbXY/1GsAB4Qkd6HAyD9/vmGsOt5EsoVlb7uM9m2jmhCIylYchh EzLGfexmuoanBP2XjaVikykHpXJUoDO0nYtiEpTHo2UwQwh5xR9IjTCoiJZellwkixJhJ2EShD5iV 0CVoV5ew==; To: dev@dpdk.org References: <20210731181327.660296-1-gakhil@marvell.com> <20211008204516.3497060-1-gakhil@marvell.com> <20211008204516.3497060-2-gakhil@marvell.com> From: "Kinsella, Ray" Message-ID: <8bbbeaa5-6739-b4e9-e971-68a3c60946b5@ashroe.eu> Date: Tue, 12 Oct 2021 09:50:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211008204516.3497060-2-gakhil@marvell.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AuthUser: mdr@ashroe.eu X-Zone-Spam-Resolution: no action X-Zone-Spam-Status: No, score=-0.1, required=15, tests=[ARC_NA=0, NEURAL_SPAM=0, FROM_HAS_DN=0, MIME_GOOD=-0.1, FROM_EQ_ENVFROM=0, MIME_TRACE=0, RCVD_COUNT_ZERO=0, RCPT_COUNT_ONE=0, MID_RHS_MATCH_FROM=0, TO_DN_NONE=0] Subject: Re: [dpdk-dev] [PATCH v2 2/3] 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" On 08/10/2021 21:45, Akhil Goyal wrote: > 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 > --- > v2: no change > > 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 a1f46bfd27..edf4887e12 100644 > --- a/lib/security/version.map > +++ b/lib/security/version.map > @@ -16,7 +16,12 @@ EXPERIMENTAL { > __rte_security_get_userdata; > __rte_security_set_pkt_metadata; > rte_security_dynfield_offset; > - rte_security_dynfield_register; > rte_security_session_stats_get; > rte_security_session_update; > }; > + > +INTERNAL { > + global: > + > + rte_security_dynfield_register; > +}; > Acked-by: Ray Kinsella