get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 3909,
    "url": "http://patches.dpdk.org/api/patches/3909/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1425629406-1838-3-git-send-email-changchun.ouyang@intel.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": "<1425629406-1838-3-git-send-email-changchun.ouyang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1425629406-1838-3-git-send-email-changchun.ouyang@intel.com",
    "date": "2015-03-06T08:10:06",
    "name": "[dpdk-dev,v3,2/2] doc: Update for new HW vlan command",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5d0fc77a581fdfd0d1c9063ae6206d6795283ad0",
    "submitter": {
        "id": 31,
        "url": "http://patches.dpdk.org/api/people/31/?format=api",
        "name": "Ouyang Changchun",
        "email": "changchun.ouyang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1425629406-1838-3-git-send-email-changchun.ouyang@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/3909/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/3909/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 7EC075A88;\n\tFri,  6 Mar 2015 09:10:20 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id A5A545A84\n\tfor <dev@dpdk.org>; Fri,  6 Mar 2015 09:10:18 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga101.fm.intel.com with ESMTP; 06 Mar 2015 00:10:18 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga002.jf.intel.com with ESMTP; 06 Mar 2015 00:10:17 -0800",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t268AFoR029174;\n\tFri, 6 Mar 2015 16:10:15 +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 t268ACa8001887; Fri, 6 Mar 2015 16:10:14 +0800",
            "(from couyang@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t268ACNN001883; \n\tFri, 6 Mar 2015 16:10:12 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.11,351,1422950400\"; d=\"scan'208\";a=\"694795477\"",
        "From": "Ouyang Changchun <changchun.ouyang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri,  6 Mar 2015 16:10:06 +0800",
        "Message-Id": "<1425629406-1838-3-git-send-email-changchun.ouyang@intel.com>",
        "X-Mailer": "git-send-email 1.7.12.2",
        "In-Reply-To": "<1425629406-1838-1-git-send-email-changchun.ouyang@intel.com>",
        "References": "<1425628813-1546-1-git-send-email-changchun.ouyang@intel.com>\n\t<1425629406-1838-1-git-send-email-changchun.ouyang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 2/2] doc: Update for new HW vlan command",
        "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": "Update the testpmd doc as there are new HW VLAN commands/options.\n\nSigned-off-by: Changchun Ouyang <changchun.ouyang@intel.com>\n---\n doc/guides/testpmd_app_ug/run_app.rst       | 12 +++++++++++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 +++++++++++++++++++++++++++++\n 2 files changed, 45 insertions(+)",
    "diff": "diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst\nindex 67f62d2..3898e67 100644\n--- a/doc/guides/testpmd_app_ug/run_app.rst\n+++ b/doc/guides/testpmd_app_ug/run_app.rst\n@@ -262,6 +262,18 @@ They must be separated from the EAL options, shown in the previous section, with\n \n     Disable hardware VLAN.\n \n+*   --disable-hw-vlan-filter\n+\n+    Disable hardware VLAN filter.\n+\n+*   --disable-hw-vlan-strip\n+\n+    Disable hardware VLAN strip.\n+\n+*   --disable-hw-vlan-extend\n+\n+    Disable hardware VLAN extend.\n+\n *   --enable-drop-en\n \n     Enable per-queue packet drop for packets with no descriptors.\ndiff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\nindex 218835a..b644626 100644\n--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n@@ -896,6 +896,39 @@ Hardware VLAN is on by default.\n \n The off option is equivalent to the --disable-hw-vlan command-line option.\n \n+port config - VLAN filter\n+~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Set hardware VLAN filter on or off for all ports:\n+\n+port config all hw-vlan-filter (on|off)\n+\n+Hardware VLAN filter is on by default.\n+\n+The off option is equivalent to the --disable-hw-vlan-filter command-line option.\n+\n+port config - VLAN strip\n+~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Set hardware VLAN strip on or off for all ports:\n+\n+port config all hw-vlan-strip (on|off)\n+\n+Hardware VLAN strip is on by default.\n+\n+The off option is equivalent to the --disable-hw-vlan-strip command-line option.\n+\n+port config - VLAN extend\n+~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+Set hardware VLAN extend on or off for all ports:\n+\n+port config all hw-vlan-extend (on|off)\n+\n+Hardware VLAN extend is off by default.\n+\n+The off option is equivalent to the --disable-hw-vlan-extend command-line option.\n+\n port config - Drop Packets\n ~~~~~~~~~~~~~~~~~~~~~~~~~~\n \n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "2/2"
    ]
}