get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28155,
    "url": "https://patches.dpdk.org/api/patches/28155/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170831134015.1383-10-olivier.matz@6wind.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": "<20170831134015.1383-10-olivier.matz@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170831134015.1383-10-olivier.matz@6wind.com",
    "date": "2017-08-31T13:40:15",
    "name": "[dpdk-dev,9/9] net/virtio: fix Rx handler when checksum is requested",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f2f435f8304367e752360af4d8e360bf671fa438",
    "submitter": {
        "id": 8,
        "url": "https://patches.dpdk.org/api/people/8/?format=api",
        "name": "Olivier Matz",
        "email": "olivier.matz@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170831134015.1383-10-olivier.matz@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28155/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/28155/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 3553D7CBD;\n\tThu, 31 Aug 2017 15:41: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 128873230;\n\tThu, 31 Aug 2017 15:40:55 +0200 (CEST)",
            "from glumotte.dev.6wind.com (unknown [10.16.0.195])\n\tby proxy.6wind.com (Postfix) with ESMTP id 293C5C9BD4;\n\tThu, 31 Aug 2017 15:37:33 +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,\n\tstable@dpdk.org",
        "Date": "Thu, 31 Aug 2017 15:40:15 +0200",
        "Message-Id": "<20170831134015.1383-10-olivier.matz@6wind.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170831134015.1383-1-olivier.matz@6wind.com>",
        "References": "<20170831134015.1383-1-olivier.matz@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 9/9] net/virtio: fix Rx handler when checksum is\n\trequested",
        "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\")\nCc: stable@dpdk.org\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 4845d44b0..0e616bcf0 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -1760,6 +1760,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",
        "9/9"
    ]
}