Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/13264/?format=api
https://patches.dpdk.org/api/patches/13264/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1465271530-27878-16-git-send-email-yuanhan.liu@linux.intel.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": "<1465271530-27878-16-git-send-email-yuanhan.liu@linux.intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1465271530-27878-16-git-send-email-yuanhan.liu@linux.intel.com", "date": "2016-06-07T03:52:05", "name": "[dpdk-dev,v3,15/20] vhost: remove unnecessary fields", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "9622ad36ec8281ce6cf8c4b54692a0000982ae1d", "submitter": { "id": 307, "url": "https://patches.dpdk.org/api/people/307/?format=api", "name": "Yuanhan Liu", "email": "yuanhan.liu@linux.intel.com" }, "delegate": { "id": 355, "url": "https://patches.dpdk.org/api/users/355/?format=api", "username": "yliu", "first_name": "Yuanhan", "last_name": "Liu", "email": "yuanhan.liu@linux.intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1465271530-27878-16-git-send-email-yuanhan.liu@linux.intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/13264/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/13264/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 B537D8D3A;\n\tTue, 7 Jun 2016 05:51:50 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 6FAD78BA7\n\tfor <dev@dpdk.org>; Tue, 7 Jun 2016 05:51:48 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga103.fm.intel.com with ESMTP; 06 Jun 2016 20:51:48 -0700", "from yliu-dev.sh.intel.com ([10.239.67.162])\n\tby orsmga002.jf.intel.com with ESMTP; 06 Jun 2016 20:51:46 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.26,431,1459839600\"; d=\"scan'208\";a=\"992411177\"", "From": "Yuanhan Liu <yuanhan.liu@linux.intel.com>", "To": "dev@dpdk.org", "Cc": "huawei.xie@intel.com, Thomas Monjalon <thomas.monjalon@6wind.com>,\n\tPanu Matilainen <pmatilai@redhat.com>,\n\tTraynor Kevin <kevin.traynor@intel.com>,\n\tRich Lane <rich.lane@bigswitch.com>, Tetsuya Mukawa <mukawa@igel.co.jp>, \n\tYuanhan Liu <yuanhan.liu@linux.intel.com>", "Date": "Tue, 7 Jun 2016 11:52:05 +0800", "Message-Id": "<1465271530-27878-16-git-send-email-yuanhan.liu@linux.intel.com>", "X-Mailer": "git-send-email 1.9.0", "In-Reply-To": "<1465271530-27878-1-git-send-email-yuanhan.liu@linux.intel.com>", "References": "<1463117111-27050-1-git-send-email-yuanhan.liu@linux.intel.com>\n\t<1465271530-27878-1-git-send-email-yuanhan.liu@linux.intel.com>", "Subject": "[dpdk-dev] [PATCH v3 15/20] vhost: remove unnecessary fields", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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 \"reserved\" field in virtio_net and vhost_virtqueue struct is not\nnecessary any more. We now expose virtio_net device with a number \"vid\".\n\nThis patch also removes the \"priv\" field: all fields are priviate now:\napplication can't access it now. The only way that we could still access\nit is to expose it by a function, but I doubt that's needed or worthwhile.\n\nSigned-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>\nTested-by: Rich Lane <rich.lane@bigswitch.com>\nAcked-by: Rich Lane <rich.lane@bigswitch.com>\n---\n lib/librte_vhost/vhost-net.h | 3 ---\n 1 file changed, 3 deletions(-)", "diff": "diff --git a/lib/librte_vhost/vhost-net.h b/lib/librte_vhost/vhost-net.h\nindex 3edeb92..c133ea8 100644\n--- a/lib/librte_vhost/vhost-net.h\n+++ b/lib/librte_vhost/vhost-net.h\n@@ -88,7 +88,6 @@ struct vhost_virtqueue {\n \n \t/* Physical address of used ring, for logging */\n \tuint64_t\t\tlog_guest_addr;\n-\tuint64_t\t\treserved[15];\n \tstruct buf_vector\tbuf_vec[BUF_VECTOR_MAX];\n } __rte_cache_aligned;\n \n@@ -133,14 +132,12 @@ struct virtio_net {\n #define IF_NAME_SZ (PATH_MAX > IFNAMSIZ ? PATH_MAX : IFNAMSIZ)\n \tchar\t\t\tifname[IF_NAME_SZ];\n \tuint32_t\t\tvirt_qp_nb;\n-\tvoid\t\t\t*priv;\n \tuint64_t\t\tlog_size;\n \tuint64_t\t\tlog_base;\n \tstruct ether_addr\tmac;\n \n \t/* to tell if we need broadcast rarp packet */\n \trte_atomic16_t\t\tbroadcast_rarp;\n-\tuint64_t\t\treserved[61];\n \tstruct vhost_virtqueue\t*virtqueue[VHOST_MAX_QUEUE_PAIRS * 2];\n } __rte_cache_aligned;\n \n", "prefixes": [ "dpdk-dev", "v3", "15/20" ] }{ "id": 13264, "url": "