get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 20425,
    "url": "https://patches.dpdk.org/api/patches/20425/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1487126547-29902-1-git-send-email-beilei.xing@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": "<1487126547-29902-1-git-send-email-beilei.xing@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1487126547-29902-1-git-send-email-beilei.xing@intel.com",
    "date": "2017-02-15T02:42:27",
    "name": "[dpdk-dev,v2] net/i40e: fix allocating hash table on random socket",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7632194d942737bda537e2e554ba5c0bfc88d7a2",
    "submitter": {
        "id": 410,
        "url": "https://patches.dpdk.org/api/people/410/?format=api",
        "name": "Xing, Beilei",
        "email": "beilei.xing@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/1487126547-29902-1-git-send-email-beilei.xing@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/20425/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/20425/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 2C1E6A2F;\n\tWed, 15 Feb 2017 03:43:38 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 7DB43A2F\n\tfor <dev@dpdk.org>; Wed, 15 Feb 2017 03:43:36 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Feb 2017 18:43:35 -0800",
            "from unknown (HELO dpdk9.sh.intel.com) ([10.239.129.31])\n\tby fmsmga005.fm.intel.com with ESMTP; 14 Feb 2017 18:43:34 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.35,163,1484035200\"; d=\"scan'208\";a=\"65279334\"",
        "From": "Beilei Xing <beilei.xing@intel.com>",
        "To": "jingjing.wu@intel.com",
        "Cc": "jianfeng.tan@intel.com,\n\tdev@dpdk.org",
        "Date": "Wed, 15 Feb 2017 10:42:27 +0800",
        "Message-Id": "<1487126547-29902-1-git-send-email-beilei.xing@intel.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "In-Reply-To": "<1487124081-6285-1-git-send-email-beilei.xing@intel.com>",
        "References": "<1487124081-6285-1-git-send-email-beilei.xing@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] net/i40e: fix allocating hash table on random\n\tsocket",
        "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": "Testpmd failed to start in another hugetlbfs mount point on\ni40e, the root cause is that hash table is allocated on a\nrandom socket. Fix the issue by assigning scocket id during\nhash parameter defination.\n\nFixes: 5c53c82c8174 (\"net/i40e: store flow director filter\")\nFixes: 425c3325f0b0 (\"net/i40e: store tunnel filter\")\nFixes: 078259773da9 (\"net/i40e: store ethertype filter\")\n\nSigned-off-by: Beilei Xing <beilei.xing@intel.com>\n---\n drivers/net/i40e/i40e_ethdev.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex 303027b..be2e580 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -899,6 +899,8 @@ i40e_init_ethtype_filter_list(struct rte_eth_dev *dev)\n \t\t.entries = I40E_MAX_ETHERTYPE_FILTER_NUM,\n \t\t.key_len = sizeof(struct i40e_ethertype_filter_input),\n \t\t.hash_func = rte_hash_crc,\n+\t\t.hash_func_init_val = 0,\n+\t\t.socket_id = rte_socket_id(),\n \t};\n \n \t/* Initialize ethertype filter rule list and hash */\n@@ -942,6 +944,8 @@ i40e_init_tunnel_filter_list(struct rte_eth_dev *dev)\n \t\t.entries = I40E_MAX_TUNNEL_FILTER_NUM,\n \t\t.key_len = sizeof(struct i40e_tunnel_filter_input),\n \t\t.hash_func = rte_hash_crc,\n+\t\t.hash_func_init_val = 0,\n+\t\t.socket_id = rte_socket_id(),\n \t};\n \n \t/* Initialize tunnel filter rule list and hash */\n@@ -985,6 +989,8 @@ i40e_init_fdir_filter_list(struct rte_eth_dev *dev)\n \t\t.entries = I40E_MAX_FDIR_FILTER_NUM,\n \t\t.key_len = sizeof(struct rte_eth_fdir_input),\n \t\t.hash_func = rte_hash_crc,\n+\t\t.hash_func_init_val = 0,\n+\t\t.socket_id = rte_socket_id(),\n \t};\n \n \t/* Initialize flow director filter rule list and hash */\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}