get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/78037/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 78037,
    "url": "https://patches.dpdk.org/api/patches/78037/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200917104133.6186-3-thomas@monjalon.net/",
    "project": {
        "id": 1,
        "url": "https://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": "<20200917104133.6186-3-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200917104133.6186-3-thomas@monjalon.net",
    "date": "2020-09-17T10:41:31",
    "name": "[v2,2/4] mempool: remove physical address aliases",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "700baead0bc73f9c3d9e0fe254d5fde4f392a450",
    "submitter": {
        "id": 685,
        "url": "https://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200917104133.6186-3-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 12317,
            "url": "https://patches.dpdk.org/api/series/12317/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12317",
            "date": "2020-09-17T10:41:29",
            "name": "remove aliases replaced with IOVA",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/12317/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/78037/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/78037/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0ABF0A04BC;\n\tThu, 17 Sep 2020 12:42:04 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2FB121D600;\n\tThu, 17 Sep 2020 12:41:50 +0200 (CEST)",
            "from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com\n [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 00C5B1D5F8\n for <dev@dpdk.org>; Thu, 17 Sep 2020 12:41:48 +0200 (CEST)",
            "from compute7.internal (compute7.nyi.internal [10.202.2.47])\n by mailout.nyi.internal (Postfix) with ESMTP id 969415C056B;\n Thu, 17 Sep 2020 06:41:47 -0400 (EDT)",
            "from mailfrontend2 ([10.202.2.163])\n by compute7.internal (MEProxy); Thu, 17 Sep 2020 06:41:47 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 55E503064687;\n Thu, 17 Sep 2020 06:41:46 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=Zbvw9Z3q6bqum\n S/3d5tlK0zbBVAXR6eUeAMyXpQqe+k=; b=JbxQx5ArxTkdBa+BTJCqm9cqyhmWn\n Mvws4fwuV0y9BjotNlxilhNyFmKBIuNqtKxTmSZm3su5L9kJt7kk2JcTnKjv4mml\n NbZVsS6Ma1IrinK1vFzq6tCf83sbLQyIJR+EJXibKoQc3ru4tFh6edqepZGykB4x\n IV/lSoAF/Af5YWZnNvR6fMT8drty+d488OnaxVi5JdjMd2bM4weeczdfFpOVD4JI\n TdcVNqsMKsmjfjThWSN/Jn+fQY3VhRV+QiQelx4yWpbrbUrIXy9rJYz8o/JucXda\n bWcCOvwQATzA60onEhYcaEbv1Rn2CL2jiol2j9wPL566z2AA78JaLvHbw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm3; bh=Zbvw9Z3q6bqumS/3d5tlK0zbBVAXR6eUeAMyXpQqe+k=; b=uOuWVHON\n ijrNNGRIDg8+LawgWy1ZDaL6ges0yF2zyJHXpppukmILAyD7rPYIznbtU2qRXFoT\n Ef8RbMG210fX4OBKoOm2qEK2kozRCCdYysincmvN1+3fARy1dup0D1IwWh7FH6NJ\n DbSVp7XyWOLXpWWplxY6tswSL6p1uCqXpWeV3F7YLNGUPKkr+G5yd+CrP69fJiNw\n syvbrhOluVuxd9tCLqbUWFpgBFfJETeCwsXcZQFcQXo0rcGCC+ahRCz6yjAmQP3c\n U2pMyr0xHv1zYMx/z03Jx/UGy2OXp64cfpYGz13MuMYZHrZDQK1xylKM5DoE6EpT\n fZ1IrF2WMI5o7Q=="
        ],
        "X-ME-Sender": "<xms:az1jX-2HCBAh-SzDlULtNbOEMiIP0jjBXR4lb_2vVk-cd4qNk3oNPw>\n <xme:az1jXxHqMpr1hgCetNp_7XiKSmRUHafMQ-ae_ksnysfCLJJsieM23x0t8dCqicIH_\n SMSTTneAUjPl-U6SQ>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedujedrtdeggdefvdcutefuodetggdotefrodftvf\n curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc\n fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs\n ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf\n frrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedtgfeu\n tdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih\n iivgepvdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho\n nhdrnhgvth",
        "X-ME-Proxy": "<xmx:az1jX25HBeOKfw-xRflOxLu0xFdu4ImSunjGA_P2WJ6bELLK6W2LmA>\n <xmx:az1jX_2pt-ml6T84OAxyMkbO3GPX4ElXEd9x4-MtQFV4pburmw1K7A>\n <xmx:az1jXxFzbN1Hr8G2YVKW0lE8AmrJ3j2v9YF755lH9wOjR5A0ARvVVQ>\n <xmx:az1jX1h7HkaxJ2AhcjNoogRu9GVM1iDcSu6me98IF6MNjKmj8DXKmw>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, mdr@ashroe.eu,\n Andrew Rybchenko <arybchenko@solarflare.com>,\n John McNamara <john.mcnamara@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>,\n Olivier Matz <olivier.matz@6wind.com>",
        "Date": "Thu, 17 Sep 2020 12:41:31 +0200",
        "Message-Id": "<20200917104133.6186-3-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20200917104133.6186-1-thomas@monjalon.net>",
        "References": "<20200914161801.572174-1-thomas@monjalon.net>\n <20200917104133.6186-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 2/4] mempool: remove physical address aliases",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Remove the deprecated unioned fields physaddr and phys_addr\nfrom the structures rte_mempool_objhdr and rte_mempool_memhdr.\nThey are replaced with the fields iova which are at the same offsets.\n\nRemove the deprecated macro MEMPOOL_F_NO_PHYS_CONTIG\nwhich is an alias of the more recent MEMPOOL_F_NO_IOVA_CONTIG.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\nAcked-by: Andrew Rybchenko <arybchenko@solarflare.com>\n---\n doc/guides/rel_notes/release_20_11.rst |  6 ++++++\n lib/librte_mempool/rte_mempool.h       | 13 ++-----------\n 2 files changed, 8 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst\nindex c49e612c43..71f970f1ac 100644\n--- a/doc/guides/rel_notes/release_20_11.rst\n+++ b/doc/guides/rel_notes/release_20_11.rst\n@@ -88,6 +88,12 @@ API Changes\n   the structures ``rte_memseg`` and ``rte_memzone``.\n   The field ``iova`` is remaining from the old unions.\n \n+* mempool: Removed the unioned fields ``phys_addr`` and ``physaddr`` from\n+  the structures ``rte_mempool_memhdr`` and ``rte_mempool_objhdr``.\n+  The field ``iova`` is remaining from the old unions.\n+  The flag name ``MEMPOOL_F_NO_PHYS_CONTIG`` is removed,\n+  while the aliased flag ``MEMPOOL_F_NO_IOVA_CONTIG`` is kept.\n+\n * mbuf: Removed the unioned field ``refcnt_atomic`` from\n   the structures ``rte_mbuf`` and ``rte_mbuf_ext_shared_info``.\n   The field ``refcnt`` is remaining from the old unions.\ndiff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h\nindex 6ad7e31170..9ea7ff934c 100644\n--- a/lib/librte_mempool/rte_mempool.h\n+++ b/lib/librte_mempool/rte_mempool.h\n@@ -138,11 +138,7 @@ struct rte_mempool_objsz {\n struct rte_mempool_objhdr {\n \tSTAILQ_ENTRY(rte_mempool_objhdr) next; /**< Next in list. */\n \tstruct rte_mempool *mp;          /**< The mempool owning the object. */\n-\tRTE_STD_C11\n-\tunion {\n-\t\trte_iova_t iova;         /**< IO address of the object. */\n-\t\tphys_addr_t physaddr;    /**< deprecated - Physical address of the object. */\n-\t};\n+\trte_iova_t iova;                 /**< IO address of the object. */\n #ifdef RTE_LIBRTE_MEMPOOL_DEBUG\n \tuint64_t cookie;                 /**< Debug cookie. */\n #endif\n@@ -188,11 +184,7 @@ struct rte_mempool_memhdr {\n \tSTAILQ_ENTRY(rte_mempool_memhdr) next; /**< Next in list. */\n \tstruct rte_mempool *mp;  /**< The mempool owning the chunk */\n \tvoid *addr;              /**< Virtual address of the chunk */\n-\tRTE_STD_C11\n-\tunion {\n-\t\trte_iova_t iova;       /**< IO address of the chunk */\n-\t\tphys_addr_t phys_addr; /**< Physical address of the chunk */\n-\t};\n+\trte_iova_t iova;         /**< IO address of the chunk */\n \tsize_t len;              /**< length of the chunk */\n \trte_mempool_memchunk_free_cb_t *free_cb; /**< Free callback */\n \tvoid *opaque;            /**< Argument passed to the free callback */\n@@ -269,7 +261,6 @@ struct rte_mempool {\n #define MEMPOOL_F_SC_GET         0x0008 /**< Default get is \"single-consumer\".*/\n #define MEMPOOL_F_POOL_CREATED   0x0010 /**< Internal: pool is created. */\n #define MEMPOOL_F_NO_IOVA_CONTIG 0x0020 /**< Don't need IOVA contiguous objs. */\n-#define MEMPOOL_F_NO_PHYS_CONTIG MEMPOOL_F_NO_IOVA_CONTIG /* deprecated */\n \n /**\n  * @internal When debug is enabled, store some statistics.\n",
    "prefixes": [
        "v2",
        "2/4"
    ]
}