From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70050.outbound.protection.outlook.com [40.107.7.50]) by dpdk.org (Postfix) with ESMTP id 093091B2AB for ; Thu, 22 Nov 2018 11:07:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RcRKkfJKFLXCTHZ9uI33mLWtxa+Pi8h+5EJrys65bzg=; b=tznA45aVBgRO2jSN6B+dfufbKwOXdpYih6rsV8rbkvrarOMGTtn6zZki3e0wXqSbf6R3rIF2NNzL8ta3AvT+UzETadKXGusLcLhj1789OY2LpxjQlVQZLGg7IsVp2zZEun3j4mdh3xfua2EsQMt2Q1vJky8dQ13u8kg8FDWiaBo= Received: from AM0PR04MB4882.eurprd04.prod.outlook.com (20.176.215.203) by AM0PR04MB5090.eurprd04.prod.outlook.com (20.177.40.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Thu, 22 Nov 2018 10:07:48 +0000 Received: from AM0PR04MB4882.eurprd04.prod.outlook.com ([fe80::d5b4:ac1a:93a8:aabe]) by AM0PR04MB4882.eurprd04.prod.outlook.com ([fe80::d5b4:ac1a:93a8:aabe%4]) with mapi id 15.20.1294.045; Thu, 22 Nov 2018 10:07:47 +0000 From: Akhil Goyal To: "dev@dpdk.org" CC: "thomas@monjalon.net" , "konstantin.ananyev@intel.com" , "jerin.jacob@caviumnetworks.com" , "anoob.joseph@caviumnetworks.com" , "radu.nicolau@intel.com" , "declan.doherty@intel.com" , Hemant Agrawal , Akhil Goyal Thread-Topic: [PATCH] security: restore experimental tag for unimplemented APIs Thread-Index: AQHUgks45nQeH14fD0yGTdB2sKdZcA== Date: Thu, 22 Nov 2018 10:07:47 +0000 Message-ID: <20181122100204.11809-1-akhil.goyal@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0088.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::28) To AM0PR04MB4882.eurprd04.prod.outlook.com (2603:10a6:208:c5::11) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB5090; 6:7ro1Ov0l6yPM5DgJ/rwEtuC/JtTNMARCKf77D1bgV+DgK3rvLtfU0pJM9NOLZy1FenuCJEwLhLv7xMvHxDr0KD44kkUr4ajO1i8OKx7pSXx7xSv1ECpB3jT0UkbXipuhGXKTYHaNgxqcaRA3eUSgNu4sBa8OANuqCWQUfe10sP/8FQfz0XOIACIj6GmQ/YHwDk9X31ld8OqeBz2iTEN/4CdH+RLheQG8nbf6bYBvaFYFq2ow2PYCHD3Ywq7notTkQbBfg8uIkIEOPtJYQpfbcirEFNbzLDOvLcGOi0BtY+MieMDaf9NneD6n1oxc+02WxK0BKlM+Nnd5F8c39GBMECpbzyvE0W7nJYLXjloN3Z4xY/klavhoZR6L5LoTlVTMSkKFwrB9nkCFzIV/CHhh/0USIS+55090HzzqsIwE+UswtSguNdNOUeJttXIT+vOCm0X9B+vEhVJzIOCymXP/Qg==; 5:k3Xpu2t3ho/759as6k2pvm9NSmMoUprmVzi6xpjASdgL3XTOVlqvQhJnJs+ulJKl60BpGnVucrgLDKrEaU/G+nqM85YvqlZrjZvq3eIIC5jX95TgqQYuemsWUk13iur3gyP1k+dR9fiDfa/7bOlEMSL8YRMfsRPnUIq3plwafwM=; 7:WPbebGwFlsu/28jUaCtgQFKE/GF1bHkON2WcX/EZBSdUCn1Etx5h9LgMRP4VOiAJZ5dbZlyRysKEbvqzZU1rZ7WkfLHUBD6nT5JMxlAYfqHJAEnSrAqWgd00jnK1SO2cw29H4uVDGEGaJynKfcoiEw== x-ms-office365-filtering-correlation-id: 515b6cc3-ae26-4263-1c89-08d650625a75 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5090; x-ms-traffictypediagnostic: AM0PR04MB5090: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231442)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB5090; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB5090; x-forefront-prvs: 0864A36BBF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(346002)(376002)(366004)(136003)(189003)(199004)(81156014)(386003)(2906002)(5640700003)(8676002)(305945005)(53936002)(81166006)(97736004)(7736002)(5660300001)(4326008)(8936002)(66066001)(2900100001)(86362001)(1076002)(6916009)(6486002)(6436002)(6512007)(1730700003)(1857600001)(106356001)(3846002)(36756003)(2351001)(105586002)(52116002)(6116002)(71190400001)(71200400001)(44832011)(2501003)(256004)(14444005)(2616005)(54906003)(25786009)(316002)(186003)(55236004)(478600001)(486006)(68736007)(102836004)(26005)(78486014)(476003)(99286004)(14454004)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5090; H:AM0PR04MB4882.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Xk3MM/01Bfqg4VwAah6T9h6dtrtTAZJUEnjK2OANdqhcsIYG0iROYjF1Tqw9WZUNuMi+j8gqT2vTrxBoOIpaJVQcbFgQqEJVkDczYT7Tn1eGEKqw2UUSMj6hQNU1lfSX7Kmhty5lj9qiTb7sM2R7D6aVeHGuY+vsTJKnwq6Ny6R0yFysD1rphZNdpBcvZAixZ+YtCiCPf7vhIYzrRKVth8NFFg2f3jNWGhq3Rj7wdSPS/ddBCurG/1Klr0K4vUIDMhQOn/YGki2RXHqXcV+LBO6oCJd52BB9PJbItSk2D/Y2iaH9jUE5gJVhcsH538l7aWAHCnoKA/TyUfYpkoU86+kv8/er+Y+wHPs2VRf4dro= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 515b6cc3-ae26-4263-1c89-08d650625a75 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2018 10:07:47.8228 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5090 Subject: [dpdk-dev] [PATCH] security: restore experimental tag for unimplemented APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2018 10:07:50 -0000 Following APIs are not currently implemented by any of the drivers, so marking them as rte_experimental again. rte_security_get_userdata; rte_security_session_stats_get; rte_security_session_update; Signed-off-by: Akhil Goyal --- lib/librte_security/rte_security.c | 6 +++--- lib/librte_security/rte_security.h | 6 +++--- lib/librte_security/rte_security_version.map | 8 ++++++++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/lib/librte_security/rte_security.c b/lib/librte_security/rte_s= ecurity.c index bc81ce1..a222b33 100644 --- a/lib/librte_security/rte_security.c +++ b/lib/librte_security/rte_security.c @@ -33,7 +33,7 @@ rte_security_session_create(struct rte_security_ctx *inst= ance, return sess; } =20 -int +int __rte_experimental rte_security_session_update(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_session_conf *conf) @@ -49,7 +49,7 @@ rte_security_session_get_size(struct rte_security_ctx *in= stance) return instance->ops->session_get_size(instance->device); } =20 -int +int __rte_experimental rte_security_session_stats_get(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_stats *stats) @@ -86,7 +86,7 @@ rte_security_set_pkt_metadata(struct rte_security_ctx *in= stance, sess, m, params); } =20 -void * +void * __rte_experimental rte_security_get_userdata(struct rte_security_ctx *instance, uint64_t md) { void *userdata =3D NULL; diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_s= ecurity.h index e07b132..718147e 100644 --- a/lib/librte_security/rte_security.h +++ b/lib/librte_security/rte_security.h @@ -344,7 +344,7 @@ rte_security_session_create(struct rte_security_ctx *in= stance, * - On success returns 0 * - On failure return errno */ -int +int __rte_experimental rte_security_session_update(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_session_conf *conf); @@ -412,7 +412,7 @@ rte_security_set_pkt_metadata(struct rte_security_ctx *= instance, * - On success, userdata * - On failure, NULL */ -void * +void * __rte_experimental rte_security_get_userdata(struct rte_security_ctx *instance, uint64_t md); =20 /** @@ -499,7 +499,7 @@ struct rte_security_stats { * - On success return 0 * - On failure errno */ -int +int __rte_experimental rte_security_session_stats_get(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_stats *stats); diff --git a/lib/librte_security/rte_security_version.map b/lib/librte_secu= rity/rte_security_version.map index a77ca4b..36e2ac4 100644 --- a/lib/librte_security/rte_security_version.map +++ b/lib/librte_security/rte_security_version.map @@ -14,3 +14,11 @@ DPDK_18.11 { =20 local: *; }; + +EXPERIMENTAL { + global: + + rte_security_get_userdata; + rte_security_session_stats_get; + rte_security_session_update; +}; --=20 2.7.4