get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 95269,
    "url": "http://patchwork.dpdk.org/api/patches/95269/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210705072734.22484-1-olivier.matz@6wind.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20210705072734.22484-1-olivier.matz@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210705072734.22484-1-olivier.matz@6wind.com",
    "date": "2021-07-05T07:27:34",
    "name": "test/mbuf: fix virtual address conversion",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "abd900fa0140defc903fa9ccb7d6ea7bd163a87b",
    "submitter": {
        "id": 8,
        "url": "http://patchwork.dpdk.org/api/people/8/?format=api",
        "name": "Olivier Matz",
        "email": "olivier.matz@6wind.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patchwork.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210705072734.22484-1-olivier.matz@6wind.com/mbox/",
    "series": [
        {
            "id": 17622,
            "url": "http://patchwork.dpdk.org/api/series/17622/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17622",
            "date": "2021-07-05T07:27:34",
            "name": "test/mbuf: fix virtual address conversion",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/17622/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/95269/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/95269/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 359F4A0A0F;\n\tMon,  5 Jul 2021 09:27:53 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CFDA940141;\n\tMon,  5 Jul 2021 09:27:52 +0200 (CEST)",
            "from mail-wr1-f52.google.com (mail-wr1-f52.google.com\n [209.85.221.52]) by mails.dpdk.org (Postfix) with ESMTP id EC90E4003C\n for <dev@dpdk.org>; Mon,  5 Jul 2021 09:27:51 +0200 (CEST)",
            "by mail-wr1-f52.google.com with SMTP id n9so3457604wrs.13\n for <dev@dpdk.org>; Mon, 05 Jul 2021 00:27:51 -0700 (PDT)",
            "from gojira.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com.\n [62.23.145.78])\n by smtp.gmail.com with ESMTPSA id h13sm1274657wrs.68.2021.07.05.00.27.49\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 05 Jul 2021 00:27:50 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=zV68DzIXOgL5QMCT9OZhzXM3fp7PQOeTm21F7J4AYyY=;\n b=N94F67oqTx0mRzUh6aUvICBwEiOuU4bwpPdlSE1Ep7B11NVUyritQ41aUyCtFNuwrk\n UfCkThjdfLfSHxooqMqvWKIhuyu9mNGix2oj1cJTkjUtV8dxGDqcDRnuSya6ZDhtvG7a\n GKEH3N2UsF13FKhzZQvK9dueS060a3iyLSy5y8UjhYylwA2BiznJv7RBRwTA+o3ViuUZ\n yrnNl/D9/ijsJ0zonMC5ch02Yl0hjcKIrYkLs0RS1kx1DxhFxRMMJnu5mfaHeuBQ2Z6r\n j/w19roPwo1vRFhBoVBrlW8IgxmmZBFPgeCRxN3Q9PosPQTXOeSFoOk+f4rehA71IBjz\n XMjQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=zV68DzIXOgL5QMCT9OZhzXM3fp7PQOeTm21F7J4AYyY=;\n b=EwrTAaU1x4PEAWk+GLVX5twsWrmciVE5hCoPZpDGaw8b+y4SH/LT2IEjbuMtbgadu5\n 9cQ532WjvjBB3sNCnoFS2X9alFoREX1TAEMpmzLrbq2uZcdNyP/RjYhgaQ5IBCY4dxZj\n 8cXv1QLrQGh00aLyqDnO5rOyB2B2RSDe9Yko8zU43YgtewcMOjzw0kLmAf6DQJEQNlwy\n IuzXwhFE6cO8GusRdjcKn2Zdtv5xvNaNzbH77PeHmZFCLyfQ2JVE513ns9lkEQUJWZ9y\n QnF2BggfO/M9ALyDBuAX9BxWhS/alq09A47yO2Ywfk3Z38pmrRCHiY8u6uqJxZrHEqYG\n T6eg==",
        "X-Gm-Message-State": "AOAM530z4OqXa9b6LNnw7l+23PMGh+bLQzuzZUw2VPPF+8sEU2q6CBON\n zQw+uRzjx3U45gmbZE7IoJFlXwubnQk30w==",
        "X-Google-Smtp-Source": "\n ABdhPJzFgo1K5n+guJkcGKJ9bAUyafp1zIBGt9CF0GmDNXqd7wgwjZgi/4G/XMjMf5U4CPCGjYSWpg==",
        "X-Received": "by 2002:adf:dd82:: with SMTP id x2mr13721996wrl.303.1625470070826;\n Mon, 05 Jul 2021 00:27:50 -0700 (PDT)",
        "From": "Olivier Matz <olivier.matz@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Reshma Pattan <reshma.pattan@intel.com>,\n Lavanya Govindarajan <lavanyax.govindarajan@intel.com>,\n Zhihong Peng <zhihongx.peng@intel.com>, stable@dpdk.org",
        "Date": "Mon,  5 Jul 2021 09:27:34 +0200",
        "Message-Id": "<20210705072734.22484-1-olivier.matz@6wind.com>",
        "X-Mailer": "git-send-email 2.29.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] test/mbuf: fix virtual address conversion",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "Seen with address sanitizer.\n\nrte_mempool_virt2iova() can only be used on mempool elements. In this case,\nit is incorrect, and rte_mem_virt2iova() has to be used.\n\nBugzilla ID: 737\nFixes: 7b295dceea07 (\"test/mbuf: add unit test cases\")\nCc: stable@dpdk.org\n\nReported-by: Zhihong Peng <zhihongx.peng@intel.com>\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n app/test/test_mbuf.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c\nindex 8e0561eabb..9a248dfaea 100644\n--- a/app/test/test_mbuf.c\n+++ b/app/test/test_mbuf.c\n@@ -2363,7 +2363,7 @@ test_pktmbuf_ext_shinfo_init_helper(struct rte_mempool *pktmbuf_pool)\n \tif (rte_mbuf_refcnt_read(m) != 1)\n \t\tGOTO_FAIL(\"%s: Invalid refcnt in mbuf\\n\", __func__);\n \n-\tbuf_iova = rte_mempool_virt2iova(ext_buf_addr);\n+\tbuf_iova = rte_mem_virt2iova(ext_buf_addr);\n \trte_pktmbuf_attach_extbuf(m, ext_buf_addr, buf_iova, buf_len,\n \t\tret_shinfo);\n \tif (m->ol_flags != EXT_ATTACHED_MBUF)\n",
    "prefixes": []
}