Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/60779/?format=api
http://patches.dpdk.org/api/patches/60779/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191009203746.64933-3-jin.yu@intel.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": "<20191009203746.64933-3-jin.yu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191009203746.64933-3-jin.yu@intel.com", "date": "2019-10-09T20:37:39", "name": "[v10,2/9] vhost: add packed ring", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "37a9ccadab5fc2d313674b7c5e6ec51a9ef0d1c8", "submitter": { "id": 1265, "url": "http://patches.dpdk.org/api/people/1265/?format=api", "name": "Jin Yu", "email": "jin.yu@intel.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/20191009203746.64933-3-jin.yu@intel.com/mbox/", "series": [ { "id": 6763, "url": "http://patches.dpdk.org/api/series/6763/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6763", "date": "2019-10-09T20:37:38", "name": "[v10,1/9] vhost: add the inflight description", "version": 10, "mbox": "http://patches.dpdk.org/series/6763/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/60779/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/60779/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 685951E566;\n\tWed, 9 Oct 2019 14:54:56 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id 760321E53B\n\tfor <dev@dpdk.org>; Wed, 9 Oct 2019 14:54:50 +0200 (CEST)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t09 Oct 2019 05:54:50 -0700", "from storage36.sh.intel.com ([10.67.110.177])\n\tby fmsmga007.fm.intel.com with ESMTP; 09 Oct 2019 05:54:48 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.67,276,1566889200\"; d=\"scan'208\";a=\"193671506\"", "From": "Jin Yu <jin.yu@intel.com>", "To": "dev@dpdk.org", "Cc": "changpeng.liu@intel.com, maxime.coquelin@redhat.com, tiwei.bie@intel.com,\n\tzhihong.wang@intel.com, Jin Yu <jin.yu@intel.com>,\n\tLin Li <lilin24@baidu.com>, Xun Ni <nixun@baidu.com>,\n\tYu Zhang <zhangyu31@baidu.com>", "Date": "Thu, 10 Oct 2019 04:37:39 +0800", "Message-Id": "<20191009203746.64933-3-jin.yu@intel.com>", "X-Mailer": "git-send-email 2.17.2", "In-Reply-To": "<20191009203746.64933-1-jin.yu@intel.com>", "References": "<20191008153341.22228> <20191009203746.64933-1-jin.yu@intel.com>", "Subject": "[dpdk-dev] [PATCH v10 2/9] vhost: add packed ring", "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": "This patch add the packed ring in the rte_vhost_vring.\n\nSigned-off-by: Lin Li <lilin24@baidu.com>\nSigned-off-by: Xun Ni <nixun@baidu.com>\nSigned-off-by: Yu Zhang <zhangyu31@baidu.com>\nSigned-off-by: Jin Yu <jin.yu@intel.com>\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/librte_vhost/rte_vhost.h | 15 ++++++++++++---\n 1 file changed, 12 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h\nindex 9943575ce..7257f0965 100644\n--- a/lib/librte_vhost/rte_vhost.h\n+++ b/lib/librte_vhost/rte_vhost.h\n@@ -103,9 +103,18 @@ struct rte_vhost_memory {\n };\n \n struct rte_vhost_vring {\n-\tstruct vring_desc\t*desc;\n-\tstruct vring_avail\t*avail;\n-\tstruct vring_used\t*used;\n+\tunion {\n+\t\tstruct vring_desc *desc;\n+\t\tstruct vring_packed_desc *desc_packed;\n+\t};\n+\tunion {\n+\t\tstruct vring_avail *avail;\n+\t\tstruct vring_packed_desc_event *driver_event;\n+\t};\n+\tunion {\n+\t\tstruct vring_used *used;\n+\t\tstruct vring_packed_desc_event *device_event;\n+\t};\n \tuint64_t\t\tlog_guest_addr;\n \n \t/** Deprecated, use rte_vhost_vring_call() instead. */\n", "prefixes": [ "v10", "2/9" ] }{ "id": 60779, "url": "