get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50202,
    "url": "http://patches.dpdk.org/api/patches/50202/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1549556983-10896-5-git-send-email-arybchenko@solarflare.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": "<1549556983-10896-5-git-send-email-arybchenko@solarflare.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1549556983-10896-5-git-send-email-arybchenko@solarflare.com",
    "date": "2019-02-07T16:29:09",
    "name": "[04/38] net/sfc/base: report support for Tx checksum op descriptors",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "40cecf3cc92c2e43afe57382fc3c4fd18d35be1c",
    "submitter": {
        "id": 607,
        "url": "http://patches.dpdk.org/api/people/607/?format=api",
        "name": "Andrew Rybchenko",
        "email": "arybchenko@solarflare.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/1549556983-10896-5-git-send-email-arybchenko@solarflare.com/mbox/",
    "series": [
        {
            "id": 3411,
            "url": "http://patches.dpdk.org/api/series/3411/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3411",
            "date": "2019-02-07T16:29:05",
            "name": "net/sfc: update base driver",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/3411/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/50202/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/50202/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 1B3A01B59E;\n\tThu,  7 Feb 2019 17:30:45 +0100 (CET)",
            "from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com\n\t[67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 9200A1B57F\n\tfor <dev@dpdk.org>; Thu,  7 Feb 2019 17:30:35 +0100 (CET)",
            "from webmail.solarflare.com (webmail.solarflare.com\n\t[12.187.104.26])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby mx1-us4.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with\n\tESMTPS id 6A499B40123; Thu,  7 Feb 2019 16:30:33 +0000 (UTC)",
            "from ocex03.SolarFlarecom.com (10.20.40.36) by\n\tocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server\n\t(TLS) id 15.0.1395.4; Thu, 7 Feb 2019 08:30:30 -0800",
            "from opal.uk.solarflarecom.com (10.17.10.1) by\n\tocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server\n\t(TLS) id\n\t15.0.1395.4 via Frontend Transport; Thu, 7 Feb 2019 08:30:30 -0800",
            "from ukv-loginhost.uk.solarflarecom.com\n\t(ukv-loginhost.uk.solarflarecom.com [10.17.10.39])\n\tby opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id\n\tx17GUTDr015262; Thu, 7 Feb 2019 16:30:29 GMT",
            "from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1])\n\tby ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id\n\t398FE1613E4; Thu,  7 Feb 2019 16:30:29 +0000 (GMT)"
        ],
        "X-Virus-Scanned": "Proofpoint Essentials engine",
        "From": "Andrew Rybchenko <arybchenko@solarflare.com>",
        "To": "<dev@dpdk.org>",
        "CC": "Ivan Malov <Ivan.Malov@oktetlabs.ru>",
        "Date": "Thu, 7 Feb 2019 16:29:09 +0000",
        "Message-ID": "<1549556983-10896-5-git-send-email-arybchenko@solarflare.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1549556983-10896-1-git-send-email-arybchenko@solarflare.com>",
        "References": "<1549556983-10896-1-git-send-email-arybchenko@solarflare.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-TM-AS-Product-Ver": "SMEX-12.5.0.1300-8.5.1010-24412.006",
        "X-TM-AS-Result": "No-8.036400-4.000000-10",
        "X-TMASE-MatchedRID": "oE24wyR5wS8J6wzMnv4Oz23NvezwBrVmYpovC7zX5q85yqWxi+AoVRFh\n\tASIm32ESalLvadBOxe52/Re5HRkpkjzr+uccIbqvneIQmu8UmaFo29AKEHXWusd4gWcpDnUc28v\n\tyRIpB9YTfYGIa9wgZ2MmgBbAuuqpIHHL/CMIM6toD2WXLXdz+AZKLNrbpy/A0hMCay0XZ9FdSDj\n\tL0usXyXkJs5+xEm305jLwgL2JEtWUHs8eAsowljUo3NubK1zYIfS0Ip2eEHnz3IzXlXlpamPoLR\n\t4+zsDTt9Ss5ONHRGPVS/8xr07O57Ml3gbyDh0sLMnGwjgapfyGKm15bfpqT6A==",
        "X-TM-AS-User-Approved-Sender": "No",
        "X-TM-AS-User-Blocked-Sender": "No",
        "X-TMASE-Result": "10--8.036400-4.000000",
        "X-TMASE-Version": "SMEX-12.5.0.1300-8.5.1010-24412.006",
        "X-MDID": "1549557034-Iys3W85lSWas",
        "Subject": "[dpdk-dev] [PATCH 04/38] net/sfc/base: report support for Tx\n\tchecksum op descriptors",
        "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": "From: Ivan Malov <Ivan.Malov@oktetlabs.ru>\n\nFreeBSD driver needs a patch to provide a means for packets\nwhich do not need checksum offload but have flow ID set\nto avoid hitting only the first Tx queue (which has been used\nfor packets not needing checksum offload).\n\nThis should be possible on Huntington, Medford or Medford2 chips\nsince these support toggling checksum offload on any given queue\ndynamically by means of pushing option descriptors.\n\nThe patch for FreeBSD driver will then need a means to figure out\nwhether the feature can be used, and testing adapter family might\nnot be a good solution.\n\nThis patch adds a feature bit specifically to indicate support\nfor checksum option descriptors. The new feature bits may have\nmore users in future, apart from the mentioned FreeBSD patch.\n\nSigned-off-by: Ivan Malov <Ivan.Malov@oktetlabs.ru>\nSigned-off-by: Andrew Rybchenko <arybchenko@solarflare.com>\n---\n drivers/net/sfc/base/efx.h     | 1 +\n drivers/net/sfc/base/efx_nic.c | 9 ++++++---\n 2 files changed, 7 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h\nindex 97c4846d2..a612b6988 100644\n--- a/drivers/net/sfc/base/efx.h\n+++ b/drivers/net/sfc/base/efx.h\n@@ -1233,6 +1233,7 @@ efx_bist_stop(\n #define\tEFX_FEATURE_FW_ASSISTED_TSO\t0x00001000\n #define\tEFX_FEATURE_FW_ASSISTED_TSO_V2\t0x00002000\n #define\tEFX_FEATURE_PACKED_STREAM\t0x00004000\n+#define\tEFX_FEATURE_TXQ_CKSUM_OP_DESC\t0x00008000\n \n typedef enum efx_tunnel_protocol_e {\n \tEFX_TUNNEL_PROTOCOL_NONE = 0,\ndiff --git a/drivers/net/sfc/base/efx_nic.c b/drivers/net/sfc/base/efx_nic.c\nindex cea32b792..52108a5b8 100644\n--- a/drivers/net/sfc/base/efx_nic.c\n+++ b/drivers/net/sfc/base/efx_nic.c\n@@ -228,7 +228,8 @@ efx_nic_create(\n \t\t    EFX_FEATURE_PIO_BUFFERS |\n \t\t    EFX_FEATURE_FW_ASSISTED_TSO |\n \t\t    EFX_FEATURE_FW_ASSISTED_TSO_V2 |\n-\t\t    EFX_FEATURE_PACKED_STREAM;\n+\t\t    EFX_FEATURE_PACKED_STREAM |\n+\t\t    EFX_FEATURE_TXQ_CKSUM_OP_DESC;\n \t\tbreak;\n #endif\t/* EFSYS_OPT_HUNTINGTON */\n \n@@ -248,7 +249,8 @@ efx_nic_create(\n \t\t    EFX_FEATURE_MCDI_DMA |\n \t\t    EFX_FEATURE_PIO_BUFFERS |\n \t\t    EFX_FEATURE_FW_ASSISTED_TSO_V2 |\n-\t\t    EFX_FEATURE_PACKED_STREAM;\n+\t\t    EFX_FEATURE_PACKED_STREAM |\n+\t\t    EFX_FEATURE_TXQ_CKSUM_OP_DESC;\n \t\tbreak;\n #endif\t/* EFSYS_OPT_MEDFORD */\n \n@@ -264,7 +266,8 @@ efx_nic_create(\n \t\t    EFX_FEATURE_MCDI_DMA |\n \t\t    EFX_FEATURE_PIO_BUFFERS |\n \t\t    EFX_FEATURE_FW_ASSISTED_TSO_V2 |\n-\t\t    EFX_FEATURE_PACKED_STREAM;\n+\t\t    EFX_FEATURE_PACKED_STREAM |\n+\t\t    EFX_FEATURE_TXQ_CKSUM_OP_DESC;\n \t\tbreak;\n #endif\t/* EFSYS_OPT_MEDFORD2 */\n \n",
    "prefixes": [
        "04/38"
    ]
}