get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 5127,
    "url": "http://patchwork.dpdk.org/api/patches/5127/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1433379638-32715-4-git-send-email-helin.zhang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1433379638-32715-4-git-send-email-helin.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1433379638-32715-4-git-send-email-helin.zhang@intel.com",
    "date": "2015-06-04T01:00:35",
    "name": "[dpdk-dev,3/6] fm10k: fill the hash key size",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fe632cec9f22e486ae3e4f4b460647229922a39a",
    "submitter": {
        "id": 14,
        "url": "http://patchwork.dpdk.org/api/people/14/?format=api",
        "name": "Zhang, Helin",
        "email": "helin.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1433379638-32715-4-git-send-email-helin.zhang@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/5127/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/5127/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 088D7C330;\n\tThu,  4 Jun 2015 03:00:55 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id C0B77C330\n\tfor <dev@dpdk.org>; Thu,  4 Jun 2015 03:00:52 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga101.fm.intel.com with ESMTP; 03 Jun 2015 18:00:52 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga001.fm.intel.com with ESMTP; 03 Jun 2015 18:00:50 -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 t5410mPU007987;\n\tThu, 4 Jun 2015 09:00:48 +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 t5410jXg000305; Thu, 4 Jun 2015 09:00:47 +0800",
            "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t5410ja7000301; \n\tThu, 4 Jun 2015 09:00:45 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.13,549,1427785200\"; d=\"scan'208\";a=\"720402438\"",
        "From": "Helin Zhang <helin.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu,  4 Jun 2015 09:00:35 +0800",
        "Message-Id": "<1433379638-32715-4-git-send-email-helin.zhang@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1433379638-32715-1-git-send-email-helin.zhang@intel.com>",
        "References": "<1433379638-32715-1-git-send-email-helin.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 3/6] fm10k: fill the hash key size",
        "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": "The correct hash key size in bytes should be filled into the\n'struct rte_eth_dev_info', to support querying it.\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\n---\n drivers/net/fm10k/fm10k_ethdev.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c\nindex 87852ed..bd626ce 100644\n--- a/drivers/net/fm10k/fm10k_ethdev.c\n+++ b/drivers/net/fm10k/fm10k_ethdev.c\n@@ -767,6 +767,7 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev,\n \t\tDEV_RX_OFFLOAD_UDP_CKSUM  |\n \t\tDEV_RX_OFFLOAD_TCP_CKSUM;\n \tdev_info->tx_offload_capa    = 0;\n+\tdev_info->hash_key_size = FM10K_RSSRK_SIZE * sizeof(uint32_t);\n \tdev_info->reta_size = FM10K_MAX_RSS_INDICES;\n \n \tdev_info->default_rxconf = (struct rte_eth_rxconf) {\n",
    "prefixes": [
        "dpdk-dev",
        "3/6"
    ]
}