Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/7497/?format=api
https://patches.dpdk.org/api/patches/7497/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1444369572-1157-8-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": "<1444369572-1157-8-git-send-email-yuanhan.liu@linux.intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1444369572-1157-8-git-send-email-yuanhan.liu@linux.intel.com", "date": "2015-10-09T05:46:06", "name": "[dpdk-dev,v6,07/13] vhost-user: enable vhost-user multiple queue", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9b0e83affd885400386e722fe6a49b98b40a2a4b", "submitter": { "id": 307, "url": "https://patches.dpdk.org/api/people/307/?format=api", "name": "Yuanhan Liu", "email": "yuanhan.liu@linux.intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1444369572-1157-8-git-send-email-yuanhan.liu@linux.intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/7497/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/7497/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 BE41E8E98;\n\tFri, 9 Oct 2015 07:46:21 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id A823E8E6C\n\tfor <dev@dpdk.org>; Fri, 9 Oct 2015 07:46:16 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga102.fm.intel.com with ESMTP; 08 Oct 2015 22:46:16 -0700", "from yliu-dev.sh.intel.com ([10.239.66.49])\n\tby fmsmga002.fm.intel.com with ESMTP; 08 Oct 2015 22:46:14 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.17,657,1437462000\"; d=\"scan'208\";a=\"822889516\"", "From": "Yuanhan Liu <yuanhan.liu@linux.intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 9 Oct 2015 13:46:06 +0800", "Message-Id": "<1444369572-1157-8-git-send-email-yuanhan.liu@linux.intel.com>", "X-Mailer": "git-send-email 1.9.0", "In-Reply-To": "<1444369572-1157-1-git-send-email-yuanhan.liu@linux.intel.com>", "References": "<1444369572-1157-1-git-send-email-yuanhan.liu@linux.intel.com>", "Cc": "marcel@redhat.com, \"Michael S. Tsirkin\" <mst@redhat.com>", "Subject": "[dpdk-dev] [PATCH v6 07/13] vhost-user: enable vhost-user multiple\n\tqueue", "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": "By setting VHOST_USER_PROTOCOL_F_MQ protocol feature bit, and\nVIRTIO_NET_F_MQ feature bit.\n\nSigned-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>\n---\n lib/librte_vhost/vhost_user/virtio-net-user.h | 4 +++-\n lib/librte_vhost/virtio-net.c | 1 +\n 2 files changed, 4 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_vhost/vhost_user/virtio-net-user.h b/lib/librte_vhost/vhost_user/virtio-net-user.h\nindex e7a6ff4..5f6d667 100644\n--- a/lib/librte_vhost/vhost_user/virtio-net-user.h\n+++ b/lib/librte_vhost/vhost_user/virtio-net-user.h\n@@ -37,7 +37,9 @@\n #include \"vhost-net.h\"\n #include \"vhost-net-user.h\"\n \n-#define VHOST_USER_PROTOCOL_FEATURES\t0ULL\n+#define VHOST_USER_PROTOCOL_F_MQ\t0\n+\n+#define VHOST_USER_PROTOCOL_FEATURES\t(1ULL << VHOST_USER_PROTOCOL_F_MQ)\n \n int user_set_mem_table(struct vhost_device_ctx, struct VhostUserMsg *);\n \ndiff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c\nindex 57fb7b1..d644022 100644\n--- a/lib/librte_vhost/virtio-net.c\n+++ b/lib/librte_vhost/virtio-net.c\n@@ -74,6 +74,7 @@ static struct virtio_net_config_ll *ll_root;\n #define VHOST_SUPPORTED_FEATURES ((1ULL << VIRTIO_NET_F_MRG_RXBUF) | \\\n \t\t\t\t(1ULL << VIRTIO_NET_F_CTRL_VQ) | \\\n \t\t\t\t(1ULL << VIRTIO_NET_F_CTRL_RX) | \\\n+\t\t\t\t(1ULL << VIRTIO_NET_F_MQ) | \\\n \t\t\t\t(1ULL << VHOST_F_LOG_ALL) | \\\n \t\t\t\t(1ULL << VHOST_USER_F_PROTOCOL_FEATURES))\n static uint64_t VHOST_FEATURES = VHOST_SUPPORTED_FEATURES;\n", "prefixes": [ "dpdk-dev", "v6", "07/13" ] }{ "id": 7497, "url": "