Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/35130/?format=api
http://patches.dpdk.org/api/patches/35130/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180212131636.25858-1-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": "<20180212131636.25858-1-olivier.matz@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180212131636.25858-1-olivier.matz@6wind.com", "date": "2018-02-12T13:16:36", "name": "[dpdk-dev] net/virtio: fix mbuf data offset for simple Rx function", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "0d07088ac2157a74fac5fde5f50453f21a604b4d", "submitter": { "id": 8, "url": "http://patches.dpdk.org/api/people/8/?format=api", "name": "Olivier Matz", "email": "olivier.matz@6wind.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180212131636.25858-1-olivier.matz@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/35130/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/35130/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 949A11B342;\n\tMon, 12 Feb 2018 14:17:11 +0100 (CET)", "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 AA0191B295;\n\tMon, 12 Feb 2018 14:17:09 +0100 (CET)", "from glumotte.dev.6wind.com. (unknown [10.16.0.195])\n\tby proxy.6wind.com (Postfix) with ESMTP id 3914D131219;\n\tMon, 12 Feb 2018 14:14:24 +0100 (CET)" ], "From": "Olivier Matz <olivier.matz@6wind.com>", "To": "dev@dpdk.org", "Cc": "Yuanhan Liu <yliu@fridaylinux.org>,\n\tMaxime Coquelin <maxime.coquelin@redhat.com>,\n\tTiwei Bie <tiwei.bie@intel.com>, stable@dpdk.org", "Date": "Mon, 12 Feb 2018 14:16:36 +0100", "Message-Id": "<20180212131636.25858-1-olivier.matz@6wind.com>", "X-Mailer": "git-send-email 2.11.0", "Subject": "[dpdk-dev] [PATCH] net/virtio: fix mbuf data offset for simple Rx\n\tfunction", "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://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": "<https://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 mbuf->data_off was was not properly set for the first received\nmbufs. Fix this by setting it in virtqueue_enqueue_recv_refill_simple(),\nwhich is used to enqueue the first mbuf in the ring.\n\nThe function virtio_rxq_rearm_vec(), which is used to rearm the ring\nwith new mbufs, is valid and does not need to be updated.\n\nFixes: cab0461234e7 (\"virtio: fill Rx avail ring with blank mbufs\")\nCc: stable@dpdk.org\n\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n drivers/net/virtio/virtio_rxtx_simple.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/net/virtio/virtio_rxtx_simple.c b/drivers/net/virtio/virtio_rxtx_simple.c\nindex 7247a0822..b1f610ffa 100644\n--- a/drivers/net/virtio/virtio_rxtx_simple.c\n+++ b/drivers/net/virtio/virtio_rxtx_simple.c\n@@ -36,6 +36,7 @@ virtqueue_enqueue_recv_refill_simple(struct virtqueue *vq,\n \tuint16_t desc_idx;\n \n \tcookie->port = vq->rxq.port_id;\n+\tcookie->data_off = RTE_PKTMBUF_HEADROOM;\n \n \tdesc_idx = vq->vq_avail_idx & (vq->vq_nentries - 1);\n \tdxp = &vq->vq_descx[desc_idx];\n", "prefixes": [ "dpdk-dev" ] }{ "id": 35130, "url": "