Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/44810/?format=api
http://patches.dpdk.org/api/patches/44810/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180917124509.20867-1-david.marchand@6wind.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20180917124509.20867-1-david.marchand@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180917124509.20867-1-david.marchand@6wind.com", "date": "2018-09-17T12:45:09", "name": "[v2] mbuf: remove deprecated segment free functions", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "39f6946583839625845231a487447589fc0ba49a", "submitter": { "id": 3, "url": "http://patches.dpdk.org/api/people/3/?format=api", "name": "David Marchand", "email": "david.marchand@6wind.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180917124509.20867-1-david.marchand@6wind.com/mbox/", "series": [ { "id": 1355, "url": "http://patches.dpdk.org/api/series/1355/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1355", "date": "2018-09-17T12:45:09", "name": "[v2] mbuf: remove deprecated segment free functions", "version": 2, "mbox": "http://patches.dpdk.org/series/1355/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/44810/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/44810/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CB0E97EE3;\n\tMon, 17 Sep 2018 14:45:25 +0200 (CEST)", "from mail-wm1-f65.google.com (mail-wm1-f65.google.com\n\t[209.85.128.65]) by dpdk.org (Postfix) with ESMTP id 71A145F29\n\tfor <dev@dpdk.org>; Mon, 17 Sep 2018 14:45:24 +0200 (CEST)", "by mail-wm1-f65.google.com with SMTP id b19-v6so9449935wme.3\n\tfor <dev@dpdk.org>; Mon, 17 Sep 2018 05:45:24 -0700 (PDT)", "from 6wind.com ([2a01:cb19:148:f500:9c4c:d530:59fb:3e22])\n\tby smtp.gmail.com with ESMTPSA id\n\tv46-v6sm19260878wrc.63.2018.09.17.05.45.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 17 Sep 2018 05:45:22 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=KBBRpUCJD0O49nupXXkc/oA7aWduMe+nMZpL9erqpT0=;\n\tb=Hc6sx3N9s053YhqIKZuY8Jdd19oVC0kzlOBemOCt42/Lig9HK2SIUqgt4+OGu8q8RB\n\tbiS1HSVRSEDCezRGPFYxQk5b8L4SpQ9NVf8ZHx/GeMj/y4By2bt/XAAmuoBZ4791u9ec\n\ttFxezRaOzC2rPUyGeoCkU230b+Op4gOYIE+vdr77RKh1aH+hdSwdOJcu+S+ZQ6WrXtj7\n\trdeANPy8ZgRFL2ZI/cEEJszbccVdZI5Iimfoaj8cQhTL8uzxfiLw/DU3vHdMnpL557XS\n\t4fGCKjaRMFPAo9yv6wU76/xwTvply8RrTmj9EFrlRimvARZEEaSTKlB7r9yyvZhsWDmF\n\tlRqg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=KBBRpUCJD0O49nupXXkc/oA7aWduMe+nMZpL9erqpT0=;\n\tb=CZ6g4HemjPxXMItcA4ZhfKSOUGIq2K+UuPmQsprEt+T8VP4JFdu6Bo64neE4uohF+7\n\tUKAtpsfSQFcXwHOm1L2KtZXxJXdwhezSaMolMqvN+4ZfesCXT12aDeIkWAW1SF170K9u\n\tDNuHYW2bKO7JVz+t4ZToA0VprpSbiqtb0Q25AYuEzrpRCx4YBYN/IPix+tnYaCacHstx\n\tiMSi/m8PhiFN7okmiVz2vFrRDcYSTduxw5EfTojGE61j/QTkWE578AxIf7s3wswOqlCF\n\t22FXWWZZa2uVtGDPvlONgWES1q5yUcFcPieUW0vlwWeD7fkEE162ul0EEKdv/FYl6Wmo\n\tklhA==", "X-Gm-Message-State": "APzg51AMr2Edi/l7+NAExT1O3wAmCZkDPUu3yrXJyzaLJkvnbfDF2u1I\n\tqUeMiBox7qo2nuXCKDssWwaab3U7fMU=", "X-Google-Smtp-Source": "ANB0VdYs6OASRNt6IglUwtZ9PGs2oxIqwgIcGoPCtoKuJscIUoiNvU3c/hiwKv10Q/nF1gCuf7JdDQ==", "X-Received": "by 2002:a1c:b709:: with SMTP id\n\th9-v6mr10527501wmf.130.1537188323575; \n\tMon, 17 Sep 2018 05:45:23 -0700 (PDT)", "From": "David Marchand <david.marchand@6wind.com>", "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 <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "__rte_mbuf_raw_free and __rte_pktmbuf_prefree_seg have been deprecated for\na long time now (early 17.05), are not part of the abi and are easily\nreplaced with existing api.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\nAcked-by: Andrew Rybchenko <arybchenko@solarflare.com>\n---\n doc/guides/rel_notes/release_18_11.rst | 5 +++++\n lib/librte_mbuf/rte_mbuf.h | 16 ----------------\n 2 files changed, 5 insertions(+), 16 deletions(-)", "diff": "diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst\nindex 3ae6b3f58..d98573072 100644\n--- a/doc/guides/rel_notes/release_18_11.rst\n+++ b/doc/guides/rel_notes/release_18_11.rst\n@@ -68,6 +68,11 @@ API Changes\n Also, make sure to start the actual text at the margin.\n =========================================================\n \n+* mbuf: The ``__rte_mbuf_raw_free()`` and ``__rte_pktmbuf_prefree_seg()``\n+ functions were deprecated since 17.05 and are removed:\n+\n+ Those functions were kept for compatibility and are replaced by\n+ ``rte_mbuf_raw_free()`` and ``rte_pktmbuf_prefree_seg()``.\n \n ABI Changes\n -----------\ndiff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\nindex 9ce5d76d7..a50b05c64 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -1038,14 +1038,6 @@ rte_mbuf_raw_free(struct rte_mbuf *m)\n \trte_mempool_put(m->pool, m);\n }\n \n-/* compat with older versions */\n-__rte_deprecated\n-static inline void\n-__rte_mbuf_raw_free(struct rte_mbuf *m)\n-{\n-\trte_mbuf_raw_free(m);\n-}\n-\n /**\n * The packet mbuf constructor.\n *\n@@ -1658,14 +1650,6 @@ rte_pktmbuf_prefree_seg(struct rte_mbuf *m)\n \treturn NULL;\n }\n \n-/* deprecated, replaced by rte_pktmbuf_prefree_seg() */\n-__rte_deprecated\n-static inline struct rte_mbuf *\n-__rte_pktmbuf_prefree_seg(struct rte_mbuf *m)\n-{\n-\treturn rte_pktmbuf_prefree_seg(m);\n-}\n-\n /**\n * Free a segment of a packet mbuf into its original mempool.\n *\n", "prefixes": [ "v2" ] }{ "id": 44810, "url": "