Cover Detail
Show a cover letter.
GET /api/covers/86268/?format=api
http://patches.dpdk.org/api/covers/86268/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20210111055252.35672-1-Cheng1.jiang@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": "<20210111055252.35672-1-Cheng1.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210111055252.35672-1-Cheng1.jiang@intel.com", "date": "2021-01-11T05:52:50", "name": "[v8,0/2] examples/vhost: sample code refactor", "submitter": { "id": 1530, "url": "http://patches.dpdk.org/api/people/1530/?format=api", "name": "Jiang, Cheng1", "email": "Cheng1.jiang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20210111055252.35672-1-Cheng1.jiang@intel.com/mbox/", "series": [ { "id": 14628, "url": "http://patches.dpdk.org/api/series/14628/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14628", "date": "2021-01-11T05:52:50", "name": "examples/vhost: sample code refactor", "version": 8, "mbox": "http://patches.dpdk.org/series/14628/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/86268/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B24DAA04B5;\n\tMon, 11 Jan 2021 07:03:29 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2C1FF140CFA;\n\tMon, 11 Jan 2021 07:03:29 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 6B729140CF9\n for <dev@dpdk.org>; Mon, 11 Jan 2021 07:03:27 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Jan 2021 22:03:26 -0800", "from dpdk_jiangcheng.sh.intel.com ([10.67.119.112])\n by fmsmga001.fm.intel.com with ESMTP; 10 Jan 2021 22:03:24 -0800" ], "IronPort-SDR": [ "\n HMPtWm0eJ72MzCugiMca9WPT5phMbWbYBmtdxKbpQH/Fyg/XwqkiEqR/oWiebGupptn0gG1usy\n df+8m2+c1lXw==", "\n mJNwU6v7yPKwNk20RMUgdaKCWnpW7O3eHaY7AL8I6ibB1u1IV8jbH8WDMDSoZwGrVT09JfBSF1\n LlDQmLaGQDcQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9860\"; a=\"174301415\"", "E=Sophos;i=\"5.79,337,1602572400\"; d=\"scan'208\";a=\"174301415\"", "E=Sophos;i=\"5.79,337,1602572400\"; d=\"scan'208\";a=\"464061919\"" ], "X-ExtLoop1": "1", "From": "Cheng Jiang <Cheng1.jiang@intel.com>", "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com", "Cc": "dev@dpdk.org, Jiayu.Hu@intel.com, YvonneX.Yang@intel.com,\n yinan.wang@intel.com, Cheng Jiang <Cheng1.jiang@intel.com>", "Date": "Mon, 11 Jan 2021 05:52:50 +0000", "Message-Id": "<20210111055252.35672-1-Cheng1.jiang@intel.com>", "X-Mailer": "git-send-email 2.29.2", "In-Reply-To": "<20201218113327.70528-1-Cheng1.jiang@intel.com>", "References": "<20201218113327.70528-1-Cheng1.jiang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v8 0/2] examples/vhost: sample code refactor", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Refactor the vhost sample code. Add ioat ring space count and check\nin ioat callback, optimize vhost data path for batch enqueue, replace\nrte_atomicNN_xxx to atomic_XXX and refactor vhost async data path.\n---\nv8:\n * rebased codes\n\nv7:\n * fixed rte_ioat_completed_ops() fail handler issue\n\nv6:\n * adjusted the value of MAX_ENQUEUED_SIZE in ioat.h\n\nv5:\n * added vhost enqueue buffer free when destroy a vhost device\n * added rte_ioat_completed_ops() fail handler\n * changed the behavior of drain_vhost_table() function\n * changed some variable names\n * changed some variable definition\n * added rte_zmalloc() fail handler\n * added some comments\n * fixed some typos\n\nv4:\n * improved code structure\n * improved vhost enqueue buffer memory allocation\n * cleaned some codes\n\nv3:\n * added some variable initiation\n * cleaned some codes\n\nv2:\n * optimized patch structure\n * optimized git log\n * replaced rte_atomicNN_xxx to atomic_XXX\n\nCheng Jiang (2):\n examples/vhost: add ioat ring space count and check\n examples/vhost: refactor vhost data path\n\n examples/vhost/ioat.c | 24 +++--\n examples/vhost/ioat.h | 2 +-\n examples/vhost/main.c | 226 ++++++++++++++++++++++++++++++------------\n examples/vhost/main.h | 7 +-\n 4 files changed, 181 insertions(+), 78 deletions(-)\n\n--\n2.29.2" }{ "id": 86268, "url": "