get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41731,
    "url": "http://patchwork.dpdk.org/api/patches/41731/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180628011538.2974-1-dharton@cisco.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": "<20180628011538.2974-1-dharton@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180628011538.2974-1-dharton@cisco.com",
    "date": "2018-06-28T01:15:38",
    "name": "net/i40e: remove memset in i40evf_dev_info_get",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "685290c1959c16951b5427d8c208616ccaf1ded9",
    "submitter": {
        "id": 252,
        "url": "http://patchwork.dpdk.org/api/people/252/?format=api",
        "name": "David Harton",
        "email": "dharton@cisco.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patchwork.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180628011538.2974-1-dharton@cisco.com/mbox/",
    "series": [
        {
            "id": 276,
            "url": "http://patchwork.dpdk.org/api/series/276/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=276",
            "date": "2018-06-28T01:15:38",
            "name": "net/i40e: remove memset in i40evf_dev_info_get",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/276/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/41731/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/41731/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 49E083772;\n\tThu, 28 Jun 2018 03:15:53 +0200 (CEST)",
            "from alln-iport-7.cisco.com (alln-iport-7.cisco.com\n\t[173.37.142.94]) by dpdk.org (Postfix) with ESMTP id 4D9852D13\n\tfor <dev@dpdk.org>; Thu, 28 Jun 2018 03:15:52 +0200 (CEST)",
            "from rcdn-core-11.cisco.com ([173.37.93.147])\n\tby alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Jun 2018 01:15:51 +0000",
            "from cpp-rtpbld-31.cisco.com (cpp-rtpbld-31.cisco.com\n\t[172.18.5.114])\n\tby rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id\n\tw5S1FoaE009942; Thu, 28 Jun 2018 01:15:51 GMT",
            "by cpp-rtpbld-31.cisco.com (Postfix, from userid 140087)\n\tid CA86886F; Wed, 27 Jun 2018 21:15:50 -0400 (EDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=966; q=dns/txt; s=iport;\n\tt=1530148552; x=1531358152;\n\th=from:to:cc:subject:date:message-id;\n\tbh=6Pq3LPlB/O5xTAAzBVdP8KPPMC2/e/RYBLC5fgmKiTE=;\n\tb=Vi8lZBunkXPacQtk51sFYQdSpIAoPT+SdOdUJwnFrQNFuPCzJJi1eSgP\n\tMnVnoErqiJrTfQ03Gd6TW+Q4LNpOeqXqq5xxNAl6p76j7zd83REP8d8k3\n\t243U7ETQJZJUZlyMuyVl629Lz57Njf+t7zGhcB7SrGDxxdScBW7AwmNYC Q=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,281,1526342400\"; d=\"scan'208\";a=\"135074228\"",
        "From": "David Harton <dharton@cisco.com>",
        "To": "beilei.xing@intel.com, qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, David Harton <dharton@cisco.com>, helin.zhang@intel.com",
        "Date": "Wed, 27 Jun 2018 21:15:38 -0400",
        "Message-Id": "<20180628011538.2974-1-dharton@cisco.com>",
        "X-Mailer": "git-send-email 2.10.3.dirty",
        "Subject": "[dpdk-dev] [PATCH] net/i40e: remove memset in i40evf_dev_info_get",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "i40evf_dev_info_get clears dev_info when data has already\nbeen set by the calling function. Remove the call to\nmemset() to fix the problem.\n\nFixes: 4861cde46116 (\"i40e: new poll mode driver\")\nCc: helin.zhang@intel.com\n\nSigned-off-by: David Harton <dharton@cisco.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 1 -\n 1 file changed, 1 deletion(-)",
    "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex 804e445..86b38d2 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -2182,7 +2182,6 @@ i40evf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n {\n \tstruct i40e_vf *vf = I40EVF_DEV_PRIVATE_TO_VF(dev->data->dev_private);\n \n-\tmemset(dev_info, 0, sizeof(*dev_info));\n \tdev_info->max_rx_queues = vf->vsi_res->num_queue_pairs;\n \tdev_info->max_tx_queues = vf->vsi_res->num_queue_pairs;\n \tdev_info->min_rx_bufsize = I40E_BUF_SIZE_MIN;\n",
    "prefixes": []
}