From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id 71A145F29 for ; Mon, 17 Sep 2018 14:45:24 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id b19-v6so9449935wme.3 for ; Mon, 17 Sep 2018 05:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KBBRpUCJD0O49nupXXkc/oA7aWduMe+nMZpL9erqpT0=; b=Hc6sx3N9s053YhqIKZuY8Jdd19oVC0kzlOBemOCt42/Lig9HK2SIUqgt4+OGu8q8RB biS1HSVRSEDCezRGPFYxQk5b8L4SpQ9NVf8ZHx/GeMj/y4By2bt/XAAmuoBZ4791u9ec tFxezRaOzC2rPUyGeoCkU230b+Op4gOYIE+vdr77RKh1aH+hdSwdOJcu+S+ZQ6WrXtj7 rdeANPy8ZgRFL2ZI/cEEJszbccVdZI5Iimfoaj8cQhTL8uzxfiLw/DU3vHdMnpL557XS 4fGCKjaRMFPAo9yv6wU76/xwTvply8RrTmj9EFrlRimvARZEEaSTKlB7r9yyvZhsWDmF lRqg== 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; bh=KBBRpUCJD0O49nupXXkc/oA7aWduMe+nMZpL9erqpT0=; b=CZ6g4HemjPxXMItcA4ZhfKSOUGIq2K+UuPmQsprEt+T8VP4JFdu6Bo64neE4uohF+7 UKAtpsfSQFcXwHOm1L2KtZXxJXdwhezSaMolMqvN+4ZfesCXT12aDeIkWAW1SF170K9u DNuHYW2bKO7JVz+t4ZToA0VprpSbiqtb0Q25AYuEzrpRCx4YBYN/IPix+tnYaCacHstx iMSi/m8PhiFN7okmiVz2vFrRDcYSTduxw5EfTojGE61j/QTkWE578AxIf7s3wswOqlCF 22FXWWZZa2uVtGDPvlONgWES1q5yUcFcPieUW0vlwWeD7fkEE162ul0EEKdv/FYl6Wmo klhA== X-Gm-Message-State: APzg51AMr2Edi/l7+NAExT1O3wAmCZkDPUu3yrXJyzaLJkvnbfDF2u1I qUeMiBox7qo2nuXCKDssWwaab3U7fMU= X-Google-Smtp-Source: ANB0VdYs6OASRNt6IglUwtZ9PGs2oxIqwgIcGoPCtoKuJscIUoiNvU3c/hiwKv10Q/nF1gCuf7JdDQ== X-Received: by 2002:a1c:b709:: with SMTP id h9-v6mr10527501wmf.130.1537188323575; Mon, 17 Sep 2018 05:45:23 -0700 (PDT) Received: from 6wind.com ([2a01:cb19:148:f500:9c4c:d530:59fb:3e22]) by smtp.gmail.com with ESMTPSA id v46-v6sm19260878wrc.63.2018.09.17.05.45.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 05:45:22 -0700 (PDT) From: David Marchand To: dev@dpdk.org Cc: olivier.matz@6wind.com, arybchenko@solarflare.com, thomas@monjalon.net Date: Mon, 17 Sep 2018 14:45:09 +0200 Message-Id: <20180917124509.20867-1-david.marchand@6wind.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180910051819.15528-1-david.marchand@6wind.com> References: <20180910051819.15528-1-david.marchand@6wind.com> Subject: [dpdk-dev] [PATCH v2] mbuf: remove deprecated segment free functions 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: Mon, 17 Sep 2018 12:45:24 -0000 __rte_mbuf_raw_free and __rte_pktmbuf_prefree_seg have been deprecated for a long time now (early 17.05), are not part of the abi and are easily replaced with existing api. Signed-off-by: David Marchand Acked-by: Andrew Rybchenko --- doc/guides/rel_notes/release_18_11.rst | 5 +++++ lib/librte_mbuf/rte_mbuf.h | 16 ---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst index 3ae6b3f58..d98573072 100644 --- a/doc/guides/rel_notes/release_18_11.rst +++ b/doc/guides/rel_notes/release_18_11.rst @@ -68,6 +68,11 @@ API Changes Also, make sure to start the actual text at the margin. ========================================================= +* mbuf: The ``__rte_mbuf_raw_free()`` and ``__rte_pktmbuf_prefree_seg()`` + functions were deprecated since 17.05 and are removed: + + Those functions were kept for compatibility and are replaced by + ``rte_mbuf_raw_free()`` and ``rte_pktmbuf_prefree_seg()``. ABI Changes ----------- diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 9ce5d76d7..a50b05c64 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -1038,14 +1038,6 @@ rte_mbuf_raw_free(struct rte_mbuf *m) rte_mempool_put(m->pool, m); } -/* compat with older versions */ -__rte_deprecated -static inline void -__rte_mbuf_raw_free(struct rte_mbuf *m) -{ - rte_mbuf_raw_free(m); -} - /** * The packet mbuf constructor. * @@ -1658,14 +1650,6 @@ rte_pktmbuf_prefree_seg(struct rte_mbuf *m) return NULL; } -/* deprecated, replaced by rte_pktmbuf_prefree_seg() */ -__rte_deprecated -static inline struct rte_mbuf * -__rte_pktmbuf_prefree_seg(struct rte_mbuf *m) -{ - return rte_pktmbuf_prefree_seg(m); -} - /** * Free a segment of a packet mbuf into its original mempool. * -- 2.17.1