get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44326,
    "url": "https://patches.dpdk.org/api/patches/44326/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1536235311-43741-1-git-send-email-dekelp@mellanox.com/",
    "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": "<1536235311-43741-1-git-send-email-dekelp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1536235311-43741-1-git-send-email-dekelp@mellanox.com",
    "date": "2018-09-06T12:01:51",
    "name": "ethdev: fix missing names in Tx offload name array",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c67adb5f756785c88bf784fc02b6ba61dad8d506",
    "submitter": {
        "id": 1082,
        "url": "https://patches.dpdk.org/api/people/1082/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@mellanox.com"
    },
    "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/1536235311-43741-1-git-send-email-dekelp@mellanox.com/mbox/",
    "series": [
        {
            "id": 1206,
            "url": "https://patches.dpdk.org/api/series/1206/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1206",
            "date": "2018-09-06T12:01:51",
            "name": "ethdev: fix missing names in Tx offload name array",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/1206/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/44326/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/44326/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 581EC326D;\n\tThu,  6 Sep 2018 14:50:23 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id CEFE2325F\n\tfor <dev@dpdk.org>; Thu,  6 Sep 2018 14:50:19 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tdekelp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 6 Sep 2018 15:14:19 +0300",
            "from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx\n\t[10.128.130.87])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w86CACXA016436;\n\tThu, 6 Sep 2018 15:10:12 +0300"
        ],
        "From": "Dekel Peled <dekelp@mellanox.com>",
        "To": "thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com, \n\tdev@dpdk.org",
        "Cc": "xuemingl@mellanox.com, orika@mellanox.com",
        "Date": "Thu,  6 Sep 2018 15:01:51 +0300",
        "Message-Id": "<1536235311-43741-1-git-send-email-dekelp@mellanox.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "Subject": "[dpdk-dev] [PATCH] ethdev: fix missing names in Tx offload name\n\tarray",
        "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": "Patch 5355f443 added two definitions of DEV_TX_OFFLOAD_xxx.\nIf new Tx offload capabilities are defined, they also must be mentioned\nin rte_tx_offload_names in rte_ethdev.c file.\n\nThis patch adds the required lines in aray rte_tx_offload_names.\n\nFixes: 5355f4439e2e (\"ethdev: introduce generic IP/UDP tunnel checksum and TSO\")\n\nCc: xuemingl@mellanox.com\n\nSigned-off-by: Dekel Peled <dekelp@mellanox.com>\n---\n lib/librte_ethdev/rte_ethdev.c | 2 ++\n lib/librte_ethdev/rte_ethdev.h | 4 ++--\n 2 files changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c\nindex 3f8de93..5004b9f 100644\n--- a/lib/librte_ethdev/rte_ethdev.c\n+++ b/lib/librte_ethdev/rte_ethdev.c\n@@ -156,6 +156,8 @@ struct rte_eth_xstats_name_off {\n \tRTE_TX_OFFLOAD_BIT2STR(MULTI_SEGS),\n \tRTE_TX_OFFLOAD_BIT2STR(MBUF_FAST_FREE),\n \tRTE_TX_OFFLOAD_BIT2STR(SECURITY),\n+\tRTE_TX_OFFLOAD_BIT2STR(UDP_TNL_TSO),\n+\tRTE_TX_OFFLOAD_BIT2STR(IP_TNL_TSO),\n };\n \n #undef RTE_TX_OFFLOAD_BIT2STR\ndiff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex fa2812b..5456ce2 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -941,18 +941,18 @@ struct rte_eth_conf {\n  *   the same mempool and has refcnt = 1.\n  */\n #define DEV_TX_OFFLOAD_SECURITY         0x00020000\n+#define DEV_TX_OFFLOAD_UDP_TNL_TSO      0x00040000\n /**\n  * Device supports generic UDP tunneled packet TSO.\n  * Application must set PKT_TX_TUNNEL_UDP and other mbuf fields required\n  * for tunnel TSO.\n  */\n-#define DEV_TX_OFFLOAD_UDP_TNL_TSO      0x00040000\n+#define DEV_TX_OFFLOAD_IP_TNL_TSO       0x00080000\n /**\n  * Device supports generic IP tunneled packet TSO.\n  * Application must set PKT_TX_TUNNEL_IP and other mbuf fields required\n  * for tunnel TSO.\n  */\n-#define DEV_TX_OFFLOAD_IP_TNL_TSO       0x00080000\n \n #define RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP 0x00000001\n /**< Device supports Rx queue setup after device started*/\n",
    "prefixes": []
}