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 6704AA0C45; Wed, 15 Sep 2021 17:54:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F2CA4068F; Wed, 15 Sep 2021 17:54:46 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 993C34014F for ; Wed, 15 Sep 2021 17:54:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10108"; a="201862208" X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="201862208" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2021 08:54:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="544990053" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by FMSMGA003.fm.intel.com with ESMTP; 15 Sep 2021 08:54:40 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 08:54:40 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 08:54:39 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 15 Sep 2021 08:54:39 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 15 Sep 2021 08:54:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+us4jStmcQSX/998/KtVFqW2/ZLwoOCEzQqN7N7W9I4L1fwrkY7WRoX2m+D4bTBdOVypWWXhffP0povCzBMiwQ8H2Ofvh2iNwhtSD0knyHY9R2cSFoKB32kyDnzP2N8jYtIEnSRtEQwqaxhK70AiNRVY7Ew4xXcnCEXjPVDGZqW4+SO7GuNLkxKF1OIfJs81exgl/ChX6HxgwaESgIqTm9LlqTzVj7qKT/251D2pzI9tguz7BCqoKhTzXZq5X60xVzgg0QExBdkNwA+AslW+VeBfRaF980Bwv0ZbkusSBu3R8nOJ0Uig++Mv9VnmZXxU512wq41v2yRQismFxlMBg== 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; bh=b3HQ5vbaJiwprcxZrI5PqqBCaaMx7qwckE458PR66mE=; b=FopJc27RqVKYQyGxH19yLoVO7HbgaDTwBRdLtyE74NCknnWtOvNdaqIMIjojQd6igr2flkhj91uc+nz82hIsHSnLKGwGIqE0M+1GwpGuRGv1B7ii90+m7IZKPwbKxVyUatEYl0l+KqUiKpRzkvQ/iJLahBfXJZHjBacxr5rUQWXzH0bWH7SCmKm/mvV9PmiaXIDf8HIFcG06naLii0twCfSMEzAAfegY05Y/P/YigbeRaQfkhpJic8bUEy8HVuRrAWNfsXjftmPBN5124vfTPy/DBDac2E2U5Afb49M3Olwvocad+YmFMpOz6G9NZnWSA2RyTfWJFw8zX6pZETPbAg== 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=b3HQ5vbaJiwprcxZrI5PqqBCaaMx7qwckE458PR66mE=; b=hWKYuJQiGDXSv0q/5hW6wExGSRxKBiW/ASTbn27YO3Rh7lR/B8G0rye9d667MvENfeY639bwo7yR7X/GVRkvoqjISs7E9TzOqJZPKQASfHxTsJkOctutluykkV0/LieOf+shHa9Reet/i+J/SM3v5fT8uoL63HpRTY5z4TrgVjM= Received: from BY5PR11MB4482.namprd11.prod.outlook.com (2603:10b6:a03:1ca::33) by BYAPR11MB3702.namprd11.prod.outlook.com (2603:10b6:a03:f7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Wed, 15 Sep 2021 15:54:35 +0000 Received: from BY5PR11MB4482.namprd11.prod.outlook.com ([fe80::a850:4ae9:9444:7334]) by BY5PR11MB4482.namprd11.prod.outlook.com ([fe80::a850:4ae9:9444:7334%5]) with mapi id 15.20.4500.019; Wed, 15 Sep 2021 15:54:35 +0000 From: "Ananyev, Konstantin" 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" , "Zhang, Roy Fan" , "jianjay.zhou@huawei.com" , "asomalap@amd.com" , "ruifeng.wang@arm.com" Thread-Topic: [dpdk-dev] [PATCH 3/4] security: hide internal API Thread-Index: AQHXhjfjlBDqWnphX0+66EcGlpkk3qulh1Zw Date: Wed, 15 Sep 2021 15:54:35 +0000 Message-ID: References: <20210731181327.660296-1-gakhil@marvell.com> <20210731181327.660296-4-gakhil@marvell.com> In-Reply-To: <20210731181327.660296-4-gakhil@marvell.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 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: 4206ddad-7079-4ace-d63e-08d978611dd7 x-ms-traffictypediagnostic: BYAPR11MB3702: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1247; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b3VS0eTEouPH44SqwhdKoehmnuc3Pdxs+RwsHPvChlB8qzaZMGk8F2QAR4PzbjIRuv0FQrXLfuZaBOHYUjG+O+6lbDAzxfsm4dL4aPkquVtJMWCIufAe/5J16gGA3QbtEkLQszCeMER7ih2wHFLccTHsd06wgvf2nC8mPpTjvTT1MzPAcYqkreaw3Q0/y3x8uCebKxT3pRy0Qk/kkZOORAW/L6Rq7xJDUyvthbTJXoVsgBgly9qxKf01PdvL7vu7rp180XhW+N6J54TXJU3uXD8fCJBu2OP/30XHA5hk8wG9IoW2Ry1w7b0q4PCidf7hI7LtyrnLZF+swxe5r7UlQHiddP/S1K7gemBFVmJqX0sPvc/T2FuOFM5/YCj4/kr6EhdCq6qFikVv7j7v0MCeaR01rdwsHJZJa78rMbxWNRlEqenfKVESZnkqn56zh1PuPwAAzgh5P+3AJlowS+SOELUgoIS9dJzDMGzAKxjtNzIxGJaGNHppuCEvvGNXNwyT1log6tzWUEYue8nRYFu3PVEtrEydRtrYol/5KG0AXuvTQVmPGii5aSm/fZJ3jHdEAILejF6zMM4pGXCAkmOVnv+UjObi1e069IQ163Dg6Px0qVDGC3Y+PwwZSouuVO54VwqgaZtoxaKroUoe7tTfpZCnkhSCn9TSPKJIzkFIBC5cchoj8WUXNs6GIs8Vw8cwxEdAsD1b0ZIQwk0zT9H1gw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4482.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(136003)(396003)(39860400002)(346002)(83380400001)(15650500001)(316002)(33656002)(52536014)(71200400001)(38100700002)(38070700005)(66446008)(122000001)(66556008)(186003)(7416002)(2906002)(478600001)(9686003)(6506007)(64756008)(66946007)(66476007)(110136005)(7696005)(54906003)(8936002)(55236004)(76116006)(86362001)(26005)(4326008)(5660300002)(8676002)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YQModyiO8Ks5MWDPgSEgSkKbGMRawhfGA9ubopVs1xm1ufLqzdcy3YEVAGOn?= =?us-ascii?Q?fxhuZLg7EXOjz9l20I3+yGSAm5pbqOd45lsnei5Gxc87jXyDxY5hoZwh8ojd?= =?us-ascii?Q?OrolnMzsYfMiHnRV15hyMvpK5ei9nvsyUZXO3fRycrtoCTBm7OiAEdPp3Gm+?= =?us-ascii?Q?j3HgfadgFTmbZgRVjZiJfRV9q4IQYsYBM8SQZUkiKSEV/cbN/IN6d7RgwlG0?= =?us-ascii?Q?o3aSVL4XBOeFbN07OpzY2uOTnBVv9v+KI8v7OQnJMyk7lmAFJJ0jzfaALF2s?= =?us-ascii?Q?pbPo42OmumwZOx+QV1L98ZrudXKCR22RmFShrlIVIaTu0so+jkDdjULYNRTu?= =?us-ascii?Q?RMGJVDTtTl6geT+TnbPSfFizkrf0AH6/7GkV3PCoJnDGtri3t5mcRABwXeY2?= =?us-ascii?Q?Xrk1QNPrsC3fNaW/Dl0Q+/Xo+djuwS2lI1KtwDVDIjQ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nHm2cB2u?= 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: BY5PR11MB4482.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4206ddad-7079-4ace-d63e-08d978611dd7 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 15:54:35.6271 (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: en+Dzy2xjTBjjHz08FSxWyv+IsxFt7d5QbS3AUBrrlsEyKlnmjW8xQ+0I+zOR8cA/3fZ8xifrSTS+qHOBM7oCEiNgf4mgS96+GUBI9Q2J8o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3702 X-OriginatorOrg: intel.com Subject: Re: [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. >=20 > Signed-off-by: Akhil Goyal > --- > lib/security/rte_security_driver.h | 2 +- > lib/security/version.map | 7 ++++++- > 2 files changed, 7 insertions(+), 2 deletions(-) >=20 > diff --git a/lib/security/rte_security_driver.h b/lib/security/rte_securi= ty_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 *devic= e, > struct rte_security_session *sess, > struct rte_security_stats *stats); >=20 > -__rte_experimental > +__rte_internal > int rte_security_dynfield_register(void); >=20 > /** > 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: >=20 > 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; > +}; > -- Acked-by: Konstantin Ananyev > 2.25.1