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 B251EA0C55; Tue, 31 Aug 2021 21:35:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79DDC410E9; Tue, 31 Aug 2021 21:35:15 +0200 (CEST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 83F62406A3 for ; Tue, 31 Aug 2021 21:35:12 +0200 (CEST) Received: by mail-pj1-f54.google.com with SMTP id mj9-20020a17090b368900b001965618d019so2862368pjb.4 for ; Tue, 31 Aug 2021 12:35:12 -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=al2CM692lh9nyO7mOOiB3wWxdNBiWTr66KOPPgx1ync=; b=NiEU5oyySH1FWUvLskZ8qZBakhnPtvwAvWD8tYCAcg0DedBIsLEH4+LhiFoDVeQp57 F2cECNYmec+kGNdLWdVKKCBt068b8HK9wpbudOSjLLFly3KP05GwkT1gHl1537kOA1bN heBmyZRan+4+kbSDIt3awvULoziDVuFcqMYNXQmBztvAIo4c6YIKSx6OMDcmXFZPbWgc 3kLwbpYocCKdYFMNAPW0rLmc9FyDfd6hlX5zFigopvDFoqSnheP5KDQkyc5jy3F7oRg3 WDA7HI97QIn38+7q0CKVtPxS1RgUq86pQOVENo3WB/64OQx5KP0fHoLzgFt5EaWKa+gu Z8IQ== 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=al2CM692lh9nyO7mOOiB3wWxdNBiWTr66KOPPgx1ync=; b=T2DeQHqUsvWUDx5s1Vnvmjg2AXzXT4exlhnSmo4mYn4uTbQusylyzuzgiSkvIt/xIE mRsZToOK4GgAT+/QecMD0WoqzqGEzFfdYqHbOiGjxl2p9obEUY0Xhsr6FP3NiE4APH3C 58JuH2f85btiG0sq4/NyyyCylcTY28scB6uAFwDBpLYlVSSX6o6WuYkX3Y+NSRnjHZXn X30b+LGoAljCdaopvS/e2q190gKl3zTDXqO+0hxabphG+x2lNWiuQwZG/TsLOFQk4vgO CVVzBRtStMNUrSxHhkkrKwahS7kJ9dlJdrto5iYYIKYOATL/eliU5P4mIP4XOCjM66fD tlUw== X-Gm-Message-State: AOAM531/iYbJgcW/ppeB9GSk6nSoxoLScuRChk1BPDPY7KboSH1YE+JF ++WHoCwS6DCcC/DLeBbGGKQjqAklpnEkXg== X-Google-Smtp-Source: ABdhPJyKQ6x+blTmcVA/5z4azsoVsmJgXscj4kIzmnqO0cpxZotMvB4d6qtZaPZUPVGcLDVseCZC/g== X-Received: by 2002:a17:902:ff0f:b0:132:3793:3b0e with SMTP id f15-20020a170902ff0f00b0013237933b0emr5963063plj.57.1630438511273; Tue, 31 Aug 2021 12:35:11 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id g37sm20501272pgl.94.2021.08.31.12.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 12:35:10 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 31 Aug 2021 12:35:04 -0700 Message-Id: <20210831193507.43426-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210831193507.43426-1-stephen@networkplumber.org> References: <20210825220958.91326-1-stephen@networkplumber.org> <20210831193507.43426-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 1/4] 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 --- 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