get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42197,
    "url": "http://patchwork.dpdk.org/api/patches/42197/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1530667905-1315-1-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": "<1530667905-1315-1-git-send-email-phil.yang@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1530667905-1315-1-git-send-email-phil.yang@arm.com",
    "date": "2018-07-04T01:31:45",
    "name": "test/virtual_pmd: Add DEV_RX_OFFLOAD_CRC_STRIP to virtual driver",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8b5dfcd5052cb78ba1c74faf84837101b3a20696",
    "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/1530667905-1315-1-git-send-email-phil.yang@arm.com/mbox/",
    "series": [
        {
            "id": 384,
            "url": "http://patchwork.dpdk.org/api/series/384/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=384",
            "date": "2018-07-04T01:31:45",
            "name": "test/virtual_pmd: Add DEV_RX_OFFLOAD_CRC_STRIP to virtual driver",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/384/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/42197/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/42197/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 109411BE0F;\n\tWed,  4 Jul 2018 03:31:59 +0200 (CEST)",
            "from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 8C3F81BE05\n\tfor <dev@dpdk.org>; Wed,  4 Jul 2018 03:31:57 +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 AA2A780D;\n\tTue,  3 Jul 2018 18:31:56 -0700 (PDT)",
            "from phil-VirtualBox.shanghai.arm.com (unknown [10.169.109.187])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t12F0B3F2EA; Tue,  3 Jul 2018 18:31:55 -0700 (PDT)"
        ],
        "From": "Phil Yang <phil.yang@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "nd@arm.com,\n\tferruh.yigit@intel.com",
        "Date": "Wed,  4 Jul 2018 09:31:45 +0800",
        "Message-Id": "<1530667905-1315-1-git-send-email-phil.yang@arm.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH] test/virtual_pmd: Add DEV_RX_OFFLOAD_CRC_STRIP\n\tto virtual driver",
        "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": "Add DEV_RX_OFFLOAD_CRC_STRIP to virtual drivers since they don't\nuse CRC at all, when an application requires this offload virtual\nPMDs should not return error.\n\nFixes: b219c8c(\"test: enable HW CRC strip by default\")\n\nSigned-off-by: Phil Yang <phil.yang@arm.com>\n---\n test/test/virtual_pmd.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/test/test/virtual_pmd.c b/test/test/virtual_pmd.c\nindex f8ddc2d..591b309 100644\n--- a/test/test/virtual_pmd.c\n+++ b/test/test/virtual_pmd.c\n@@ -91,6 +91,7 @@ virtual_ethdev_info_get(struct rte_eth_dev *dev __rte_unused,\n \tdev_info->max_tx_queues = (uint16_t)512;\n \n \tdev_info->min_rx_bufsize = 0;\n+\tdev_info->rx_offload_capa = DEV_RX_OFFLOAD_CRC_STRIP;\n }\n \n static int\n",
    "prefixes": []
}