get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77635,
    "url": "http://patches.dpdk.org/api/patches/77635/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200914161801.572174-3-thomas@monjalon.net/",
    "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": "<20200914161801.572174-3-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200914161801.572174-3-thomas@monjalon.net",
    "date": "2020-09-14T16:17:58",
    "name": "[2/4] mempool: remove physical address aliases",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "eb1ddeb402e3505a6408d8ad194c24d36e58b787",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200914161801.572174-3-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 12203,
            "url": "http://patches.dpdk.org/api/series/12203/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12203",
            "date": "2020-09-14T16:17:56",
            "name": "remove aliases replaced with IOVA",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12203/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77635/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/77635/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 4C543A04C7;\n\tMon, 14 Sep 2020 18:18:31 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CEAB41C0D4;\n\tMon, 14 Sep 2020 18:18:19 +0200 (CEST)",
            "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id AA9851C0CA\n for <dev@dpdk.org>; Mon, 14 Sep 2020 18:18:18 +0200 (CEST)",
            "from compute7.internal (compute7.nyi.internal [10.202.2.47])\n by mailout.nyi.internal (Postfix) with ESMTP id 2ED3F5C00C9;\n Mon, 14 Sep 2020 12:18:18 -0400 (EDT)",
            "from mailfrontend1 ([10.202.2.162])\n by compute7.internal (MEProxy); Mon, 14 Sep 2020 12:18:18 -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 1B26C3280059;\n Mon, 14 Sep 2020 12:18:17 -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=9kAM8bbx0mduU\n H/C7Shmgzxjl0EZ5QyVcWZQ/LN9kG0=; b=K1wNqE30qVXW+1RYEoHHGal2RbC82\n OzTOWnfZdPBooW58GQ52kCyXSfYmtM1h4SLH70cP1WWHkViPpXEqZW+kCCpefMFq\n 9OuxWayn5Ou2MQRSM8dyS+KbcikJWnA/UrL3izMbLmu5/eexA9re0px+BXH+qpId\n bbbwvj6HFmQQWhrhxowgWhHRwuW4eQvizbQQo/hXyd7eb+hF7KC2kcLgWov8ZspW\n XjaPuZkzTdeZt9lzZ5QV76c/guYeMui79+aAn2cNEuiwQbtnC9F+l973yM9CIAyt\n cfMdIWFl6xOFB8n+JPOYH/k9Y/fHSk8D7iqpiutHKs6OpJ+00fLqY612w==",
            "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=9kAM8bbx0mduUH/C7Shmgzxjl0EZ5QyVcWZQ/LN9kG0=; b=eQui29eV\n VASNLiCv9kuzIpoNoRZvsGfhlWta0TTyI8uNP2fPtUuwz6qh9qdF+B87KswQuoDz\n tE12taYnRZhykOq+00QYsUerLzh6I3ThOGXFLS0NkXws9Jdi25kFl5GwnyKa5Igb\n lCt0IajxnLSe/kLVOn3Ja7+cFaw11dKQsY/N09B3invrs4MevLJQO8tZop7iUsc6\n qkWZps1PgX6Hownu+duKL673a/bdqs6peDgski7oGqmIIWIfet65WT0gXGsnwKbf\n Tw/dlIrygv1hFuOir5ULK1QUyAh1gwAD3I8y7YU9qPlQINmB/6h4eYTi83jBU77h\n zr68t047Oo9YVg=="
        ],
        "X-ME-Sender": "<xms:yZdfX4mEwWZqnjwvPTIqY_38hsDg5154lZGcmzef9uMb7TMH1Omh3w>\n <xme:yZdfX32guuGed4-7svJtAE_L1L7lqcYZM4LINu1rbT-E1F75SK8eWLGb7hudrO95B\n TtG_nHQXcYfi0Ym5A>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduiedrudeiiedguddtudcutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh\n necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd\n enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm\n rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc\n ggtffrrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedt\n gfeutdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh\n fuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr\n lhhonhdrnhgvth",
        "X-ME-Proxy": "<xmx:yZdfX2r7QhmRA1AVS4JXWMDHf1lCAWmlaJJTM6rd6sGBiGYGqvx_AQ>\n <xmx:yZdfX0m0Aeb37KeR0RZixAW0DsrYumcCPqT43A9sIEld8XIJTyS37Q>\n <xmx:yZdfX20dQzRBtJ3xQh9xaTm_qCdrtuWn6jzVqY9yY_8oeShhKzWRXA>\n <xmx:ypdfX0CLeRxBjFZvz2IKQ84LvQmLItRcyG9NsaLd-W4iBxaIy7-ncQ>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "mdr@ashroe.eu, david.marchand@redhat.com,\n Olivier Matz <olivier.matz@6wind.com>,\n Andrew Rybchenko <arybchenko@solarflare.com>",
        "Date": "Mon, 14 Sep 2020 18:17:58 +0200",
        "Message-Id": "<20200914161801.572174-3-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20200914161801.572174-1-thomas@monjalon.net>",
        "References": "<20200914161801.572174-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 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>\n---\n lib/librte_mempool/rte_mempool.h | 13 ++-----------\n 1 file changed, 2 insertions(+), 11 deletions(-)",
    "diff": "diff --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": [
        "2/4"
    ]
}