From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id BA58E1B13A; Tue, 4 Dec 2018 21:57:56 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 07C63307DAAA; Tue, 4 Dec 2018 20:57:56 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-117-158.ams2.redhat.com [10.36.117.158]) by smtp.corp.redhat.com (Postfix) with ESMTP id C5E2460BE5; Tue, 4 Dec 2018 20:57:50 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, nhorman@tuxdriver.com, tredaelli@redhat.com, ferruh.yigit@intel.com, amr.mokhtar@intel.com Date: Tue, 4 Dec 2018 21:57:45 +0100 Message-Id: <1543957065-20990-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Tue, 04 Dec 2018 20:57:56 +0000 (UTC) Subject: [dpdk-dev] [PATCH] bbdev: add missing experimental tags 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, 04 Dec 2018 20:57:57 -0000 Those two symbols are missing the experimental tag in the library header. Because of this, a user can try to call this symbol without being aware this is an experimental api (neither compilation nor link warning). Fixes: 4935e1e9f76e ("bbdev: introduce wireless base band device lib") Signed-off-by: David Marchand --- lib/librte_bbdev/rte_bbdev_op.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_bbdev/rte_bbdev_op.h b/lib/librte_bbdev/rte_bbdev_op.h index 83f62c2..c9200b5 100644 --- a/lib/librte_bbdev/rte_bbdev_op.h +++ b/lib/librte_bbdev/rte_bbdev_op.h @@ -459,7 +459,7 @@ struct rte_bbdev_op_pool_private { * Operation type as string or NULL if op_type is invalid * */ -const char* +__rte_experimental const char * rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type); /** @@ -482,7 +482,7 @@ struct rte_bbdev_op_pool_private { * - Pointer to a mempool on success, * - NULL pointer on failure. */ -struct rte_mempool * +__rte_experimental struct rte_mempool * rte_bbdev_op_pool_create(const char *name, enum rte_bbdev_op_type type, unsigned int num_elements, unsigned int cache_size, int socket_id); -- 1.8.3.1