get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 17542,
    "url": "http://patches.dpdk.org/api/patches/17542/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1480746909-25686-1-git-send-email-Rasesh.Mody@cavium.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<1480746909-25686-1-git-send-email-Rasesh.Mody@cavium.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1480746909-25686-1-git-send-email-Rasesh.Mody@cavium.com",
    "date": "2016-12-03T06:35:02",
    "name": "[dpdk-dev,1/8] net/qede: fix to get vendor/device id info",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "391ff63c8847f51022d970641c8fcf2b50a0ff45",
    "submitter": {
        "id": 569,
        "url": "http://patches.dpdk.org/api/people/569/?format=api",
        "name": "Mody, Rasesh",
        "email": "rasesh.mody@cavium.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1480746909-25686-1-git-send-email-Rasesh.Mody@cavium.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/17542/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/17542/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 E563B591E;\n\tSat,  3 Dec 2016 07:35:28 +0100 (CET)",
            "from mx0b-0016ce01.pphosted.com (mx0a-0016ce01.pphosted.com\n\t[67.231.148.157]) by dpdk.org (Postfix) with ESMTP id A774658CB\n\tfor <dev@dpdk.org>; Sat,  3 Dec 2016 07:35:26 +0100 (CET)",
            "from pps.filterd (m0095336.ppops.net [127.0.0.1])\n\tby mx0a-0016ce01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id\n\tuB36VB8L006300; Fri, 2 Dec 2016 22:35:23 -0800",
            "from avcashub1.qlogic.com ([198.186.0.116])\n\tby mx0a-0016ce01.pphosted.com with ESMTP id 26y9c9hfj6-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tFri, 02 Dec 2016 22:35:23 -0800",
            "from avluser05.qlc.com (10.1.113.115) by qlc.com (10.1.4.191) with\n\tMicrosoft SMTP Server id 14.3.235.1; Fri, 2 Dec 2016 22:35:22 -0800",
            "(from rmody@localhost)\tby avluser05.qlc.com (8.14.4/8.14.4/Submit)\n\tid uB36ZM9l025767;\tFri, 2 Dec 2016 22:35:22 -0800"
        ],
        "X-Authentication-Warning": "avluser05.qlc.com: rmody set sender to\n\tRasesh.Mody@cavium.com using -f",
        "From": "Rasesh Mody <Rasesh.Mody@cavium.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<Dept-EngDPDKDev@cavium.com>, Rasesh Mody <Rasesh.Mody@cavium.com>",
        "Date": "Fri, 2 Dec 2016 22:35:02 -0800",
        "Message-ID": "<1480746909-25686-1-git-send-email-Rasesh.Mody@cavium.com>",
        "X-Mailer": "git-send-email 1.7.10.3",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "disclaimer": "bypass",
        "X-Proofpoint-Virus-Version": "vendor=nai engine=5800 definitions=8367\n\tsignatures=670762",
        "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0\n\tpriorityscore=1501 malwarescore=0\n\tsuspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015\n\tlowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam\n\tadjust=0\n\treason=mlx scancount=1 engine=8.0.1-1609300000\n\tdefinitions=main-1612030113",
        "Subject": "[dpdk-dev] [PATCH 1/8] net/qede: fix to get vendor/device id info",
        "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": "Fixes: ec94dbc5 (\"qede: add base driver\")\n\nSigned-off-by: Rasesh Mody <Rasesh.Mody@cavium.com>\n---\n drivers/net/qede/qede_ethdev.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c\nindex 9c2a5eae..b9a325df 100644\n--- a/drivers/net/qede/qede_ethdev.c\n+++ b/drivers/net/qede/qede_ethdev.c\n@@ -2071,6 +2071,10 @@ static int qede_common_dev_init(struct rte_eth_dev *eth_dev, bool is_vf)\n \n \trte_eth_copy_pci_info(eth_dev, pci_dev);\n \n+\t/* @DPDK */\n+\tedev->vendor_id = pci_dev->id.vendor_id;\n+\tedev->device_id = pci_dev->id.device_id;\n+\n \tqed_ops = qed_get_eth_ops();\n \tif (!qed_ops) {\n \t\tDP_ERR(edev, \"Failed to get qed_eth_ops_pass\\n\");\n",
    "prefixes": [
        "dpdk-dev",
        "1/8"
    ]
}