From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6AE05A0C4D; Mon, 4 Oct 2021 21:33:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27CF94123C; Mon, 4 Oct 2021 21:33:08 +0200 (CEST) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id 3627F4069C for ; Mon, 4 Oct 2021 21:33:07 +0200 (CEST) Received: by mail-pj1-f52.google.com with SMTP id rm6-20020a17090b3ec600b0019ece2bdd20so676133pjb.1 for ; Mon, 04 Oct 2021 12:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wk4cmGxwlQ0mB/BCUGlT1aRkw2Kr4CUsAjvZGLKsiRk=; b=LnRUOPfobG6dWxTNXrBnldSpAOnQhf0IOiazDF2H+2zb0qG8rslPiqgL7C6uSwmuPQ 1tGBBFlCDcKrEPHvchPvbMMjJulZDbPzwU5zrZe7aEjvaxZCouhj0afkg2p6Fxi66YUc k3UlbPQXU8AdFWAmCBXH2Mfyk1JL1Es+oVC8KfHMY+it3+9ddnVQdZQWyShAQPegZPEO /iPoKmRxNzBJ9/WgOGgMLTAsx86sAgMB/w6KLxOmudGwD9s0wd5F22rb2mfqxYpotZOw NjJKTlpnRbZn507Av5YBJfOU5sGapjtJlnMRI4/9PpiqOD3sJaq4i1srFve8WvzxAj0t 4+LQ== 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=wk4cmGxwlQ0mB/BCUGlT1aRkw2Kr4CUsAjvZGLKsiRk=; b=r/3PGmY+pFNC6auI6pUI9+6oeDXkhQFU4anUL49oM8u2Ri0fwoLmbQHEEUTWRzFlDL zoqOWyDPLLUpVUW7kfpxZQXrh5cTDos544NwXgvumHzaIsQly+1sryo0fW+9qBwxDSgM BJyA+gp/1RVqT7FsjC/kjAhNJiX08I172GLLpGc5sqWJSTWeKw46zmOj5hEgaqRsPYkK MTUePksufxLrDBMDANXTc+/6JoIMI6Q09wrVspJ4j1135E+wEKzOxUHjX6/MjMUo9dRb x/oyLKQ7Ky7DVeut0ZVMECi1yh865mmgEIM5DLi2EgYjeVnEOny8ehbazmAdFdCRYqXv 7RTQ== X-Gm-Message-State: AOAM530CyiSAB4NVftrX35sthB0RhdWaCDqteo3kHV/9Ec0dBfie+gLM zVMe1lsfBpQ4Nm7WlSeMtNGhfEOVDudh/w== X-Google-Smtp-Source: ABdhPJyBvsNLj03KBnp7gcAd7oTwjKOXYH2F7PEGlpbo1Tiu+dJE8Z1sps0vjhO/LgK8S/2YlO3wjA== X-Received: by 2002:a17:90a:4812:: with SMTP id a18mr38476998pjh.40.1633375985995; Mon, 04 Oct 2021 12:33:05 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id x12sm15164139pfa.98.2021.10.04.12.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 12:33:05 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Andrew Rybchenko , Olivier Matz Date: Mon, 4 Oct 2021 12:32:58 -0700 Message-Id: <20211004193302.149338-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211004193302.149338-1-stephen@networkplumber.org> References: <20210825155229.67191-1-stephen@networkplumber.org> <20211004193302.149338-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 1/5] mbuf: make rte_pktmbuf_free_bulk and rte_pktmbuf_copy stable API's 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" These two functions were added in 20.11 as experimental. Time to promote the to stable status. Signed-off-by: Stephen Hemminger Acked-by: Andrew Rybchenko Acked-by: Olivier Matz --- lib/mbuf/rte_mbuf.h | 2 -- lib/mbuf/version.map | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index a555f216aeeb..7722b36ee44b 100644 --- a/lib/mbuf/rte_mbuf.h +++ b/lib/mbuf/rte_mbuf.h @@ -1426,7 +1426,6 @@ static inline void rte_pktmbuf_free(struct rte_mbuf *m) * @param count * Array size. */ -__rte_experimental void rte_pktmbuf_free_bulk(struct rte_mbuf **mbufs, unsigned int count); /** @@ -1470,7 +1469,6 @@ rte_pktmbuf_clone(struct rte_mbuf *md, struct rte_mempool *mp); * - The pointer to the new "clone" mbuf on success. * - NULL if allocation fails. */ -__rte_experimental struct rte_mbuf * rte_pktmbuf_copy(const struct rte_mbuf *m, struct rte_mempool *mp, uint32_t offset, uint32_t length); diff --git a/lib/mbuf/version.map b/lib/mbuf/version.map index 29654330eb04..940b04096520 100644 --- a/lib/mbuf/version.map +++ b/lib/mbuf/version.map @@ -22,7 +22,9 @@ DPDK_22 { rte_mbuf_set_user_mempool_ops; rte_mbuf_user_mempool_ops; rte_pktmbuf_clone; + rte_pktmbuf_copy; rte_pktmbuf_dump; + rte_pktmbuf_free_bulk; rte_pktmbuf_init; rte_pktmbuf_pool_create; rte_pktmbuf_pool_create_by_ops; @@ -44,8 +46,6 @@ EXPERIMENTAL { rte_mbuf_dyn_dump; rte_mbuf_dyn_rx_timestamp_register; rte_mbuf_dyn_tx_timestamp_register; - rte_pktmbuf_copy; - rte_pktmbuf_free_bulk; rte_pktmbuf_pool_create_extbuf; }; -- 2.30.2