Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/60755/?format=api
http://patches.dpdk.org/api/patches/60755/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191009152515.21765-4-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": "<20191009152515.21765-4-jin.yu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191009152515.21765-4-jin.yu@intel.com", "date": "2019-10-09T15:25:09", "name": "[v10,3/9] vhost: add the inflight structure", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4f3e52356cc2ccacbe0a9fd5e94527ef381b7518", "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/20191009152515.21765-4-jin.yu@intel.com/mbox/", "series": [ { "id": 6755, "url": "http://patches.dpdk.org/api/series/6755/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6755", "date": "2019-10-09T15:25:06", "name": "vhost: support inflight share memory protocol feature", "version": 10, "mbox": "http://patches.dpdk.org/series/6755/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/60755/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/60755/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 AB7BB1C434;\n\tWed, 9 Oct 2019 09:42:26 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 0D91A1C1BF\n\tfor <dev@dpdk.org>; Wed, 9 Oct 2019 09:42:19 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t09 Oct 2019 00:42:19 -0700", "from storage36.sh.intel.com ([10.67.110.177])\n\tby orsmga006.jf.intel.com with ESMTP; 09 Oct 2019 00:42:17 -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,273,1566889200\"; d=\"scan'208\";a=\"197939661\"", "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": "Wed, 9 Oct 2019 23:25:09 +0800", "Message-Id": "<20191009152515.21765-4-jin.yu@intel.com>", "X-Mailer": "git-send-email 2.17.2", "In-Reply-To": "<20191009152515.21765-1-jin.yu@intel.com>", "References": "<20191008153341.22228> <20191009152515.21765-1-jin.yu@intel.com>", "Subject": "[dpdk-dev] [PATCH v10 3/9] vhost: add the inflight structure", "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 adds the inflight queue region structure include\nthe split and packed.\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>\n---\n lib/librte_vhost/rte_vhost.h | 43 ++++++++++++++++++++++++++++++++++++\n 1 file changed, 43 insertions(+)", "diff": "diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h\nindex 7257f0965..5241e36e8 100644\n--- a/lib/librte_vhost/rte_vhost.h\n+++ b/lib/librte_vhost/rte_vhost.h\n@@ -102,6 +102,49 @@ struct rte_vhost_memory {\n \tstruct rte_vhost_mem_region regions[];\n };\n \n+struct rte_vhost_inflight_desc_split {\n+\tuint8_t inflight;\n+\tuint8_t padding[5];\n+\tuint16_t next;\n+\tuint64_t counter;\n+};\n+\n+struct rte_vhost_inflight_info_split {\n+\tuint64_t features;\n+\tuint16_t version;\n+\tuint16_t desc_num;\n+\tuint16_t last_inflight_io;\n+\tuint16_t used_idx;\n+\tstruct rte_vhost_inflight_desc_split desc[0];\n+};\n+\n+struct rte_vhost_inflight_desc_packed {\n+\tuint8_t inflight;\n+\tuint8_t padding;\n+\tuint16_t next;\n+\tuint16_t last;\n+\tuint16_t num;\n+\tuint64_t counter;\n+\tuint16_t id;\n+\tuint16_t flags;\n+\tuint32_t len;\n+\tuint64_t addr;\n+};\n+\n+struct rte_vhost_inflight_info_packed {\n+\tuint64_t features;\n+\tuint16_t version;\n+\tuint16_t desc_num;\n+\tuint16_t free_head;\n+\tuint16_t old_free_head;\n+\tuint16_t used_idx;\n+\tuint16_t old_used_idx;\n+\tuint8_t used_wrap_counter;\n+\tuint8_t old_used_wrap_counter;\n+\tuint8_t padding[7];\n+\tstruct rte_vhost_inflight_desc_packed desc[0];\n+};\n+\n struct rte_vhost_vring {\n \tunion {\n \t\tstruct vring_desc *desc;\n", "prefixes": [ "v10", "3/9" ] }{ "id": 60755, "url": "