get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28447,
    "url": "http://patches.dpdk.org/api/patches/28447/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170907121347.16208-11-olivier.matz@6wind.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": "<20170907121347.16208-11-olivier.matz@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170907121347.16208-11-olivier.matz@6wind.com",
    "date": "2017-09-07T12:13:47",
    "name": "[dpdk-dev,v2,10/10] net/virtio: fix Rx handler when checksum is requested",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f2f435f8304367e752360af4d8e360bf671fa438",
    "submitter": {
        "id": 8,
        "url": "http://patches.dpdk.org/api/people/8/?format=api",
        "name": "Olivier Matz",
        "email": "olivier.matz@6wind.com"
    },
    "delegate": {
        "id": 355,
        "url": "http://patches.dpdk.org/api/users/355/?format=api",
        "username": "yliu",
        "first_name": "Yuanhan",
        "last_name": "Liu",
        "email": "yuanhan.liu@linux.intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170907121347.16208-11-olivier.matz@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/28447/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/28447/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id B7FB4199CA;\n\tThu,  7 Sep 2017 14:14:08 +0200 (CEST)",
            "from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n\t[62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 16573199BC\n\tfor <dev@dpdk.org>; Thu,  7 Sep 2017 14:14:04 +0200 (CEST)",
            "from glumotte.dev.6wind.com (unknown [10.16.0.195])\n\tby proxy.6wind.com (Postfix) with ESMTP id 3EBE5CD5CA;\n\tThu,  7 Sep 2017 14:10:17 +0200 (CEST)"
        ],
        "From": "Olivier Matz <olivier.matz@6wind.com>",
        "To": "dev@dpdk.org,\n\tyliu@fridaylinux.org,\n\tmaxime.coquelin@redhat.com",
        "Cc": "stephen@networkplumber.org",
        "Date": "Thu,  7 Sep 2017 14:13:47 +0200",
        "Message-Id": "<20170907121347.16208-11-olivier.matz@6wind.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170907121347.16208-1-olivier.matz@6wind.com>",
        "References": "<20170831134015.1383-1-olivier.matz@6wind.com>\n\t<20170907121347.16208-1-olivier.matz@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v2 10/10] net/virtio: fix Rx handler when\n\tchecksum is requested",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The simple Rx handler is selected even if Rx checksum offload is\nrequested by the application, but this handler does not support\noffloads. This results in broken received packets (no checksum flag but\ninvalid checksum in the mbuf data).\n\nDisable the simple Rx handler in that case.\n\nFixes: 96cb6711939e (\"net/virtio: support Rx checksum offload\")\n\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n drivers/net/virtio/virtio_ethdev.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c\nindex 271ebaedf..440c2d3b1 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -1755,6 +1755,9 @@ virtio_dev_configure(struct rte_eth_dev *dev)\n \t\thw->use_simple_tx = 0;\n \t}\n \n+\tif (rxmode->hw_ip_checksum)\n+\t\thw->use_simple_rx = 0;\n+\n \treturn 0;\n }\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "10/10"
    ]
}