From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30085.outbound.protection.outlook.com [40.107.3.85]) by dpdk.org (Postfix) with ESMTP id 30BE01B65E for ; Tue, 5 Jun 2018 08:25:38 +0200 (CEST) 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=RIrgto0ovi4vrrp7OfQN2h95PP1v5lF1sdv4khZ3KHo=; b=k+GNvBwk1Jw8ovVziCzOfhbKne+yqBd+YTLAA3/AnMUiEeXRUQt8gg33PV0oR8J7oAizxrMlzj+1jleB58yJ7WrBOt3kblu935nl5hraVi2Iy03xdytD8+lTqMp18IhdjvH6y+bAm3V8CDcA5wFdBbVXIajPhILo6QZW/p50FuA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by DB4PR04MB0766.eurprd04.prod.outlook.com (2a01:111:e400:984d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.797.11; Tue, 5 Jun 2018 06:25:34 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: olivier.matz@6wind.com, santosh.shukla@caviumnetworks.com, Hemant Agrawal Date: Tue, 5 Jun 2018 11:54:11 +0530 Message-Id: <1528179851-26589-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: SG2PR06CA0129.apcprd06.prod.outlook.com (2603:1096:1:1d::31) To DB4PR04MB0766.eurprd04.prod.outlook.com (2a01:111:e400:984d::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB4PR04MB0766; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0766; 3:oIOgAb9Jc+smezeMn93eNbAOdYv1pPhwlQvl4XyNNucD0cKU2pmG6DXz1H1sBYkdLIYI8gUYYg7ica79is5OK7dYY0fW93UhVVmVPesExNh70ITgbAivAP3HJBuoSEHXLgMY74DqA/6QA5ZC+TBHDtMRSlzgvD/OsalgnZAoZdwA4bTJNa/LRbkQPZ1pH9TaOqVrEpgbrUSp1045lCq6mZw455/JEZxjSVUxbc1UaoIflBU/GkyerdKt4QtYuBNV; 25:+RhcknfZqy8he5hyPU/DQcc/akQUJu7aACy8Y/anHZDNffP8SG2EwCzLMsjPIAQOIpy/pReFJ2FBzHzwSRFgdnywkWGH18HWuI/jCkemoLpYHtVLV27A811h/Wg3iqJxM5YqIxpsb9h2a18KU+VQEwyOQMFRHbvoLpiZvBU/jsEuM01PkieT+YL9iOB5KbbdOBP+S6FX0MhGTp2ynLnJZtKcuI4T7OuqNmhG2h75j97/atoyBpQUdrEYsWydhmhk+Yrjdodr6SQn3PVW9gE9UVEmaXhzFY1P6NhxcvwNsBiPkjv1tUnHA6NTKfMEp+Tn57lOJ9P0C+c5yZsyYkJdNQ==; 31:zFGI6dQs7WiRGqcOVTTla0kj1NmiwOBq398M+NEpq3PlAd3ikHmjOYRuoiAYY8nc97XhYQXDnenubKXOGf547zyF46tCdQJvA5dJKM/oGIC2oYngxUNudQAfIbqEasOu1uIUSc1W576AMPEkF4RogoGZCyw3a/Cdz1tUxwAQOM1TvfGVe4J3jh18N13JvJRZ62uWUbua/GmvAPm32ezuUAc5f5jaO1XcgCePRJ/FfH4= X-MS-TrafficTypeDiagnostic: DB4PR04MB0766: X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0766; 20:PAVESbMAP7P2PWj3IIJfCq10nHPoSsHN4h7ID8mAC1JjnaBnzeWiyGhPeeQATYPCnpKrQnZqvVtjIcSorlN656x4Q6rLAbUStL4djZ+bJVsuGegD7Qo57HRx1YfwObl3M3XSw4JBMlZVDiM5fScnafbLWPgCw35gWLTrd+dDpo4x5FqRHXtV1IsZLlOu9tIh+IRgUg9cGzF4SlHD2k2kCo7L48hLq3a27R9IVfP3oUFZbfUdzR1JDFJYElKz9G4blhVHd8aT9UqkyViIyhSoJnBg3Y9RFz1HMrXQgxfaYQ0umw/3mdcntaqmQ+fBuOF20McCoXXFFQ4/g30YtXGjozZf40x4EqcIGHl1JFjbv577whP0gHn9xduvHR8z7hlD7h+H+0yvghHp2e0G7ABs295sHMUpHi3SDXMdMD78cFdpbI0PiT7oLcKjNyhEo1zRa51VSLiEdvtIzUtI7HcDbE1aB3qIXrrpvMoWrn7PCekBjJjoDtzlMlqLZrhyCQzS; 4:tol4DE6zFFIesWl2tDvPMHRA+bJmUJTQ2DEEXTNdwApQtAigKqcpzURNuVEWk4PNp8f1E9LvG/l8jPDuxIJw7Ci32GThVcBDzGBMNSS2Pn9rz1yskhBHUwp2Jhu6YJyGtu6cm91FPcxi1wHnkfdF2aNtVSuICPAi92JqrPnn7GDvHLNTzgrbVKKVqG2bLCuAUe9+MrjF1eQe4Qf9gPESfwFD08bxZFCQw8Cl36E+/kvH1CE3xqbJzTR3KgZ/6lx0OSRQ0d/p1iSJj8hDRjLVuqC41msexfyf1X1DBg5SfBdq+0qdxU9EAVII6dB9NWgs X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:DB4PR04MB0766; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0766; X-Forefront-PRVS: 0694C54398 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(366004)(39380400002)(39860400002)(189003)(199004)(59450400001)(36756003)(5660300001)(26005)(2351001)(6486002)(2361001)(105586002)(106356001)(81156014)(186003)(16586007)(1857600001)(52116002)(316002)(476003)(51416003)(6116002)(956004)(48376002)(478600001)(386003)(6506007)(50466002)(97736004)(66066001)(2616005)(44832011)(6512007)(7736002)(55236004)(86362001)(486006)(50226002)(4326008)(68736007)(6666003)(53936002)(8936002)(47776003)(25786009)(8676002)(3846002)(5009440100003)(6916009)(81166006)(2906002)(305945005)(16526019)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0766; H:bf-netperf1.ap.freescale.net; 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-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB0766; 23:BGdOn12YJyV01m9gySL7bU4p1PKyFFdTQyiKLEE2W?= =?us-ascii?Q?k7kcb4iV2siR90a7ibXOVrb0cHVkUdQqfoheePYtd2yT5KlaX+jMJ5RY9Qvn?= =?us-ascii?Q?RFVWbfi384RJZOAc9a9ENsIir/j8nqJ+hXnRH7xcFjt2YT4oZGAkkHHGsUzU?= =?us-ascii?Q?Ou5MgU2qslcwvPLzhbntKGmUFnWZSkFPJwmsVe41qHQGcI/Qze59l7Y0fmMR?= =?us-ascii?Q?+WMGViMYWpGrPd3wvFL0aizn2Jxj6E22JHEgWcP2Ia6WKe70aTTNy+sWH06P?= =?us-ascii?Q?CZE1g9DZYH+yF01Z8lIqMMMd7XYSbEVsSefQIbp2cnrt98hScmeqCrB8Rugc?= =?us-ascii?Q?W9PSZOUO47qPbjqwmtEhDzuQeQn2d2Qq1+BvQOl7edF56/moit0/8cz726+R?= =?us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VeQm5W1mmQvI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0766; 7:QI49TqBm1SnY57I7D6/Aaln5Ns4hBt7dV93GK9Olu6YButkkCtZ0fiTdDXScG3JVe8KXbpBydTYa3+gywjSdfupyfOyzcHYUR+atkLTuWfsQF5GMqxTo6FJZptRp1ojR5iGoL7VmSVm7f1p4038kq27IYLCtLcXqpUAS+AsbN3Nr2AfX49B8ybSpqUHR7NBZGKPjGCXY+V6aOJfSNetg+wU3ZP5dDDMlusgcyOK+tiJcqjZX1mLBrMC9f7GwLwXw X-MS-Office365-Filtering-Correlation-Id: ce4f951f-fbee-4d92-80fe-08d5caad2673 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2018 06:25:34.9799 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce4f951f-fbee-4d92-80fe-08d5caad2673 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0766 Subject: [dpdk-dev] [PATCH] mbuf: remove experimental tag from pool ops functions 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: Tue, 05 Jun 2018 06:25:38 -0000 Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf.c | 2 +- lib/librte_mbuf/rte_mbuf.h | 2 +- lib/librte_mbuf/rte_mbuf_pool_ops.c | 10 +++++----- lib/librte_mbuf/rte_mbuf_pool_ops.h | 13 +++++-------- lib/librte_mbuf/rte_mbuf_version.map | 4 ++-- 5 files changed, 14 insertions(+), 17 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/librte_mbuf/rte_mbuf.c index fca580e..e714c5a 100644 --- a/lib/librte_mbuf/rte_mbuf.c +++ b/lib/librte_mbuf/rte_mbuf.c @@ -107,7 +107,7 @@ rte_pktmbuf_init(struct rte_mempool *mp, } /* Helper to create a mbuf pool with given mempool ops name*/ -struct rte_mempool * __rte_experimental +struct rte_mempool * rte_pktmbuf_pool_create_by_ops(const char *name, unsigned int n, unsigned int cache_size, uint16_t priv_size, uint16_t data_room_size, int socket_id, const char *ops_name) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 8e6b4d2..5233d57 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -1146,7 +1146,7 @@ rte_pktmbuf_pool_create(const char *name, unsigned n, * - EEXIST - a memzone with the same name already exists * - ENOMEM - no appropriate memory area found in which to create memzone */ -struct rte_mempool * __rte_experimental +struct rte_mempool * rte_pktmbuf_pool_create_by_ops(const char *name, unsigned int n, unsigned int cache_size, uint16_t priv_size, uint16_t data_room_size, int socket_id, const char *ops_name); diff --git a/lib/librte_mbuf/rte_mbuf_pool_ops.c b/lib/librte_mbuf/rte_mbuf_pool_ops.c index a1d4699..5722976 100644 --- a/lib/librte_mbuf/rte_mbuf_pool_ops.c +++ b/lib/librte_mbuf/rte_mbuf_pool_ops.c @@ -9,7 +9,7 @@ #include #include -int __rte_experimental +int rte_mbuf_set_platform_mempool_ops(const char *ops_name) { const struct rte_memzone *mz; @@ -35,7 +35,7 @@ rte_mbuf_set_platform_mempool_ops(const char *ops_name) return -EEXIST; } -const char * __rte_experimental +const char * rte_mbuf_platform_mempool_ops(void) { const struct rte_memzone *mz; @@ -46,7 +46,7 @@ rte_mbuf_platform_mempool_ops(void) return mz->addr; } -int __rte_experimental +int rte_mbuf_set_user_mempool_ops(const char *ops_name) { const struct rte_memzone *mz; @@ -67,7 +67,7 @@ rte_mbuf_set_user_mempool_ops(const char *ops_name) } -const char * __rte_experimental +const char * rte_mbuf_user_mempool_ops(void) { const struct rte_memzone *mz; @@ -79,7 +79,7 @@ rte_mbuf_user_mempool_ops(void) } /* Return mbuf pool ops name */ -const char * __rte_experimental +const char * rte_mbuf_best_mempool_ops(void) { /* User defined mempool ops takes the priority */ diff --git a/lib/librte_mbuf/rte_mbuf_pool_ops.h b/lib/librte_mbuf/rte_mbuf_pool_ops.h index ebf5bf0..7ed95a4 100644 --- a/lib/librte_mbuf/rte_mbuf_pool_ops.h +++ b/lib/librte_mbuf/rte_mbuf_pool_ops.h @@ -12,9 +12,6 @@ * These APIs are for configuring the mbuf pool ops names to be largely used by * rte_pktmbuf_pool_create(). However, this can also be used to set and inquire * the best mempool ops available. - * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice */ #include @@ -34,7 +31,7 @@ extern "C" { * - On success, zero. * - On failure, a negative value. */ -int __rte_experimental +int rte_mbuf_set_platform_mempool_ops(const char *ops_name); /** @@ -46,7 +43,7 @@ rte_mbuf_set_platform_mempool_ops(const char *ops_name); * - On success, platform pool ops name. * - On failure, NULL. */ -const char * __rte_experimental +const char * rte_mbuf_platform_mempool_ops(void); /** @@ -60,7 +57,7 @@ rte_mbuf_platform_mempool_ops(void); * - On success, zero. * - On failure, a negative value. */ -int __rte_experimental +int rte_mbuf_set_user_mempool_ops(const char *ops_name); /** @@ -72,7 +69,7 @@ rte_mbuf_set_user_mempool_ops(const char *ops_name); * - On success, user pool ops name.. * - On failure, NULL. */ -const char * __rte_experimental +const char * rte_mbuf_user_mempool_ops(void); /** @@ -87,7 +84,7 @@ rte_mbuf_user_mempool_ops(void); * @return * returns preferred mbuf pool ops name */ -const char * __rte_experimental +const char * rte_mbuf_best_mempool_ops(void); diff --git a/lib/librte_mbuf/rte_mbuf_version.map b/lib/librte_mbuf/rte_mbuf_version.map index 1bb9538..cae68db 100644 --- a/lib/librte_mbuf/rte_mbuf_version.map +++ b/lib/librte_mbuf/rte_mbuf_version.map @@ -35,7 +35,7 @@ DPDK_16.11 { } DPDK_2.1; -EXPERIMENTAL { +DPDK_18.08 { global: rte_mbuf_best_mempool_ops; @@ -44,4 +44,4 @@ EXPERIMENTAL { rte_mbuf_set_user_mempool_ops; rte_mbuf_user_mempool_ops; rte_pktmbuf_pool_create_by_ops; -}; +} DPDK_16.11; -- 2.7.4