get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8009,
    "url": "https://patches.dpdk.org/api/patches/8009/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1445837254-6188-4-git-send-email-wenzhuo.lu@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1445837254-6188-4-git-send-email-wenzhuo.lu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1445837254-6188-4-git-send-email-wenzhuo.lu@intel.com",
    "date": "2015-10-26T05:27:30",
    "name": "[dpdk-dev,v5,3/7] app/testpmd: new fdir modes for testpmd parameter",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7d0222e0abfd9fac960c5bae5c6d9fce9f0773c3",
    "submitter": {
        "id": 258,
        "url": "https://patches.dpdk.org/api/people/258/?format=api",
        "name": "Wenzhuo Lu",
        "email": "wenzhuo.lu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1445837254-6188-4-git-send-email-wenzhuo.lu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/8009/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/8009/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 5851B8D9A;\n\tMon, 26 Oct 2015 06:27:52 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id C83B68D8B\n\tfor <dev@dpdk.org>; Mon, 26 Oct 2015 06:27:49 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga102.fm.intel.com with ESMTP; 25 Oct 2015 22:27:49 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby FMSMGA003.fm.intel.com with ESMTP; 25 Oct 2015 22:27:49 -0700",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t9Q5Rl5u031216;\n\tMon, 26 Oct 2015 13:27:47 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t9Q5Rhgn006244; Mon, 26 Oct 2015 13:27:45 +0800",
            "(from wenzhuol@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9Q5Rh6P006240; \n\tMon, 26 Oct 2015 13:27:43 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,200,1444719600\"; d=\"scan'208\";a=\"587946684\"",
        "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 26 Oct 2015 13:27:30 +0800",
        "Message-Id": "<1445837254-6188-4-git-send-email-wenzhuo.lu@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1445837254-6188-1-git-send-email-wenzhuo.lu@intel.com>",
        "References": "<1443161125-1035-1-git-send-email-wenzhuo.lu@intel.com>\n\t<1445837254-6188-1-git-send-email-wenzhuo.lu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 3/7] app/testpmd: new fdir modes for testpmd\n\tparameter",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "For testpmd CLI's parameter pkt-filter-mode, there're new values supported for\nfdir new modes, perfect-mac-vlan, perfect-tunnel.\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n app/test-pmd/parameters.c | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c\nindex f1daa6e..df16e8f 100644\n--- a/app/test-pmd/parameters.c\n+++ b/app/test-pmd/parameters.c\n@@ -707,12 +707,17 @@ launch_args_parse(int argc, char** argv)\n \t\t\t\t\t\tRTE_FDIR_MODE_SIGNATURE;\n \t\t\t\telse if (!strcmp(optarg, \"perfect\"))\n \t\t\t\t\tfdir_conf.mode = RTE_FDIR_MODE_PERFECT;\n+\t\t\t\telse if (!strcmp(optarg, \"perfect-mac-vlan\"))\n+\t\t\t\t\tfdir_conf.mode = RTE_FDIR_MODE_PERFECT_MAC_VLAN;\n+\t\t\t\telse if (!strcmp(optarg, \"perfect-tunnel\"))\n+\t\t\t\t\tfdir_conf.mode = RTE_FDIR_MODE_PERFECT_TUNNEL;\n \t\t\t\telse if (!strcmp(optarg, \"none\"))\n \t\t\t\t\tfdir_conf.mode = RTE_FDIR_MODE_NONE;\n \t\t\t\telse\n \t\t\t\t\trte_exit(EXIT_FAILURE,\n \t\t\t\t\t\t \"pkt-mode-invalid %s invalid - must be: \"\n-\t\t\t\t\t\t \"none, signature or perfect\\n\",\n+\t\t\t\t\t\t \"none, signature, perfect, perfect-mac-vlan\"\n+\t\t\t\t\t\t \" or perfect-tunnel\\n\",\n \t\t\t\t\t\t optarg);\n \t\t\t}\n \t\t\tif (!strcmp(lgopts[opt_idx].name,\n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "3/7"
    ]
}