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 C7E91A0C41; Wed, 25 Aug 2021 17:52:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D6A1411F0; Wed, 25 Aug 2021 17:52:36 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id D643E4003D for ; Wed, 25 Aug 2021 17:52:34 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id 7so102819pfl.10 for ; Wed, 25 Aug 2021 08:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LLUlF0EYDTwI4skeLYjT+GJBND3zarq/5UetnSVvFm8=; b=YbxB5+uM8WZ7FbkY0G8+XdPdc8bHk/lNH5bD67ud8o14XWDN9qP3n5XxiHhvZxBKgb 5vEQSSsd0yUofSYEwf6vDmdOvSI61ZM0DQj+WUrKhD9wAiEnwwpctEzOhWUX5/oQxb0R ZXk3gMStR82GI4jVZw70L9ZWtfHBecDPSf59SRilzy0LD7VG/lwY2nzzCMd3XyqfTS6N qCL+S15gyk1DJmj5Zqu0FAOFpsKRj/tuuZzFXjctGSm/gdx/pfxPTpj9jRGaaDHr2s8j eOTS5pQsjWlc6Lij8ewf5ibCOuH5TCPdJhTLK0MV79up8y4UHKQHdfaa5G4zDhlhXTy4 zM0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LLUlF0EYDTwI4skeLYjT+GJBND3zarq/5UetnSVvFm8=; b=GlH6JRsIAPrN1/Kcf3Z88x1D0tEyfrmAxcsUeU+CBLXPNG/h/6fbvijH04RKpPWqba lbhqn5iLGcvsVB2WALQBhBud566qTiFc9fUz+Y8py+XQ2gjbIVIyNeprzIlOxvC8patE /LR70qcBmUHxPv4Dv3yZzLnc77Hy+ZXOk1qOFMMQzE9xjdfIKh3f5f/F8mYR5fEGh6IS bF1ZeBRQZXayPCkmHBpXmRfPO+PxWchlBej5IsDjcjRvVBU+yc7+yWvbBFDaqItoo4km Cxjg6Pmkj8IMNUbwOtGydHeoP+X0tSrF6LKM5sQmG0VqnFa+RtL/Br1EVRSKxbVrMUOt /YOg== X-Gm-Message-State: AOAM5320CUSokpJk8dQApySsPmX8Uks/PheTrjJCgjMKjkhF4Z20WNXn OWj934RyGDQxE6FMAN+wUWqud+7Ny6h8Hw== X-Google-Smtp-Source: ABdhPJydozyLFk+bbqBxbR6qIwoj25OmERLBESfvRHtLvY8e6SoeNWxAeQhYevNQbPKftdssIdiUig== X-Received: by 2002:a05:6a00:1746:b0:3eb:1577:bf9b with SMTP id j6-20020a056a00174600b003eb1577bf9bmr21789939pfc.27.1629906753655; Wed, 25 Aug 2021 08:52:33 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id u24sm244659pfm.85.2021.08.25.08.52.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Aug 2021 08:52:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Aug 2021 08:52:28 -0700 Message-Id: <20210825155229.67191-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210825155229.67191-1-stephen@networkplumber.org> References: <20210825155229.67191-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 1/2] mbuf: take experimental of mbuf copy and bulk free 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 supported status. Signed-off-by: Stephen Hemminger --- 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