get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 35346,
    "url": "http://patches.dpdk.org/api/patches/35346/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1519298028-30853-1-git-send-email-alejandro.lucero@netronome.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": "<1519298028-30853-1-git-send-email-alejandro.lucero@netronome.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1519298028-30853-1-git-send-email-alejandro.lucero@netronome.com",
    "date": "2018-02-22T11:13:48",
    "name": "[dpdk-dev] net/nfp: add port id to mbuf",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "59f073253b058fb90f289785261375c5be3c438e",
    "submitter": {
        "id": 270,
        "url": "http://patches.dpdk.org/api/people/270/?format=api",
        "name": "Alejandro Lucero",
        "email": "alejandro.lucero@netronome.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/1519298028-30853-1-git-send-email-alejandro.lucero@netronome.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/35346/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/35346/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 DF4712BF7;\n\tThu, 22 Feb 2018 12:13:56 +0100 (CET)",
            "from netronome.com (host-79-78-33-110.static.as9105.net\n\t[79.78.33.110]) by dpdk.org (Postfix) with ESMTP id D343A2BA4;\n\tThu, 22 Feb 2018 12:13:55 +0100 (CET)",
            "from netronome.com (localhost [127.0.0.1])\n\tby netronome.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id\n\tw1MBDmYj030891; Thu, 22 Feb 2018 11:13:48 GMT",
            "(from alucero@localhost)\n\tby netronome.com (8.14.4/8.14.4/Submit) id w1MBDmlF030890;\n\tThu, 22 Feb 2018 11:13:48 GMT"
        ],
        "From": "Alejandro Lucero <alejandro.lucero@netronome.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org",
        "Date": "Thu, 22 Feb 2018 11:13:48 +0000",
        "Message-Id": "<1519298028-30853-1-git-send-email-alejandro.lucero@netronome.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "Subject": "[dpdk-dev] [PATCH] net/nfp: add port id to mbuf",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Although this can be done by the app, because other PMDs are doing it,\napps expect this behaviour from the PMD.\n\nSigned-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>\n---\n drivers/net/nfp/nfp_net.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c\nindex e5bfde6..5180a31 100644\n--- a/drivers/net/nfp/nfp_net.c\n+++ b/drivers/net/nfp/nfp_net.c\n@@ -2089,6 +2089,8 @@ enum nfp_qcp_ptr {\n \t\tmb->nb_segs = 1;\n \t\tmb->next = NULL;\n \n+\t\tmb->port = rxq->port_id;\n+\n \t\t/* Checking the RSS flag */\n \t\tnfp_net_set_hash(rxq, rxds, mb);\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}