get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43608,
    "url": "http://patches.dpdk.org/api/patches/43608/",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180806182244.9842-3-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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": "<20180806182244.9842-3-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180806182244.9842-3-stephen@networkplumber.org",
    "date": "2018-08-06T18:22:44",
    "name": "[2/2] netvsc: report checksum failures",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b6dbd2b6a0d8eb3cbe95e8e40ac274068ce2bc0c",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180806182244.9842-3-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 920,
            "url": "http://patches.dpdk.org/api/series/920/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=920",
            "date": "2018-08-06T18:22:42",
            "name": "netvsc: small patches",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/920/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43608/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/43608/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "X-BeenThere": "dev@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Google-Smtp-Source": "AAOMgpfLBpWSqUOIjkCu1A3rkIW2kEtyAKy5K95dJ0DL4ke8DI2t/X/Pqt7lRF22ANzbzmMStk6xTA==",
        "References": "<20180806182244.9842-1-stephen@networkplumber.org>",
        "In-Reply-To": "<20180806182244.9842-1-stephen@networkplumber.org>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Mailer": "git-send-email 2.18.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=MvT1nhrzKkiMhuxRmprxPJaas7TuL+37kzybYdTPN58=;\n\tb=QvFN+tArax5DeCyPAbGozF5wUK1XuuJM97govgKBlFGRx3KSm7l9VsGXN4BCtb++x8\n\tZNSogXhZUdfj8Ny/+1lmEcr5n43FYw/RwRawHfi3R7u3VEQ2OTPR2W0BFtKwvVzGCpDU\n\tvFcQzVvYXy7SjCNlZZm2uSSwYdDTKyjPSPUtHOsAjBCRLIq78qhRIE7iDcsAKix0RMFh\n\twVR92vVCQ/zWULtplE3s4eZoNn06VLWfdVhFua6H/PsUaFjHlaHZ5qAJsBiBZnmFhfkm\n\tD5j9KSA8DY5Q84lnbZBbMZSaou2jqeG34N5g1pZ9/BrjqzVraVARS+Nt3tKIf8on6rS9\n\tBrxQ==",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1B0E31B431;\n\tMon,  6 Aug 2018 20:22:58 +0200 (CEST)",
            "from mail-pl0-f67.google.com (mail-pl0-f67.google.com\n\t[209.85.160.67]) by dpdk.org (Postfix) with ESMTP id 108D31B3A9\n\tfor <dev@dpdk.org>; Mon,  6 Aug 2018 20:22:56 +0200 (CEST)",
            "by mail-pl0-f67.google.com with SMTP id d5-v6so6000311pll.4\n\tfor <dev@dpdk.org>; Mon, 06 Aug 2018 11:22:55 -0700 (PDT)",
            "from xeon-e3.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tb20-v6sm26683086pfc.178.2018.08.06.11.22.53\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 06 Aug 2018 11:22:53 -0700 (PDT)"
        ],
        "X-Original-To": "patchwork@dpdk.org",
        "X-Received": "by 2002:a17:902:3081:: with SMTP id\n\tv1-v6mr15223147plb.58.1533579774912; \n\tMon, 06 Aug 2018 11:22:54 -0700 (PDT)",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Gm-Message-State": "AOUpUlEBDygxxbDIC+I4wbcBU4SvkFObbMhbJjP+KfKDk/T4m2c3IlvS\n\thAmGzlz5srrt53nlJsOVlvOzb+DhcZU=",
        "X-Mailman-Version": "2.1.15",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=MvT1nhrzKkiMhuxRmprxPJaas7TuL+37kzybYdTPN58=;\n\tb=RxfUKj3PxAPGJwFkRpiWhbMwTVTB3VhF93dJ92EufhOqy3vvFYhpHOjXkJq3XHSHIg\n\ttKF1vCf1uFerJpeTULttHQBbL+jrot+W9NGOe6VgQSxW4KFH3WqnwvHm4EwNKmh/TKJA\n\tIRzlcbH2BIK9/Z0nEyvnLCUQGhAkOn3XXNle8JLQGTI6IQLnOmM56FPXNozhq/bUivjW\n\tYY3Uq0ekxEu/GODSYBrrfpvpVhL8OSb0eopTe985S5zdxvonNx52I2rTMpA3GjV3KkxR\n\tmCmbgXb3gFaeOKkAHIvxd3zcQPmt9PYl5YY8ueMFbMeEaJYAuZvlmjZwl+DRaVgxvX03\n\t3VAg==",
        "Subject": "[dpdk-dev] [PATCH 2/2] netvsc: report checksum failures",
        "Date": "Mon,  6 Aug 2018 11:22:44 -0700",
        "Message-Id": "<20180806182244.9842-3-stephen@networkplumber.org>",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n\tStephen Hemminger <sthemmin@microsoft.com>",
        "Precedence": "list"
    },
    "content": "The host will notify netvsc device about failed UDP and TCP\nchecksum. Propogate that information into the mbuf.\n\nSigned-off-by: Stephen Hemminger <sthemmin@microsoft.com>\n---\n drivers/net/netvsc/hn_rxtx.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/netvsc/hn_rxtx.c b/drivers/net/netvsc/hn_rxtx.c\nindex 25c97ea43ad6..02ef27e363cc 100644\n--- a/drivers/net/netvsc/hn_rxtx.c\n+++ b/drivers/net/netvsc/hn_rxtx.c\n@@ -513,6 +513,9 @@ static void hn_rxpkt(struct hn_rx_queue *rxq, struct hn_rx_bufinfo *rxb,\n \t\tif (info->csum_info & (NDIS_RXCSUM_INFO_UDPCS_OK\n \t\t\t\t       | NDIS_RXCSUM_INFO_TCPCS_OK))\n \t\t\tm->ol_flags |= PKT_RX_L4_CKSUM_GOOD;\n+\t\telse if (info->csum_info & (NDIS_RXCSUM_INFO_TCPCS_FAILED\n+\t\t\t\t\t    | NDIS_RXCSUM_INFO_UDPCS_FAILED))\n+\t\t\tm->ol_flags |= PKT_RX_L4_CKSUM_BAD;\n \t}\n \n \tif (info->hash_info != HN_NDIS_HASH_INFO_INVALID) {\n",
    "prefixes": [
        "2/2"
    ]
}