get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43961,
    "url": "http://patches.dpdk.org/api/patches/43961/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1535539660-20228-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": "<1535539660-20228-10-git-send-email-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1535539660-20228-10-git-send-email-hemant.agrawal@nxp.com",
    "date": "2018-08-29T10:47:36",
    "name": "[09/13] net/dpaa: rearranging of atomic queue support code",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "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@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1535539660-20228-10-git-send-email-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 1090,
            "url": "http://patches.dpdk.org/api/series/1090/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1090",
            "date": "2018-08-29T10:47:27",
            "name": "driver/net: NXP DPAA driver enhancements",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1090/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43961/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43961/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Received-SPF": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<1535539660-20228-10-git-send-email-hemant.agrawal@nxp.com>",
        "Cc": "dpdk-up@NXP1.onmicrosoft.com",
        "Subject": "[dpdk-dev] [PATCH 09/13] net/dpaa: rearranging of atomic queue\n\tsupport code",
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.7.4",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=Yw9yvwReqVofWynEvTvz3fpf3K2xxxuZYhA9fJ70kXY=;\n\tb=KG7TcMGVQ7+xEWXfuWNnmIhHCRaXidlAAl8H1+2ZNryGu3Jaov4cTUOjQKbjmkYlQYSAuPJ3vvyPWXZaeNPZVfWQOhw4APPZ1p/Iu3mYPp4o4143/yucF3qoNlt3hrPs9Hap3/uszggezc3MTwsQO4OFAb0eTiTtZN2mpZRqILw=",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=hemant.agrawal@nxp.com; ",
        "X-Mailman-Version": "2.1.15",
        "References": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "In-Reply-To": "<1535539660-20228-1-git-send-email-hemant.agrawal@nxp.com>",
        "Precedence": "list",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "29 Aug 2018 10:49:54.2233\n\t(UTC)",
        "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197);",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Originating-IP": "[14.143.30.134]",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-Forefront-PRVS": "077929D941",
        "SpamDiagnosticMetadata": "NSPM",
        "Content-Type": "text/plain",
        "X-Microsoft-Antispam-Message-Info": "TO5Qlk0xbNmqXJ6LmCFf3dukolsqMyJAidDvzgQZGc9d4yD9Vk00iQi26gag9Uj197c2qbeOF72kSEpo7Fioxwg3ilOBtXV3Wcucq3cUQuUWEdkENCh9TNvotP/eWD0lJpvD4YVUdhy+AuYt3tBYkWPi+/i/SJP4Xl/t6lDgo6kZzWfeMaHt2x3d+1rGZCgS1ixs/id8giyKU0sKganyHTylPEMoIJvb6OIUwnT/vzRItNzv6xoFJtewCVQw+McgKbRrw2eSt+sZGhw8hMZm4UXGmRu1pHM86b6z6LooM30YAebA4fr/DDwKYelGrUhONGW2XaLtkZnVGO3eeEL9O4TnsMwPmyUKErIb/0OXldM=",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699016);\n\tSRVR:VI1PR0401MB2543; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2543; ",
        "X-OriginatorOrg": "nxp.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-MS-Office365-Filtering-Correlation-Id": "54eba6c2-6bd6-4404-213d-08d60d9d27e9",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; VI1PR0401MB2543;\n\t3:oq1CA1Z0SZM+mFPItDkh+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LZ/yWf+MLxy/SCuh8PqxGHdkmNNmIztVXp8t+MtzaFkthDEvnexS2JAEsGfaH/ZDlrN4wldP3aVjJpoxuMInOkCwrnNDyD+pF9JZEY8U8UV4R709sNglV8UCNOhfpOpJKw72GmikM1/3+oKEsMQnQcNHW7+ZCks9RDG4QSZALHa/aEC7GY0WfBHQuE/IjE8cFd8K0+XSqSSM3b6U5G5ScXc3s9ZdPFR8KEKSwryj+5yU2vcP9Sh75SSv5mpMqvP0lTLs4Z6+4Y9ZdigKBF7OhTWysVfKu6eMAB2nWCRmajbPJiooBg==;\n\t5:C0xeGgxysdWwWlO2KICgpBFrlIj8hc/qvi2w9/PxjEh5UFGCxgP/yKsT+yBFVQZA+CTbaGTHSi1Khv4CDwpWzLGFJg/5hEzwXskFmVaEX9/hn/GFDECe2T7vsxppDpu3GCSBDUmJDf3r7Zbqj/E1VYcP0at9H7znRCLat+d1vUA=;\n\t7:F+IHqTdmJdnjZa0a8axdB7nmbXyIjVBhwyHMIerCeAiuHhgkH+qEG4E0RzcWHua4Ovogr3SpSuvxJhw6GUn38VkpifF4+oZHBSuTDpKCzSCpVmMB61w4+5xsGfIRzDYOauYifxC/RXAAgseNgJjWG2hgeJFDkCIkcZzVyOCFX+1U+si/7eQETFSD4slEF7diGpwtU1vSkCONOT1LeQSLhLiUiOT709+SReBWJ9jLrEhdCsrPEUW2T05wjBsC/W/m"
        ],
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VI1PR0401MB2543",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "54eba6c2-6bd6-4404-213d-08d60d9d27e9",
        "Date": "Wed, 29 Aug 2018 16:17:36 +0530",
        "SpamDiagnosticOutput": "1:99",
        "X-ClientProxiedBy": "BM1PR0101CA0071.INDPRD01.PROD.OUTLOOK.COM\n\t(2603:1096:b00:19::33) To VI1PR0401MB2543.eurprd04.prod.outlook.com\n\t(2603:10a6:800:56::21)",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 356BC5B12;\n\tWed, 29 Aug 2018 12:50:03 +0200 (CEST)",
            "from EUR02-AM5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr00089.outbound.protection.outlook.com [40.107.0.89])\n\tby dpdk.org (Postfix) with ESMTP id E369A5681\n\tfor <dev@dpdk.org>; Wed, 29 Aug 2018 12:49:55 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (14.143.30.134) by\n\tVI1PR0401MB2543.eurprd04.prod.outlook.com (2603:10a6:800:56::21) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17;\n\tWed, 29 Aug 2018 10:49:54 +0000"
        ],
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Microsoft-Antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);\n\tSRVR:VI1PR0401MB2543; ",
        "Delivered-To": "patchwork@dpdk.org",
        "MIME-Version": "1.0",
        "X-MS-TrafficTypeDiagnostic": "VI1PR0401MB2543:",
        "X-MS-PublicTrafficType": "Email",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam-PRVS": "<VI1PR0401MB25437D834A2275E1C143E7E789090@VI1PR0401MB2543.eurprd04.prod.outlook.com>",
        "X-MS-Exchange-CrossTenant-Id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(346002)(136003)(366004)(396003)(39860400002)(376002)(189003)(199004)(6512007)(6486002)(16526019)(53936002)(486006)(186003)(11346002)(105586002)(6116002)(106356001)(5660300001)(50466002)(68736007)(5009440100003)(2616005)(25786009)(48376002)(386003)(4326008)(55236004)(6666003)(73566003)(86362001)(956004)(107886003)(446003)(3846002)(26005)(6506007)(476003)(316002)(52116002)(50226002)(478600001)(47776003)(66066001)(8936002)(16586007)(76176011)(51416003)(97736004)(44832011)(81166006)(8676002)(7736002)(305945005)(36756003)(81156014)(2906002)(110426005);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2543;\n\tH:bf-netperf1.ap.freescale.net; \n\tFPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; ",
        "To": "dev@dpdk.org,\n\tferruh.yigit@intel.com"
    },
    "content": "From: Sunil Kumar Kori <sunil.kori@nxp.com>\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": [
        "09/13"
    ]
}