get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56042,
    "url": "https://patches.dpdk.org/api/patches/56042/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190703155001.23244-1-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "https://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": "<20190703155001.23244-1-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190703155001.23244-1-stephen@networkplumber.org",
    "date": "2019-07-03T15:50:01",
    "name": "net/netvsc: fix definition of offload values",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "77d933428c9b882a6ee6252095e79b705af713b2",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190703155001.23244-1-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 5317,
            "url": "https://patches.dpdk.org/api/series/5317/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5317",
            "date": "2019-07-03T15:50:01",
            "name": "net/netvsc: fix definition of offload values",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/5317/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/56042/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/56042/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 5EE1E2956;\n\tWed,  3 Jul 2019 17:50:20 +0200 (CEST)",
            "from mail-pg1-f194.google.com (mail-pg1-f194.google.com\n\t[209.85.215.194]) by dpdk.org (Postfix) with ESMTP id 1C78E28EE\n\tfor <dev@dpdk.org>; Wed,  3 Jul 2019 17:50:19 +0200 (CEST)",
            "by mail-pg1-f194.google.com with SMTP id s27so1466269pgl.2\n\tfor <dev@dpdk.org>; Wed, 03 Jul 2019 08:50:19 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\ts193sm3111881pgc.32.2019.07.03.08.50.16\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tWed, 03 Jul 2019 08:50:17 -0700 (PDT)"
        ],
        "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:mime-version\n\t:content-transfer-encoding;\n\tbh=5zNyZci6PqFyL1RmaVvEGH9kVdgm0bmua3pHLKI5/8s=;\n\tb=fSDGUjjEYK9occcJwVLMZvdWLTLG0qVunjsXgwkFt+EcM63A9gbpM3409g0Q5cuyJC\n\t9U0VnCJxsqwHU5bt0h4XGCE7jFcpKF/zZ3Bp47+m4RF8/akY/rv80P4Ifz5pOd85zQap\n\tXMEYjgUADRX8vJFH6brWlvamw0N+9NqutGTknWBw7jaPGqIHDfWdoL0KfJF1ABVkDV7H\n\thVbj3jIJoWuYqPcnYIIaCScvTYn1C4NoNlyzvjmDM/bOqwzTYTwKEkurMoWhRAWu3E5A\n\tvtHsGM2uf/UI5mXja4CzU0jxjXav+hixBiy4HKtX4UCJwZ3RSd7Fp1uHOqHdq/pYwFzB\n\tvL9A==",
        "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:mime-version\n\t:content-transfer-encoding;\n\tbh=5zNyZci6PqFyL1RmaVvEGH9kVdgm0bmua3pHLKI5/8s=;\n\tb=CuikQwKDC1eiWTyHS4xgCKyJGPtXXEb+6+4w7KQn8Qbk9TloCfCxMPBSCGEEllmI2Y\n\tWyhTtk4VXydY5FW4iQGaG4Twfz28k6Nc7QqRGYa9GgDlentsrWitcVBSeazssNfkD1aV\n\tdFyQXXUEnTLXTBlduzwURHij9nmTZ8f07PYDqrS9lmGUIaH/IiZu+EbQZWV6doCRb57p\n\t6OCbsY+azFedaOwY1f8BH7PPR3B/VnZl2jl+072vdYt0HihkhrX+nV4AQMoq/to5kqPK\n\t4W2jVzaPRZrtfasZvGP9ijvxrGDCIYW9w2iKT9gPfsyUIaLYJtVy1ZPBX3BjxnV67Drf\n\tBgww==",
        "X-Gm-Message-State": "APjAAAWwLExkY5x32VYp82E1XqjEZE41ia+3IXVATIqpcpkd9jn9xO2n\n\tbkG16BqTK+FViDH0+NXU+B/BP95S8Oc=",
        "X-Google-Smtp-Source": "APXvYqxc5Q6w2DeVHwviJ/Q9jqNw+7JPhXdYUJdMx3Dmjv+2c4llZL1/lseaFvP1qGjAvzxlw8YWQw==",
        "X-Received": "by 2002:a17:90a:2008:: with SMTP id\n\tn8mr13453589pjc.4.1562169018056; \n\tWed, 03 Jul 2019 08:50:18 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Wed,  3 Jul 2019 08:50:01 -0700",
        "Message-Id": "<20190703155001.23244-1-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] net/netvsc: fix definition of offload values",
        "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": "The definition of ipsec and rsc offloads was incorrect.\nNeither one of these is used by current driver, but the values\nshould be fixed now for future RSC support.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/netvsc/ndis.h | 26 +++++++++++++-------------\n 1 file changed, 13 insertions(+), 13 deletions(-)",
    "diff": "diff --git a/drivers/net/netvsc/ndis.h b/drivers/net/netvsc/ndis.h\nindex 2e7ca99b151f..d97a397a8604 100644\n--- a/drivers/net/netvsc/ndis.h\n+++ b/drivers/net/netvsc/ndis.h\n@@ -262,17 +262,17 @@ struct ndis_lsov2_offload {\n \n struct ndis_ipsecv2_offload {\n \tuint32_t\t\t\tndis_encap;\t/*NDIS_OFFLOAD_ENCAP_*/\n-\tuint16_t\t\t\tndis_ip6;\n-\tuint16_t\t\t\tndis_ip4opt;\n-\tuint16_t\t\t\tndis_ip6ext;\n-\tuint16_t\t\t\tndis_ah;\n-\tuint16_t\t\t\tndis_esp;\n-\tuint16_t\t\t\tndis_ah_esp;\n-\tuint16_t\t\t\tndis_xport;\n-\tuint16_t\t\t\tndis_tun;\n-\tuint16_t\t\t\tndis_xport_tun;\n-\tuint16_t\t\t\tndis_lso;\n-\tuint16_t\t\t\tndis_extseq;\n+\tuint8_t\t\t\t\tndis_ip6;\n+\tuint8_t\t\t\t\tndis_ip4opt;\n+\tuint8_t\t\t\t\tndis_ip6ext;\n+\tuint8_t\t\t\t\tndis_ah;\n+\tuint8_t\t\t\t\tndis_esp;\n+\tuint8_t\t\t\t\tndis_ah_esp;\n+\tuint8_t\t\t\t\tndis_xport;\n+\tuint8_t\t\t\t\tndis_tun;\n+\tuint8_t\t\t\t\tndis_xport_tun;\n+\tuint8_t\t\t\t\tndis_lso;\n+\tuint8_t\t\t\t\tndis_extseq;\n \tuint32_t\t\t\tndis_udp_esp;\n \tuint32_t\t\t\tndis_auth;\n \tuint32_t\t\t\tndis_crypto;\n@@ -280,8 +280,8 @@ struct ndis_ipsecv2_offload {\n };\n \n struct ndis_rsc_offload {\n-\tuint16_t\t\t\tndis_ip4;\n-\tuint16_t\t\t\tndis_ip6;\n+\tuint8_t\t\t\t\tndis_ip4;\n+\tuint8_t\t\t\t\tndis_ip6;\n };\n \n struct ndis_encap_offload {\n",
    "prefixes": []
}