From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id CE727A0679 for ; Thu, 4 Apr 2019 13:45:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 41F381B276; Thu, 4 Apr 2019 13:45:49 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00062.outbound.protection.outlook.com [40.107.0.62]) by dpdk.org (Postfix) with ESMTP id 214361B273 for ; Thu, 4 Apr 2019 13:45:47 +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=kRD7IWRNrAGm/Kbd/zC29UrOkbpwUfv7I9fPd3v8mAw=; b=Q/gFnlCzRZ82kcTZ5kF+GGO8rvuSK/TvWpvbabNeqeZDg5qV3qB+IfI+obmn5S9lMXt7lU2g3u0HYPKvzGRhO/DOUmk1FpsOYD2Wfxn8movb6Hx5NVwqq2owyE2FDCYemDLF8hIlXkQifyxj9ocQ7taMU7vHkT/QbZEv8sSAB6g= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB1965.eurprd04.prod.outlook.com (10.166.140.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Thu, 4 Apr 2019 11:45:45 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18%12]) with mapi id 15.20.1750.017; Thu, 4 Apr 2019 11:45:45 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: "gaetan.rivet@6wind.com" , Hemant Agrawal Thread-Topic: [PATCH] devargs: remove experimental from APIs Thread-Index: AQHU6tvwLCBOZmS6i0aIXZhATx1ZuA== Date: Thu, 4 Apr 2019 11:45:45 +0000 Message-ID: <20190404114344.20847-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [92.120.1.72] x-mailer: git-send-email 2.17.1 x-clientproxiedby: BM1PR0101CA0017.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::27) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9998e366-18d0-4cb5-2101-08d6b8f31287 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR0401MB1965; x-ms-traffictypediagnostic: VI1PR0401MB1965: x-microsoft-antispam-prvs: x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(136003)(39860400002)(366004)(376002)(346002)(189003)(199004)(2616005)(106356001)(81166006)(3846002)(6486002)(2501003)(6916009)(14454004)(26005)(386003)(186003)(476003)(66066001)(316002)(36756003)(86362001)(256004)(2351001)(1730700003)(6436002)(99286004)(71200400001)(54906003)(6506007)(81156014)(6116002)(50226002)(8676002)(97736004)(305945005)(52116002)(6512007)(25786009)(105586002)(68736007)(5024004)(478600001)(44832011)(71190400001)(8936002)(53936002)(2906002)(102836004)(5640700003)(5660300002)(1076003)(4326008)(486006)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB1965; H:VI1PR0401MB2541.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: TO6SGCUc2nzuSOjN1Vep2eWr63uWoSOoQu+Neyd322n7dUasTqdGTlWfOTOwJVRnc1rdC0Y2+EgTgjBXuQ4oCcpBerXpUZurMW7eoCbgTf4IzWZQHf64wL47moL6ojyC8Ki/ulG+SfNPEfXkXyHgCyNTecFIdfV8zgHQ3QOSnftBbK6DhVU6++BydLjK4vw5uC2fkXTNbTxdd4Weu2zEOYA9p4g2HJqwwthn05oGagocHU7aGckzKzbXaC8FYRdRh93I2NKNrOwlXqntnznik6HPvHCycV3aZdzQRw0mj+kywh3XQS794XdTpGc+cSZTYbq5tvu3YVQkypy2EzHrvU+67XxKolCLyxizj0+QGjS6BRRakdkoTzrG4ugdCPsNm4oh3KzSeNsM47SflGcl1eJmJpt8YmBk8j1midRIrKQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9998e366-18d0-4cb5-2101-08d6b8f31287 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2019 11:45:45.1437 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB1965 Subject: [dpdk-dev] [PATCH] devargs: remove experimental from 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190404114545.gKJsCPgLrX0g5aDKCTDuCw6TbM7krEa71-VOD3EFe5k@z> These APIs are available in DPDK for last 4 releases and used by multiple drivers. Cc: gaetan.rivet@6wind.com Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/eal_common_devargs.c | 10 ++-------- lib/librte_eal/common/include/rte_devargs.h | 6 ------ lib/librte_eal/rte_eal_version.map | 22 +++++++++++++-------- 3 files changed, 16 insertions(+), 22 deletions(-) diff --git a/lib/librte_eal/common/eal_common_devargs.c b/lib/librte_eal/co= mmon/eal_common_devargs.c index 1ccf12dcb..2123773ef 100644 --- a/lib/librte_eal/common/eal_common_devargs.c +++ b/lib/librte_eal/common/eal_common_devargs.c @@ -174,7 +174,6 @@ bus_name_cmp(const struct rte_bus *bus, const void *nam= e) return strncmp(bus->name, name, strlen(bus->name)); } =20 -__rte_experimental int rte_devargs_parse(struct rte_devargs *da, const char *dev) { @@ -230,7 +229,6 @@ rte_devargs_parse(struct rte_devargs *da, const char *d= ev) return 0; } =20 -__rte_experimental int rte_devargs_parsef(struct rte_devargs *da, const char *format, ...) { @@ -262,7 +260,7 @@ rte_devargs_parsef(struct rte_devargs *da, const char *= format, ...) return ret; } =20 -int __rte_experimental +int rte_devargs_insert(struct rte_devargs **da) { struct rte_devargs *listed_da; @@ -299,7 +297,6 @@ rte_devargs_insert(struct rte_devargs **da) } =20 /* store a whitelist parameter for later parsing */ -__rte_experimental int rte_devargs_add(enum rte_devtype devtype, const char *devargs_str) { @@ -336,7 +333,7 @@ rte_devargs_add(enum rte_devtype devtype, const char *d= evargs_str) return -1; } =20 -int __rte_experimental +int rte_devargs_remove(struct rte_devargs *devargs) { struct rte_devargs *d; @@ -358,7 +355,6 @@ rte_devargs_remove(struct rte_devargs *devargs) } =20 /* count the number of devices of a specified type */ -__rte_experimental unsigned int rte_devargs_type_count(enum rte_devtype devtype) { @@ -374,7 +370,6 @@ rte_devargs_type_count(enum rte_devtype devtype) } =20 /* dump the user devices on the console */ -__rte_experimental void rte_devargs_dump(FILE *f) { @@ -389,7 +384,6 @@ rte_devargs_dump(FILE *f) } =20 /* bus-aware rte_devargs iterator. */ -__rte_experimental struct rte_devargs * rte_devargs_next(const char *busname, const struct rte_devargs *start) { diff --git a/lib/librte_eal/common/include/rte_devargs.h b/lib/librte_eal/c= ommon/include/rte_devargs.h index 29b3fb7c8..89d943226 100644 --- a/lib/librte_eal/common/include/rte_devargs.h +++ b/lib/librte_eal/common/include/rte_devargs.h @@ -98,7 +98,6 @@ struct rte_devargs { * - 0 on success. * - Negative errno on error. */ -__rte_experimental int rte_devargs_parse(struct rte_devargs *da, const char *dev); =20 @@ -135,7 +134,6 @@ rte_devargs_parse(struct rte_devargs *da, const char *d= ev); * - 0 on success. * - Negative errno on error. */ -__rte_experimental int rte_devargs_parsef(struct rte_devargs *da, const char *format, ...) @@ -170,7 +168,6 @@ rte_devargs_insert(struct rte_devargs **da); * - 0 on success * - A negative value on error */ -__rte_experimental int rte_devargs_add(enum rte_devtype devtype, const char *devargs_str); =20 /** @@ -198,7 +195,6 @@ int rte_devargs_remove(struct rte_devargs *devargs); * @return * The number of devices. */ -__rte_experimental unsigned int rte_devargs_type_count(enum rte_devtype devtype); =20 @@ -208,7 +204,6 @@ rte_devargs_type_count(enum rte_devtype devtype); * @param f * A pointer to a file for output */ -__rte_experimental void rte_devargs_dump(FILE *f); =20 /** @@ -227,7 +222,6 @@ void rte_devargs_dump(FILE *f); * Next rte_devargs entry matching the requested bus, * NULL if there is none. */ -__rte_experimental struct rte_devargs * rte_devargs_next(const char *busname, const struct rte_devargs *start); =20 diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_ve= rsion.map index d6e375135..18d02017c 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -268,6 +268,20 @@ DPDK_18.11 { =20 } DPDK_18.08; =20 +DPDK_19.05 { + global: + + rte_devargs_add; + rte_devargs_dump; + rte_devargs_insert; + rte_devargs_next; + rte_devargs_parse; + rte_devargs_parsef; + rte_devargs_remove; + rte_devargs_type_count; + +} DPDK_18.11; + EXPERIMENTAL { global: =20 @@ -289,14 +303,6 @@ EXPERIMENTAL { rte_dev_is_probed; rte_dev_iterator_init; rte_dev_iterator_next; - rte_devargs_add; - rte_devargs_dump; - rte_devargs_insert; - rte_devargs_next; - rte_devargs_parse; - rte_devargs_parsef; - rte_devargs_remove; - rte_devargs_type_count; rte_eal_cleanup; rte_extmem_attach; rte_extmem_detach; --=20 2.17.1