get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45089,
    "url": "http://patches.dpdk.org/api/patches/45089/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1537527962-25757-10-git-send-email-hemant.agrawal@nxp.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": "<1537527962-25757-10-git-send-email-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537527962-25757-10-git-send-email-hemant.agrawal@nxp.com",
    "date": "2018-09-21T11:05:58",
    "name": "[v3,09/13] net/dpaa: rearranging of atomic queue support code",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "cfc887a07144c0da8d50cef4a411ba6419fddf4c",
    "submitter": {
        "id": 477,
        "url": "http://patches.dpdk.org/api/people/477/?format=api",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@nxp.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1537527962-25757-10-git-send-email-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 1437,
            "url": "http://patches.dpdk.org/api/series/1437/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1437",
            "date": "2018-09-21T11:05:49",
            "name": "NXP DPAA driver enhancements",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/1437/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/45089/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/45089/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 A77045F12;\n\tFri, 21 Sep 2018 13:08:29 +0200 (CEST)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby dpdk.org (Postfix) with ESMTP id 77C515592\n\tfor <dev@dpdk.org>; Fri, 21 Sep 2018 13:08:13 +0200 (CEST)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5B5221A02C0;\n\tFri, 21 Sep 2018 13:08:13 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 185621A02BD;\n\tFri, 21 Sep 2018 13:08:11 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n\t[10.232.134.28])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4FC6B40302;\n\tFri, 21 Sep 2018 19:08:07 +0800 (SGT)"
        ],
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "To": "dev@dpdk.org,\n\tthomas@monjalon.net,\n\tferruh.yigit@intel.com",
        "Cc": "Sunil Kumar Kori <sunil.kori@nxp.com>",
        "Date": "Fri, 21 Sep 2018 16:35:58 +0530",
        "Message-Id": "<1537527962-25757-10-git-send-email-hemant.agrawal@nxp.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1537527962-25757-1-git-send-email-hemant.agrawal@nxp.com>",
        "References": "<1537277516-8876-2-git-send-email-hemant.agrawal@nxp.com>\n\t<1537527962-25757-1-git-send-email-hemant.agrawal@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH v3 09/13] net/dpaa: rearranging of atomic queue\n\tsupport code",
        "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": "From: Sunil Kumar Kori <sunil.kori@nxp.com>\n\nThis is to align the code with dpaa2 to ease out maintaince\nof both driver code bases.\n\nSigned-off-by: Sunil Kumar Kori <sunil.kori@nxp.com>\n---\n drivers/net/dpaa/dpaa_rxtx.c | 25 +++++++++++++------------\n 1 file changed, 13 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c\nindex 3a3a048..6698c97 100644\n--- a/drivers/net/dpaa/dpaa_rxtx.c\n+++ b/drivers/net/dpaa/dpaa_rxtx.c\n@@ -870,6 +870,19 @@ dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs)\n \t\t\t\tDPAA_TX_BURST_SIZE : nb_bufs;\n \t\tfor (loop = 0; loop < frames_to_send; loop++) {\n \t\t\tmbuf = *(bufs++);\n+\t\t\tseqn = mbuf->seqn;\n+\t\t\tif (seqn != DPAA_INVALID_MBUF_SEQN) {\n+\t\t\t\tindex = seqn - 1;\n+\t\t\t\tif (DPAA_PER_LCORE_DQRR_HELD & (1 << index)) {\n+\t\t\t\t\tflags[loop] =\n+\t\t\t\t\t   ((index & QM_EQCR_DCA_IDXMASK) << 8);\n+\t\t\t\t\tflags[loop] |= QMAN_ENQUEUE_FLAG_DCA;\n+\t\t\t\t\tDPAA_PER_LCORE_DQRR_SIZE--;\n+\t\t\t\t\tDPAA_PER_LCORE_DQRR_HELD &=\n+\t\t\t\t\t\t\t\t~(1 << index);\n+\t\t\t\t}\n+\t\t\t}\n+\n \t\t\tif (likely(RTE_MBUF_DIRECT(mbuf))) {\n \t\t\t\tmp = mbuf->pool;\n \t\t\t\tbp_info = DPAA_MEMPOOL_TO_POOL_INFO(mp);\n@@ -916,18 +929,6 @@ dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs)\n \t\t\t\t\tgoto send_pkts;\n \t\t\t\t}\n \t\t\t}\n-\t\t\tseqn = mbuf->seqn;\n-\t\t\tif (seqn != DPAA_INVALID_MBUF_SEQN) {\n-\t\t\t\tindex = seqn - 1;\n-\t\t\t\tif (DPAA_PER_LCORE_DQRR_HELD & (1 << index)) {\n-\t\t\t\t\tflags[loop] =\n-\t\t\t\t\t   ((index & QM_EQCR_DCA_IDXMASK) << 8);\n-\t\t\t\t\tflags[loop] |= QMAN_ENQUEUE_FLAG_DCA;\n-\t\t\t\t\tDPAA_PER_LCORE_DQRR_SIZE--;\n-\t\t\t\t\tDPAA_PER_LCORE_DQRR_HELD &=\n-\t\t\t\t\t\t\t\t~(1 << index);\n-\t\t\t\t}\n-\t\t\t}\n \t\t}\n \n send_pkts:\n",
    "prefixes": [
        "v3",
        "09/13"
    ]
}