get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 14912,
    "url": "http://patches.dpdk.org/api/patches/14912/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1468968225-32717-1-git-send-email-johndale@cisco.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": "<1468968225-32717-1-git-send-email-johndale@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1468968225-32717-1-git-send-email-johndale@cisco.com",
    "date": "2016-07-19T22:43:45",
    "name": "[dpdk-dev] net/enic: heed VLAN strip flag in device configure function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f22f9e4b60dc78b93d7ec1e11f027d2a3b3c4ab0",
    "submitter": {
        "id": 359,
        "url": "http://patches.dpdk.org/api/people/359/?format=api",
        "name": "John Daley (johndale)",
        "email": "johndale@cisco.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1468968225-32717-1-git-send-email-johndale@cisco.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/14912/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/14912/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 4BEFB3238;\n\tWed, 20 Jul 2016 00:43:50 +0200 (CEST)",
            "from alln-iport-1.cisco.com (alln-iport-1.cisco.com\n\t[173.37.142.88]) by dpdk.org (Postfix) with ESMTP id 8356E2C01\n\tfor <dev@dpdk.org>; Wed, 20 Jul 2016 00:43:48 +0200 (CEST)",
            "from alln-core-3.cisco.com ([173.36.13.136])\n\tby alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA;\n\t19 Jul 2016 22:43:47 +0000",
            "from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48])\n\tby alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id u6JMhl9I029864;\n\tTue, 19 Jul 2016 22:43:47 GMT",
            "by cisco.com (Postfix, from userid 392789)\n\tid 939BA3FAAE12; Tue, 19 Jul 2016 15:43:47 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=892; q=dns/txt; s=iport;\n\tt=1468968228; x=1470177828;\n\th=from:to:cc:subject:date:message-id;\n\tbh=hsM9jwzVDmTeIOzejlEPyNRruQJNs1vHVPd6vYaU8IE=;\n\tb=iYX41aUtHrkIO8JfQXn78XJ4IMfRsWshJr8Pf0AW34kg2bd/K6zrbTPh\n\t8Y1DNYcgKCOkN4BQEpJaUiXsTye3uM4+g6LIvo9cRCP9kOzRkl3PSKVfX\n\t91qJclxylpfrahR8WW1AzGNhqEyTI+clRQjpy0AvW820SYIPPZ4yfgQAX c=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.28,391,1464652800\"; d=\"scan'208\";a=\"299898879\"",
        "From": "John Daley <johndale@cisco.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, John Daley <johndale@cisco.com>",
        "Date": "Tue, 19 Jul 2016 15:43:45 -0700",
        "Message-Id": "<1468968225-32717-1-git-send-email-johndale@cisco.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] net/enic: heed VLAN strip flag in device\n\tconfigure function",
        "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 configure function enicpmd_dev_configure() was not paying attention\nto the rxmode VLAN strip bit. Set the VLAN strip mode according to the bit.\n\nFixes: fefed3d1e62c (\"enic: new driver\")\n\nSigned-off-by: John Daley <johndale@cisco.com>\n---\n\nAlthough not critical, it is low risk and would be nice to have in 16_07.\n\n drivers/net/enic/enic_ethdev.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c\nindex 59082d2..47b07c9 100644\n--- a/drivers/net/enic/enic_ethdev.c\n+++ b/drivers/net/enic/enic_ethdev.c\n@@ -356,6 +356,7 @@ static int enicpmd_dev_configure(struct rte_eth_dev *eth_dev)\n \t\t\teth_dev->data->dev_conf.rxmode.split_hdr_size);\n \t}\n \n+\tenicpmd_vlan_offload_set(eth_dev, ETH_VLAN_STRIP_MASK);\n \tenic->hw_ip_checksum = eth_dev->data->dev_conf.rxmode.hw_ip_checksum;\n \treturn 0;\n }\n",
    "prefixes": [
        "dpdk-dev"
    ]
}