get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 25014,
    "url": "https://patches.dpdk.org/api/patches/25014/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1496338605-7338-3-git-send-email-qi.z.zhang@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": "<1496338605-7338-3-git-send-email-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1496338605-7338-3-git-send-email-qi.z.zhang@intel.com",
    "date": "2017-06-01T17:36:44",
    "name": "[dpdk-dev,v3,2/3] net/ixgbe: fix fdir mask not be reset",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "bd5cde32d3cd51e92fa26559cf503ed9a1e0f2d2",
    "submitter": {
        "id": 504,
        "url": "https://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1496338605-7338-3-git-send-email-qi.z.zhang@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/25014/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/25014/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 2D9337D02;\n\tFri,  2 Jun 2017 02:43:32 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id F0ABD7CE3;\n\tFri,  2 Jun 2017 02:43:26 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t01 Jun 2017 17:43:26 -0700",
            "from zhangqi.sh.intel.com ([10.239.129.189])\n\tby orsmga004.jf.intel.com with ESMTP; 01 Jun 2017 17:43:25 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.39,282,1493708400\"; d=\"scan'208\";a=\"93818929\"",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "wenzhuo.lu@intel.com,\n\thelin.zhang@intel.com",
        "Cc": "dev@dpdk.org,\n\tQi Zhang <qi.z.zhang@intel.com>,\n\tstable@dpdk.org",
        "Date": "Thu,  1 Jun 2017 13:36:44 -0400",
        "Message-Id": "<1496338605-7338-3-git-send-email-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1496338605-7338-1-git-send-email-qi.z.zhang@intel.com>",
        "References": "<1496259940-15547-1-git-send-email-qi.z.zhang@intel.com>\n\t<1496338605-7338-1-git-send-email-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 2/3] net/ixgbe: fix fdir mask not be reset",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "When the last fdir flow be destroyed, the flag \"mask_added\"\nshould be reset, so the remain mask info will not take effect\nwhen a new flow be added.\n\nFixes: a14de8b498d1 (\"net/ixgbe: destroy consistent filter\")\nCc: stable@dpdk.org\n\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ixgbe/ixgbe_flow.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c\nindex 60ca8d8..4e64d8d 100644\n--- a/drivers/net/ixgbe/ixgbe_flow.c\n+++ b/drivers/net/ixgbe/ixgbe_flow.c\n@@ -2639,6 +2639,8 @@ ixgbe_flow_destroy(struct rte_eth_dev *dev,\n \tstruct ixgbe_eth_l2_tunnel_conf_ele *l2_tn_filter_ptr;\n \tstruct ixgbe_fdir_rule_ele *fdir_rule_ptr;\n \tstruct ixgbe_flow_mem *ixgbe_flow_mem_ptr;\n+\tstruct ixgbe_hw_fdir_info *fdir_info =\n+\t\tIXGBE_DEV_PRIVATE_TO_FDIR_INFO(dev->data->dev_private);\n \n \tswitch (filter_type) {\n \tcase RTE_ETH_FILTER_NTUPLE:\n@@ -2691,6 +2693,8 @@ ixgbe_flow_destroy(struct rte_eth_dev *dev,\n \t\t\tTAILQ_REMOVE(&filter_fdir_list,\n \t\t\t\tfdir_rule_ptr, entries);\n \t\t\trte_free(fdir_rule_ptr);\n+\t\t\tif (TAILQ_EMPTY(&filter_fdir_list))\n+\t\t\t\tfdir_info->mask_added = false;\n \t\t}\n \t\tbreak;\n \tcase RTE_ETH_FILTER_L2_TUNNEL:\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "2/3"
    ]
}