From patchwork Fri Sep 24 15:57:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Matz X-Patchwork-Id: 99637 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFD5BA0548; Fri, 24 Sep 2021 17:58:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1EB141336; Fri, 24 Sep 2021 17:58:10 +0200 (CEST) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id EB24A4126F for ; Fri, 24 Sep 2021 17:58:07 +0200 (CEST) Received: by mail-wr1-f44.google.com with SMTP id w17so28817847wrv.10 for ; Fri, 24 Sep 2021 08:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sIhq580+8vSbeKd1EAFqX6ngK8O9IRg3IZMhWwG/8pA=; b=ADRfuN/bo/FegCPvl7fOd9JdayJELLRxvf2O9fAEJDbsLcGHF1He8Isn/SuZM02P+F tG597wVG7UcZCMGJstderAa6Ne/Wy6xdRmWycWnVUg50VT1T1eJ4RiVPa44kzmKKKnGL ZkuDTytw45bO8ZKu1zchXHNNmfigAF2Z0R3+me1iNJoaGr9k5+nA1TO+Uhcoeb+w9Mdw IMIaK1hS+fXoEwttTwZ79rFrkreb9QTUbyBYE5WlSqQI93uoj5UR7Ia22dEdceeTH0Ob M9QmEqfagsqNf+bD/R7mUGC9FD8Ux+lchica+ODAvDAexoyQtUKfJLfJ8vrnHCQonlD5 D5oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sIhq580+8vSbeKd1EAFqX6ngK8O9IRg3IZMhWwG/8pA=; b=l55K8+Q9B9pBrN7BxcdMI3IeJM0XvykD68Qt48ce2R16xX735tW7fw6fOkX1wCupSY W3rfV0EGArpvUXlzJT2HPMbjF31oToLs4gRPjlUeoFcNHdLbOmteP5CsJofxpyQhQKno Y8NlqAUA6QUtKB/u5XIjN5IxioeBINoRpYz+4UbQGZFtRcCa/4V1CV/7QihycqNdZGcY NRZF88/p0BzjDHY0RP7/CLhVtonMCEwHwLaeLBSIXqsYXcU6zIv2W6tUL4Acpi2sneZL WrNbagbWZO0pSkBJ5zt4iBViShf4ZDOCtqecesyHgROgczh+A4OncZAkynNND8vn3UTq tLbg== X-Gm-Message-State: AOAM530Ed0hUsVam2LV4PN4tzD3bdBJrwmLGUZsZtc5knZe7InO50i2V 1Iw8BF2yHYUsNvjZUFoy10Wk/MPt260nuA== X-Google-Smtp-Source: ABdhPJxe3OaKLi10PxO3w6kK29aRVdWo5ZnkIi8HkEWTSR7hTiAb1uPKF/d+brIS8tsYoT2pPqMa1g== X-Received: by 2002:a05:6000:1b8d:: with SMTP id r13mr12825525wru.230.1632499087762; Fri, 24 Sep 2021 08:58:07 -0700 (PDT) Received: from gojira.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id a75sm9280829wmd.4.2021.09.24.08.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 08:58:07 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Cc: Olivier Matz , Bruce Richardson , Xueming Li , Gaetan Rivet , Ray Kinsella Date: Fri, 24 Sep 2021 17:57:37 +0200 Message-Id: <20210924155740.20510-3-olivier.matz@6wind.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210924155740.20510-1-olivier.matz@6wind.com> References: <20210924155740.20510-1-olivier.matz@6wind.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 2/5] kvargs: promote get from key as stable 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" The function rte_kvargs_get() is used by eal and pci bus driver since its introduction in commit 3ab385063cb9 ("kvargs: add get by key") and commit d2a66ad79480 ("bus: add device arguments name parsing"), in dpdk 21.05. Let's promote it as stable. Signed-off-by: Olivier Matz --- lib/kvargs/rte_kvargs.h | 1 - lib/kvargs/version.map | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/kvargs/rte_kvargs.h b/lib/kvargs/rte_kvargs.h index c30891c668..328f0d3cc6 100644 --- a/lib/kvargs/rte_kvargs.h +++ b/lib/kvargs/rte_kvargs.h @@ -130,7 +130,6 @@ void rte_kvargs_free(struct rte_kvargs *kvlist); * NULL if no key matches the input, * a value associated with a matching key otherwise. */ -__rte_experimental const char *rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key); /** diff --git a/lib/kvargs/version.map b/lib/kvargs/version.map index 75b13fcb78..236f35c02b 100644 --- a/lib/kvargs/version.map +++ b/lib/kvargs/version.map @@ -3,6 +3,7 @@ DPDK_22 { rte_kvargs_count; rte_kvargs_free; + rte_kvargs_get; rte_kvargs_parse; rte_kvargs_parse_delim; rte_kvargs_process; @@ -15,6 +16,4 @@ EXPERIMENTAL { rte_kvargs_strcmp; - # added in 21.05 - rte_kvargs_get; };