get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8119,
    "url": "https://patches.dpdk.org/api/patches/8119/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1446021688-17544-5-git-send-email-jingjing.wu@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": "<1446021688-17544-5-git-send-email-jingjing.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446021688-17544-5-git-send-email-jingjing.wu@intel.com",
    "date": "2015-10-28T08:41:28",
    "name": "[dpdk-dev,v2,4/4] doc: extend commands in testpmd and update release note",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d4089517ffa939512f8a2e9456ab40e21b9f92f4",
    "submitter": {
        "id": 47,
        "url": "https://patches.dpdk.org/api/people/47/?format=api",
        "name": "Jingjing Wu",
        "email": "jingjing.wu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1446021688-17544-5-git-send-email-jingjing.wu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/8119/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/8119/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 1540A8E62;\n\tWed, 28 Oct 2015 09:41:55 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 57A968DA6\n\tfor <dev@dpdk.org>; Wed, 28 Oct 2015 09:41:51 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP; 28 Oct 2015 01:41:44 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga001.jf.intel.com with ESMTP; 28 Oct 2015 01:41:43 -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 t9S8ffh0003979;\n\tWed, 28 Oct 2015 16:41:41 +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 t9S8fbtD017942; Wed, 28 Oct 2015 16:41:39 +0800",
            "(from wujingji@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9S8fb6r017937; \n\tWed, 28 Oct 2015 16:41:37 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,209,1444719600\"; d=\"scan'208\";a=\"805290436\"",
        "From": "Jingjing Wu <jingjing.wu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 28 Oct 2015 16:41:28 +0800",
        "Message-Id": "<1446021688-17544-5-git-send-email-jingjing.wu@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1446021688-17544-1-git-send-email-jingjing.wu@intel.com>",
        "References": "<1442893533-32546-1-git-send-email-jingjing.wu@intel.com>\n\t<1446021688-17544-1-git-send-email-jingjing.wu@intel.com>",
        "Cc": "yulong.pei@intel.com",
        "Subject": "[dpdk-dev] [PATCH v2 4/4] doc: extend commands in testpmd and\n\tupdate release note",
        "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": "Modify the doc about flow director commands to support filtering in VFs.\nRemove related ABI deprecation.\nupdate release note.\n\nSigned-off-by: Jingjing Wu <jingjing.wu@intel.com>\n---\n doc/guides/rel_notes/deprecation.rst        |  4 ----\n doc/guides/rel_notes/release_2_2.rst        |  2 ++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 15 +++++++++------\n 3 files changed, 11 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex a391ff0..cd2b80c 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -17,10 +17,6 @@ Deprecation Notices\n   imissed, ibadcrc, ibadlen, imcasts, fdirmatch, fdirmiss,\n   tx_pause_xon, rx_pause_xon, tx_pause_xoff, rx_pause_xoff\n \n-* ABI changes are planned for struct rte_eth_fdir_flow_ext in order to support\n-  flow director filtering in VF. The release 2.1 does not contain these ABI\n-  changes, but release 2.2 will, and no backwards compatibility is planned.\n-\n * ABI changes are planned for struct rte_eth_fdir_filter and\n   rte_eth_fdir_masks in order to support new flow director modes,\n   MAC VLAN and Cloud, on x550. The MAC VLAN mode means the MAC and\ndiff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst\nindex de6916e..d934776 100644\n--- a/doc/guides/rel_notes/release_2_2.rst\n+++ b/doc/guides/rel_notes/release_2_2.rst\n@@ -124,6 +124,8 @@ ABI Changes\n * librte_cfgfile: Allow longer names and values by increasing the constants\n   CFG_NAME_LEN and CFG_VALUE_LEN to 64 and 256 respectively.\n \n+* The rte_eth_fdir_flow_ext structure is changed. New fields are added to\n+  support flow director filtering in VF.\n \n Shared Library Versions\n -----------------------\ndiff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\nindex 71d831b..eae5249 100644\n--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n@@ -1644,14 +1644,16 @@ Different NICs may have different capabilities, command show port fdir (port_id)\n                         flow (ipv4-other|ipv4-frag|ipv6-other|ipv6-frag)\n                         src (src_ip_address) dst (dst_ip_address) \\\n                         vlan (vlan_value) flexbytes (flexbytes_value) \\\n-                        (drop|fwd) queue (queue_id) fd_id (fd_id_value)\n+                        (drop|fwd) pf|vf(vf_id) queue (queue_id) \\\n+                        fd_id (fd_id_value)\n \n    flow_director_filter (port_id) (add|del|update) \\\n                         flow (ipv4-tcp|ipv4-udp|ipv6-tcp|ipv6-udp) \\\n                         src (src_ip_address) (src_port) \\\n                         dst (dst_ip_address) (dst_port) \\\n                         vlan (vlan_value) flexbytes (flexbytes_value) \\\n-                        (drop|fwd) queue (queue_id) fd_id (fd_id_value)\n+                        (drop|fwd) queue pf|vf(vf_id) (queue_id) \\\n+                        fd_id (fd_id_value)\n \n    flow_director_filter (port_id) (add|del|update) \\\n                         flow (ipv4-sctp|ipv6-sctp) \\\n@@ -1659,21 +1661,22 @@ Different NICs may have different capabilities, command show port fdir (port_id)\n                         dst (dst_ip_address) (dst_port)\n                         tag (verification_tag) vlan (vlan_value) \\\n                         flexbytes (flexbytes_value) (drop|fwd) \\\n-                        queue (queue_id) fd_id (fd_id_value)\n+                        pf|vf(vf_id) queue (queue_id) fd_id (fd_id_value)\n \n    flow_director_filter (port_id) (add|del|update) flow l2_payload \\\n                         ether (ethertype) flexbytes (flexbytes_value) \\\n-                        (drop|fwd) queue (queue_id) fd_id (fd_id_value)\n+                        (drop|fwd) pf|vf(vf_id) queue (queue_id)\n+                        fd_id (fd_id_value)\n \n For example, to add an ipv4-udp flow type filter::\n \n    testpmd> flow_director_filter 0 add flow ipv4-udp src 2.2.2.3 32 \\\n-            dst 2.2.2.5 33 vlan 0x1 flexbytes (0x88,0x48) fwd queue 1 fd_id 1\n+            dst 2.2.2.5 33 vlan 0x1 flexbytes (0x88,0x48) fwd pf queue 1 fd_id 1\n \n For example, add an ipv4-other flow type filter::\n \n    testpmd> flow_director_filter 0 add flow ipv4-other src 2.2.2.3 \\\n-             dst 2.2.2.5 vlan 0x1 flexbytes (0x88,0x48) fwd queue 1 fd_id 1\n+             dst 2.2.2.5 vlan 0x1 flexbytes (0x88,0x48) fwd pf queue 1 fd_id 1\n \n flush_flow_director\n ~~~~~~~~~~~~~~~~~~~\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "4/4"
    ]
}