get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8503,
    "url": "https://patches.dpdk.org/api/patches/8503/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1446308653-2378-2-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": "<1446308653-2378-2-git-send-email-jingjing.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446308653-2378-2-git-send-email-jingjing.wu@intel.com",
    "date": "2015-10-31T16:24:11",
    "name": "[dpdk-dev,v3,1/3] ethdev: extend struct to support flow director in VFs",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "746cff170f7f8266087ee7be19521d76f5216c77",
    "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/1446308653-2378-2-git-send-email-jingjing.wu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/8503/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/8503/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 629158D9E;\n\tSat, 31 Oct 2015 17:24:27 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 9E8FA8D9A\n\tfor <dev@dpdk.org>; Sat, 31 Oct 2015 17:24:25 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP; 31 Oct 2015 09:24:22 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga001.jf.intel.com with ESMTP; 31 Oct 2015 09:24:22 -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 t9VGOKu5022094;\n\tSun, 1 Nov 2015 00:24:20 +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 t9VGOG91002419; Sun, 1 Nov 2015 00:24:19 +0800",
            "(from wujingji@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9VGOG25002415; \n\tSun, 1 Nov 2015 00:24:16 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,224,1444719600\"; d=\"scan'208\";a=\"808483414\"",
        "From": "Jingjing Wu <jingjing.wu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Sun,  1 Nov 2015 00:24:11 +0800",
        "Message-Id": "<1446308653-2378-2-git-send-email-jingjing.wu@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1446308653-2378-1-git-send-email-jingjing.wu@intel.com>",
        "References": "<1446021688-17544-1-git-send-email-jingjing.wu@intel.com>\n\t<1446308653-2378-1-git-send-email-jingjing.wu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 1/3] ethdev: extend struct to support flow\n\tdirector in VFs",
        "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": "This patch extends struct rte_eth_fdir_flow_ext to support flow\ndirector in VFs.\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 | 3 +++\n lib/librte_ether/rte_eth_ctrl.h      | 2 ++\n 3 files changed, 5 insertions(+), 4 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 116162e..8ca3872 100644\n--- a/doc/guides/rel_notes/release_2_2.rst\n+++ b/doc/guides/rel_notes/release_2_2.rst\n@@ -164,6 +164,9 @@ 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 \n Shared Library Versions\n -----------------------\ndiff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h\nindex 770c76c..3f86094 100644\n--- a/lib/librte_ether/rte_eth_ctrl.h\n+++ b/lib/librte_ether/rte_eth_ctrl.h\n@@ -426,6 +426,8 @@ struct rte_eth_fdir_flow_ext {\n \tuint16_t vlan_tci;\n \tuint8_t flexbytes[RTE_ETH_FDIR_MAX_FLEXLEN];\n \t/**< It is filled by the flexible payload to match. */\n+\tuint8_t is_vf;   /**< 1 for VF, 0 for port dev */\n+\tuint16_t dst_id; /**< VF ID, available when is_vf is 1*/\n };\n \n /**\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "1/3"
    ]
}