From patchwork Thu Apr 4 11:45:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 161785 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1491898jan; Thu, 4 Apr 2019 04:45:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1yjt3ZAJ4hPlAXn5M2a0pCbY5+cb3ovsOGqx3EAxe9uOK9BmZCqPYRy3k9Ed5ZSOoHiEV X-Received: by 2002:a17:906:1942:: with SMTP id b2mr3328413eje.5.1554378351891; Thu, 04 Apr 2019 04:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554378351; cv=none; d=google.com; s=arc-20160816; b=z1vXbW4vaK6dCLkmrTs+CH4nv5uqDK4NCRWv1T50VDLgAi2MEm2NuX9SPV82+JTuON saHm35NOWkf8IN2ZFq6E/xGgVbWn+YWRgzbWRjaftgMcqvzPwO0hykizR2q8cS3eyjNK t5nzpPI+/695f+Z/hEUxKxRP9AYJ+6tDdjNmR//F91aiM3STcPPapuvyHXX5QxV9x9cp 28mpWgPmLUUQs1Q0MGzcIHucxViKqustf+fLYC7CdcMJQmMOTWLRU/quioyoOxQDyOco ZV95p1X3pHNdQ+oZT3Cr356fHAmZmJQWkfAdnZ11ZYyKDppHvQSONtitJ0igzlE6K8aD jj8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:mime-version :content-transfer-encoding:content-language:accept-language :message-id:date:thread-index:thread-topic:cc:to:from:dkim-signature; bh=kRD7IWRNrAGm/Kbd/zC29UrOkbpwUfv7I9fPd3v8mAw=; b=fcez27PhE4rEFNOt7YQwbMkge+rYRafnk1ZHeMzKTiTHzR1vfEdg2mAOnJ/aKRDuQV lHik6fGiAlo4aEf+ZAm5kPp40dh3lGFHMoiucCxLe86yAyfu/tOVO1sC/fX+isaHE9Yz jbJ1fxyYGtjt3L1PWJSOJKwKOEbsymacL4v8oBHsJfDAF6Bvt57cgJfVExr+/ru4FHVx Ac2HPrx5FYnofpJ8QePVy+O4TTkKQLJciqSTxrXablXarDi0LrBBiPRlq58nU00iMy3n 6EKRqTLMfxtDMw3uJG4DcGft51GE+/58fdq6IN2urKvlJ7XJAGEVyifVIwsCnyFBU14X QBJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="Q/gFnlCz"; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id b24si96287eda.197.2019.04.04.04.45.51; Thu, 04 Apr 2019 04:45:51 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="Q/gFnlCz"; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com 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= 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" 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(-) -- 2.17.1 Acked-by: Stephen Hemminger Acked-by: Gaetan Rivet diff --git a/lib/librte_eal/common/eal_common_devargs.c b/lib/librte_eal/common/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 *name) return strncmp(bus->name, name, strlen(bus->name)); } -__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 *dev) return 0; } -__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; } -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) } /* 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 *devargs_str) return -1; } -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) } /* 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) } /* dump the user devices on the console */ -__rte_experimental void rte_devargs_dump(FILE *f) { @@ -389,7 +384,6 @@ rte_devargs_dump(FILE *f) } /* 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/common/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); @@ -135,7 +134,6 @@ rte_devargs_parse(struct rte_devargs *da, const char *dev); * - 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); /** @@ -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); @@ -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); /** @@ -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); diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.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 { } DPDK_18.08; +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: @@ -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;