get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66167,
    "url": "http://patches.dpdk.org/api/patches/66167/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200302143209.11854-7-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": "<20200302143209.11854-7-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200302143209.11854-7-hemant.agrawal@nxp.com",
    "date": "2020-03-02T14:32:05",
    "name": "[06/10] net/enetc: cache align enetc bdr structure",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b5ef8f9fb83f558e956f53cf12019d7057627a5b",
    "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/20200302143209.11854-7-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 8741,
            "url": "http://patches.dpdk.org/api/series/8741/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8741",
            "date": "2020-03-02T14:31:59",
            "name": "net/enetc: optimization and cleanup",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8741/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/66167/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/66167/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 27D65A0568;\n\tMon,  2 Mar 2020 10:01:24 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E633B1C07D;\n\tMon,  2 Mar 2020 10:00:24 +0100 (CET)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n by dpdk.org (Postfix) with ESMTP id 06CE51C029\n for <dev@dpdk.org>; Mon,  2 Mar 2020 10:00:19 +0100 (CET)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id DF9901A0FAA;\n Mon,  2 Mar 2020 10:00:18 +0100 (CET)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n [165.114.16.14])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6A2DE1A100E;\n Mon,  2 Mar 2020 10:00:16 +0100 (CET)",
            "from bf-netperf1.ap.com (bf-netperf1.ap.freescale.net\n [10.232.133.63])\n by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 2DC7C40299;\n Mon,  2 Mar 2020 17:00:13 +0800 (SGT)"
        ],
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "To": "ferruh.yigit@intel.com",
        "Cc": "dev@dpdk.org, g.singh@nxp.com,\n Alex Marginean <alexandru.marginean@nxp.com>",
        "Date": "Mon,  2 Mar 2020 20:02:05 +0530",
        "Message-Id": "<20200302143209.11854-7-hemant.agrawal@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200302143209.11854-1-hemant.agrawal@nxp.com>",
        "References": "<20200302143209.11854-1-hemant.agrawal@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH 06/10] net/enetc: cache align enetc bdr structure",
        "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": "From: Alex Marginean <alexandru.marginean@nxp.com>\n\nReorder the members of the structure so that the ones used on datapath fit\nin a single cache line, to slightly reduce pressure on cache and miss rate.\n\nSigned-off-by: Alex Marginean <alexandru.marginean@nxp.com>\n---\n drivers/net/enetc/enetc.h | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/net/enetc/enetc.h b/drivers/net/enetc/enetc.h\nindex 8c830a5c0..14ef3bc18 100644\n--- a/drivers/net/enetc/enetc.h\n+++ b/drivers/net/enetc/enetc.h\n@@ -53,23 +53,23 @@ struct enetc_swbd {\n };\n \n struct enetc_bdr {\n-\tstruct rte_eth_dev *ndev;\n-\tstruct rte_mempool *mb_pool;   /* mbuf pool to populate RX ring. */\n \tvoid *bd_base;\t\t\t/* points to Rx or Tx BD ring */\n+\tstruct enetc_swbd *q_swbd;\n \tunion {\n \t\tvoid *tcir;\n \t\tvoid *rcir;\n \t};\n-\tuint16_t index;\n \tint bd_count; /* # of BDs */\n \tint next_to_use;\n \tint next_to_clean;\n-\tstruct enetc_swbd *q_swbd;\n+\tuint16_t index;\n+\tuint8_t\tcrc_len; /* 0 if CRC stripped, 4 otherwise */\n \tunion {\n \t\tvoid *tcisr; /* Tx */\n \t\tint next_to_alloc; /* Rx */\n \t};\n-\tuint8_t\tcrc_len; /* 0 if CRC stripped, 4 otherwise */\n+\tstruct rte_mempool *mb_pool;   /* mbuf pool to populate RX ring. */\n+\tstruct rte_eth_dev *ndev;\n };\n \n /*\n",
    "prefixes": [
        "06/10"
    ]
}