Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/738/?format=api
https://patches.dpdk.org/api/patches/738/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1412794499-4332-13-git-send-email-huawei.xie@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": "<1412794499-4332-13-git-send-email-huawei.xie@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1412794499-4332-13-git-send-email-huawei.xie@intel.com", "date": "2014-10-08T18:54:46", "name": "[dpdk-dev,v6,12/25] lib/librte_vhost: move virtio_net_config_ll structure to virtio_net.c", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "ee713d775bba94de5d21c1da6a1485e25cdb9f32", "submitter": { "id": 16, "url": "https://patches.dpdk.org/api/people/16/?format=api", "name": "Huawei Xie", "email": "huawei.xie@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1412794499-4332-13-git-send-email-huawei.xie@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/738/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/738/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 9A7207EFB;\n\tWed, 8 Oct 2014 20:49:31 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id E45F97E9A\n\tfor <dev@dpdk.org>; Wed, 8 Oct 2014 20:49:29 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga102.fm.intel.com with ESMTP; 08 Oct 2014 11:56:48 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga001.fm.intel.com with ESMTP; 08 Oct 2014 11:56:47 -0700", "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shvmail01.sh.intel.com with ESMTP id s98IujNt022261;\n\tThu, 9 Oct 2014 02:56:45 +0800", "from shecgisg003.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid s98IuhoF004455; Thu, 9 Oct 2014 02:56:45 +0800", "(from hxie5@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id s98Iuh3N004451; \n\tThu, 9 Oct 2014 02:56:43 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.04,679,1406617200\"; d=\"scan'208\";a=\"602429970\"", "From": "Huawei Xie <huawei.xie@intel.com>", "To": "dev@dpdk.org", "Date": "Thu, 9 Oct 2014 02:54:46 +0800", "Message-Id": "<1412794499-4332-13-git-send-email-huawei.xie@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1412794499-4332-1-git-send-email-huawei.xie@intel.com>", "References": "<1412794499-4332-1-git-send-email-huawei.xie@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 12/25] lib/librte_vhost: move\n\tvirtio_net_config_ll structure to virtio_net.c", "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": "This structure is moved to virtio_net.c. It is related to internal virtio device management, \nso it should not be exposed to other files.\n\nSigned-off-by: Huawei Xie <huawei.xie@intel.com>\n---\n lib/librte_vhost/rte_virtio_net.h | 9 ---------\n lib/librte_vhost/virtio-net.c | 8 ++++++++\n 2 files changed, 8 insertions(+), 9 deletions(-)", "diff": "diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h\nindex f3509aa..b06436e 100644\n--- a/lib/librte_vhost/rte_virtio_net.h\n+++ b/lib/librte_vhost/rte_virtio_net.h\n@@ -88,15 +88,6 @@ struct virtio_net\n } __rte_cache_aligned;\n \n /*\n- * Device linked list structure for configuration.\n- */\n-struct virtio_net_config_ll\n-{\n-\tstruct virtio_net\t\tdev;\t/* Virtio device. */\n-\tstruct virtio_net_config_ll\t*next; /* Next entry on linked list. */\n-};\n-\n-/*\n * Information relating to memory regions including offsets to addresses in QEMUs memory file.\n */\n struct virtio_memory_regions {\ndiff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c\nindex 4f11b28..ee37a40 100644\n--- a/lib/librte_vhost/virtio-net.c\n+++ b/lib/librte_vhost/virtio-net.c\n@@ -53,6 +53,14 @@\n #include \"vhost-net-cdev.h\"\n #include \"eventfd_link/eventfd_link.h\"\n \n+/**\n+ * Device linked list structure for configuration.\n+ */\n+struct virtio_net_config_ll {\n+\tstruct virtio_net dev; /* Virtio device. */\n+\tstruct virtio_net_config_ll *next; /* Next entry on linked list. */\n+};\n+\n const char eventfd_cdev[] = \"/dev/eventfd-link\";\n \n /* device ops to add/remove device to data core. */\n", "prefixes": [ "dpdk-dev", "v6", "12/25" ] }{ "id": 738, "url": "