get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41883,
    "url": "http://patches.dpdk.org/api/patches/41883/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180628201549.3507-21-ajit.khaparde@broadcom.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": "<20180628201549.3507-21-ajit.khaparde@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180628201549.3507-21-ajit.khaparde@broadcom.com",
    "date": "2018-06-28T20:15:46",
    "name": "[v2,20/23] net/bnxt: fix to move a flow to a different queue",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "88b47e2a8a184f9ba81ed6b2a17970d6539468ce",
    "submitter": {
        "id": 501,
        "url": "http://patches.dpdk.org/api/people/501/?format=api",
        "name": "Ajit Khaparde",
        "email": "ajit.khaparde@broadcom.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/20180628201549.3507-21-ajit.khaparde@broadcom.com/mbox/",
    "series": [
        {
            "id": 300,
            "url": "http://patches.dpdk.org/api/series/300/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=300",
            "date": "2018-06-28T20:15:29",
            "name": "bnxt patchset",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/300/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41883/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41883/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 1BF381B5B2;\n\tThu, 28 Jun 2018 22:16:49 +0200 (CEST)",
            "from rnd-relay.smtp.broadcom.com (rnd-relay.smtp.broadcom.com\n\t[192.19.229.170]) by dpdk.org (Postfix) with ESMTP id EE9E11B4F3;\n\tThu, 28 Jun 2018 22:15:59 +0200 (CEST)",
            "from nis-sj1-27.broadcom.com (nis-sj1-27.lvn.broadcom.net\n\t[10.75.144.136])\n\tby rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 3BB2730C027;\n\tThu, 28 Jun 2018 13:15:59 -0700 (PDT)",
            "from C02VPB22HTD6.dhcp.broadcom.net (c02vpb22htd6.dhcp.broadcom.net\n\t[10.136.50.120])\n\tby nis-sj1-27.broadcom.com (Postfix) with ESMTP id A4781AC079C;\n\tThu, 28 Jun 2018 13:15:58 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 rnd-relay.smtp.broadcom.com 3BB2730C027",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n\ts=dkimrelay; t=1530216959;\n\tbh=C7NOwEpzhjjC0E+IKB3ts4RsONVlwERF6bAOiZ5hBN0=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=utLFJwfGX8PyfJk2+jmOlRdTLTobGOLrSSmK3AKJ/31UI8wBPI/Rar+3bOFQ2IOI0\n\tF/yVLP+P3UCr9Vl0x27fk2hq0DLRc04H9MFUf/Fp739WFpzwunSKwzNmlMn/D2ub93\n\tj2jo0Zn4kP1OW2jKFd2G3K7RcyXRfheF7wxwszfk=",
        "From": "Ajit Khaparde <ajit.khaparde@broadcom.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com, Somnath Kotur <somnath.kotur@broadcom.com>,\n\tstable@dpdk.org",
        "Date": "Thu, 28 Jun 2018 13:15:46 -0700",
        "Message-Id": "<20180628201549.3507-21-ajit.khaparde@broadcom.com>",
        "X-Mailer": "git-send-email 2.15.2 (Apple Git-101.1)",
        "In-Reply-To": "<20180628201549.3507-1-ajit.khaparde@broadcom.com>",
        "References": "<f02289d7-4111-ab00-9ce9-00dd5c8b3c18@intel.com>\n\t<20180628201549.3507-1-ajit.khaparde@broadcom.com>",
        "Subject": "[dpdk-dev] [PATCH v2 20/23] net/bnxt: fix to move a flow to a\n\tdifferent queue",
        "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: Somnath Kotur <somnath.kotur@broadcom.com>\n\nWhile moving a flow to a different destination queue,\nthe l2_filter_id being passed to the FW command was incorrect.\nFix it by re-using the matching filter's l2_filter_id since\nthat is supposed to be the same in this case.\n\nFixes: 5ef3b79fdfe6 (\"net/bnxt: support flow filter ops\")\nCc: stable@dpdk.org\n\nSigned-off-by: Somnath Kotur <somnath.kotur@broadcom.com>\nSigned-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>\n---\n drivers/net/bnxt/bnxt_flow.c | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/bnxt/bnxt_flow.c b/drivers/net/bnxt/bnxt_flow.c\nindex a491e9dbf..ac7656741 100644\n--- a/drivers/net/bnxt/bnxt_flow.c\n+++ b/drivers/net/bnxt/bnxt_flow.c\n@@ -968,9 +968,13 @@ bnxt_match_filter(struct bnxt *bp, struct bnxt_filter_info *nf)\n \t\t\t\t    sizeof(nf->dst_ipaddr_mask))) {\n \t\t\t\tif (mf->dst_id == nf->dst_id)\n \t\t\t\t\treturn -EEXIST;\n-\t\t\t\t/* Same Flow, Different queue\n+\t\t\t\t/*\n+\t\t\t\t * Same Flow, Different queue\n \t\t\t\t * Clear the old ntuple filter\n+\t\t\t\t * Reuse the matching L2 filter\n+\t\t\t\t * ID for the new filter\n \t\t\t\t */\n+\t\t\t\tnf->fw_l2_filter_id = mf->fw_l2_filter_id;\n \t\t\t\tif (nf->filter_type == HWRM_CFA_EM_FILTER)\n \t\t\t\t\tbnxt_hwrm_clear_em_filter(bp, mf);\n \t\t\t\tif (nf->filter_type == HWRM_CFA_NTUPLE_FILTER)\n",
    "prefixes": [
        "v2",
        "20/23"
    ]
}