Show a patch.

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

{
    "id": 42102,
    "url": "http://patches.dpdk.org/api/patches/42102/",
    "web_url": "http://patches.dpdk.org/patch/42102/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20180702152547.31423-4-maxime.coquelin@redhat.com>",
    "date": "2018-07-02T15:25:46",
    "name": "[v4,3/4] net/virtio: don't use simple Rx if TCP LRO or VLAN strip",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "147e85065e8ed47262a87598876ee86f3b4ac9a6",
    "submitter": {
        "id": 512,
        "url": "http://patches.dpdk.org/api/people/512/",
        "name": "Maxime Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patches.dpdk.org/api/users/2642/",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/patch/42102/mbox/",
    "series": [
        {
            "id": 357,
            "url": "http://patches.dpdk.org/api/series/357/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=357",
            "date": "2018-07-02T15:25:43",
            "name": "net/virtio: Tx simple path removal and offload improvements",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/357/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/42102/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/42102/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Message-Id": "<20180702152547.31423-4-maxime.coquelin@redhat.com>",
        "To": "tiwei.bie@intel.com,\n\tzhihong.wang@intel.com,\n\tdev@dpdk.org",
        "X-Scanned-By": "MIMEDefang 2.78 on 10.11.54.3",
        "Cc": "yong.liu@intel.com,\n\tMaxime Coquelin <maxime.coquelin@redhat.com>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E519C1B528;\n\tMon,  2 Jul 2018 17:26:10 +0200 (CEST)",
            "from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73])\n\tby dpdk.org (Postfix) with ESMTP id 177681B4FC\n\tfor <dev@dpdk.org>; Mon,  2 Jul 2018 17:26:07 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 9E1CC401EF06;\n\tMon,  2 Jul 2018 15:26:06 +0000 (UTC)",
            "from localhost.localdomain (ovpn-112-41.ams2.redhat.com\n\t[10.36.112.41])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 5F8E7111AF34;\n\tMon,  2 Jul 2018 15:26:05 +0000 (UTC)"
        ],
        "Subject": "[dpdk-dev] [PATCH v4 3/4] net/virtio: don't use simple Rx if TCP\n\tLRO or VLAN strip",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Greylist": [
            "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.11.55.5]); Mon, 02 Jul 2018 15:26:06 +0000 (UTC)",
            "inspected by milter-greylist-4.5.16 (mx1.redhat.com\n\t[10.11.55.5]); \n\tMon, 02 Jul 2018 15:26:06 +0000 (UTC) for IP:'10.11.54.3'\n\tDOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com'\n\tHELO:'smtp.corp.redhat.com' FROM:'maxime.coquelin@redhat.com' RCPT:''"
        ],
        "List-Post": "<mailto:dev@dpdk.org>",
        "In-Reply-To": "<20180702152547.31423-1-maxime.coquelin@redhat.com>",
        "Precedence": "list",
        "From": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "References": "<20180702152547.31423-1-maxime.coquelin@redhat.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Delivered-To": "patchwork@dpdk.org",
        "Date": "Mon,  2 Jul 2018 17:25:46 +0200",
        "X-Mailman-Version": "2.1.15",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>"
    },
    "content": "Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n drivers/net/virtio/virtio_ethdev.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c\nindex 1d223d029..15d5b4f79 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -1909,7 +1909,9 @@ virtio_dev_configure(struct rte_eth_dev *dev)\n \t}\n \n \tif (rx_offloads & (DEV_RX_OFFLOAD_UDP_CKSUM |\n-\t\t\t   DEV_RX_OFFLOAD_TCP_CKSUM))\n+\t\t\t   DEV_RX_OFFLOAD_TCP_CKSUM |\n+\t\t\t   DEV_RX_OFFLOAD_TCP_LRO |\n+\t\t\t   DEV_RX_OFFLOAD_VLAN_STRIP))\n \t\thw->use_simple_rx = 0;\n \n \treturn 0;\n",
    "prefixes": [
        "v4",
        "3/4"
    ]
}