get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42083,
    "url": "http://patchwork.dpdk.org/api/patches/42083/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1530520018-7302-2-git-send-email-phil.yang@arm.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1530520018-7302-2-git-send-email-phil.yang@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1530520018-7302-2-git-send-email-phil.yang@arm.com",
    "date": "2018-07-02T08:26:58",
    "name": "[2/2] test/link_bonding_rssconf: disable HW CRC strip by default",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b2a73e7d1db0446ba77f29cec1d99632910a41f6",
    "submitter": {
        "id": 833,
        "url": "http://patchwork.dpdk.org/api/people/833/?format=api",
        "name": "Phil Yang",
        "email": "phil.yang@arm.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1530520018-7302-2-git-send-email-phil.yang@arm.com/mbox/",
    "series": [
        {
            "id": 349,
            "url": "http://patchwork.dpdk.org/api/series/349/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=349",
            "date": "2018-07-02T08:26:57",
            "name": "[1/2] test/link_bonding: disable HW CRC strip by default.",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/349/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/42083/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/42083/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 BA9585B3C;\n\tMon,  2 Jul 2018 10:27:16 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id CF3255B14\n\tfor <dev@dpdk.org>; Mon,  2 Jul 2018 10:27:13 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3F9A51529;\n\tMon,  2 Jul 2018 01:27:13 -0700 (PDT)",
            "from phil-VirtualBox.shanghai.arm.com (unknown [10.169.107.153])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\tA1CF23F5AD; Mon,  2 Jul 2018 01:27:12 -0700 (PDT)"
        ],
        "From": "Phil Yang <phil.yang@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "nd@arm.com,\n\tphil.yang@arm.com",
        "Date": "Mon,  2 Jul 2018 16:26:58 +0800",
        "Message-Id": "<1530520018-7302-2-git-send-email-phil.yang@arm.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1530520018-7302-1-git-send-email-phil.yang@arm.com>",
        "References": "<1530520018-7302-1-git-send-email-phil.yang@arm.com>",
        "Subject": "[dpdk-dev] [PATCH 2/2] test/link_bonding_rssconf: disable HW CRC\n\tstrip by default",
        "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": "Since the tested null device has no capacity of HW CRC offload,\ndisable it for the link bonding rssconf test by default. Otherwise,\nit will cause test unexpected failure.\n\nFixes: b219c8c(\"test: enable HW CRC strip by default\")\n\nSigned-off-by: Phil Yang <phil.yang@arm.com>\n---\n test/test/test_link_bonding_rssconf.c | 16 ++++------------\n 1 file changed, 4 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/test/test/test_link_bonding_rssconf.c b/test/test/test_link_bonding_rssconf.c\nindex 6a1a28d..b23e4e8 100644\n--- a/test/test/test_link_bonding_rssconf.c\n+++ b/test/test/test_link_bonding_rssconf.c\n@@ -82,12 +82,8 @@ static struct rte_eth_conf default_pmd_conf = {\n \t.rxmode = {\n \t\t.mq_mode = ETH_MQ_RX_NONE,\n \t\t.max_rx_pkt_len = ETHER_MAX_LEN,\n-\t\t.split_hdr_size = 0,\n-\t\t.header_split   = 0, /**< Header Split disabled */\n-\t\t.hw_ip_checksum = 0, /**< IP checksum offload enabled */\n-\t\t.hw_vlan_filter = 0, /**< VLAN filtering disabled */\n-\t\t.jumbo_frame    = 0, /**< Jumbo Frame Support disabled */\n-\t\t.hw_strip_crc   = 1, /**< CRC stripped by hardware */\n+\t\t.offloads = 0,\n+\t\t.ignore_offload_bitfield = 1,\n \t},\n \t.txmode = {\n \t\t.mq_mode = ETH_MQ_TX_NONE,\n@@ -99,12 +95,8 @@ static struct rte_eth_conf rss_pmd_conf = {\n \t.rxmode = {\n \t\t.mq_mode = ETH_MQ_RX_RSS,\n \t\t.max_rx_pkt_len = ETHER_MAX_LEN,\n-\t\t.split_hdr_size = 0,\n-\t\t.header_split   = 0, /**< Header Split disabled */\n-\t\t.hw_ip_checksum = 0, /**< IP checksum offload enabled */\n-\t\t.hw_vlan_filter = 0, /**< VLAN filtering disabled */\n-\t\t.jumbo_frame    = 0, /**< Jumbo Frame Support disabled */\n-\t\t.hw_strip_crc   = 1, /**< CRC stripped by hardware */\n+\t\t.offloads = 0,\n+\t\t.ignore_offload_bitfield = 1,\n \t},\n \t.txmode = {\n \t\t.mq_mode = ETH_MQ_TX_NONE,\n",
    "prefixes": [
        "2/2"
    ]
}