Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/48500/?format=api
http://patches.dpdk.org/api/patches/48500/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20181203141515.28368-5-jfreimann@redhat.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": "<20181203141515.28368-5-jfreimann@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20181203141515.28368-5-jfreimann@redhat.com", "date": "2018-12-03T14:15:10", "name": "[v11,4/9] net/virtio: dump packed virtqueue data", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "0430959d8d1d309cc8e2471b5a8e67dfebcf98bd", "submitter": { "id": 745, "url": "http://patches.dpdk.org/api/people/745/?format=api", "name": "Jens Freimann", "email": "jfreimann@redhat.com" }, "delegate": { "id": 2642, "url": "http://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20181203141515.28368-5-jfreimann@redhat.com/mbox/", "series": [ { "id": 2645, "url": "http://patches.dpdk.org/api/series/2645/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2645", "date": "2018-12-03T14:15:06", "name": "implement packed virtqueues", "version": 11, "mbox": "http://patches.dpdk.org/series/2645/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/48500/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/48500/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 F3BB21B439;\n\tMon, 3 Dec 2018 15:16:37 +0100 (CET)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id F07481B436\n\tfor <dev@dpdk.org>; Mon, 3 Dec 2018 15:16:35 +0100 (CET)", "from smtp.corp.redhat.com\n\t(int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22])\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 54A5FC04B2EC;\n\tMon, 3 Dec 2018 14:16:35 +0000 (UTC)", "from localhost (dhcp-192-205.str.redhat.com [10.33.192.205])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id D16E3100034A;\n\tMon, 3 Dec 2018 14:16:34 +0000 (UTC)" ], "From": "Jens Freimann <jfreimann@redhat.com>", "To": "dev@dpdk.org", "Cc": "tiwei.bie@intel.com,\n\tmaxime.coquelin@redhat.com,\n\tGavin.Hu@arm.com", "Date": "Mon, 3 Dec 2018 15:15:10 +0100", "Message-Id": "<20181203141515.28368-5-jfreimann@redhat.com>", "In-Reply-To": "<20181203141515.28368-1-jfreimann@redhat.com>", "References": "<20181203141515.28368-1-jfreimann@redhat.com>", "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.22", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.32]); Mon, 03 Dec 2018 14:16:35 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH v11 4/9] net/virtio: dump packed virtqueue data", "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 support to dump packed virtqueue data to the\nVIRTQUEUE_DUMP() macro.\n\nSigned-off-by: Jens Freimann <jfreimann@redhat.com>\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n drivers/net/virtio/virtqueue.h | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h\nindex 20b42f5fb..8bb0c5b3f 100644\n--- a/drivers/net/virtio/virtqueue.h\n+++ b/drivers/net/virtio/virtqueue.h\n@@ -441,6 +441,15 @@ virtqueue_notify(struct virtqueue *vq)\n \tuint16_t used_idx, nused; \\\n \tused_idx = (vq)->vq_ring.used->idx; \\\n \tnused = (uint16_t)(used_idx - (vq)->vq_used_cons_idx); \\\n+\tif (vtpci_packed_queue((vq)->hw)) { \\\n+\t PMD_INIT_LOG(DEBUG, \\\n+\t \"VQ: - size=%d; free=%d; used_cons_idx=%d; avail_idx=%d;\" \\\n+ \"VQ: - avail_wrap_counter=%d; used_wrap_counter=%d\", \\\n+\t (vq)->vq_nentries, (vq)->vq_free_cnt, (vq)->vq_used_cons_idx, \\\n+\t (vq)->vq_avail_idx, (vq)->avail_wrap_counter, \\\n+\t (vq)->used_wrap_counter); \\\n+\t break; \\\n+\t} \\\n \tPMD_INIT_LOG(DEBUG, \\\n \t \"VQ: - size=%d; free=%d; used=%d; desc_head_idx=%d;\" \\\n \t \" avail.idx=%d; used_cons_idx=%d; used.idx=%d;\" \\\n", "prefixes": [ "v11", "4/9" ] }{ "id": 48500, "url": "