Cover Detail
Show a cover letter.
GET /api/covers/86364/?format=api
http://patchwork.dpdk.org/api/covers/86364/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20210112043857.19826-1-Cheng1.jiang@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20210112043857.19826-1-Cheng1.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210112043857.19826-1-Cheng1.jiang@intel.com", "date": "2021-01-12T04:38:55", "name": "[v9,0/2] examples/vhost: sample code refactor", "submitter": { "id": 1530, "url": "http://patchwork.dpdk.org/api/people/1530/?format=api", "name": "Jiang, Cheng1", "email": "Cheng1.jiang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20210112043857.19826-1-Cheng1.jiang@intel.com/mbox/", "series": [ { "id": 14653, "url": "http://patchwork.dpdk.org/api/series/14653/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=14653", "date": "2021-01-12T04:38:55", "name": "examples/vhost: sample code refactor", "version": 9, "mbox": "http://patchwork.dpdk.org/series/14653/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/86364/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 1D0FAA04B5;\n\tTue, 12 Jan 2021 05:49:41 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BB95D140D0A;\n\tTue, 12 Jan 2021 05:49:40 +0100 (CET)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id CD5BD140D09\n for <dev@dpdk.org>; Tue, 12 Jan 2021 05:49:39 +0100 (CET)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Jan 2021 20:49:38 -0800", "from dpdk_jiangcheng.sh.intel.com ([10.67.119.112])\n by orsmga006.jf.intel.com with ESMTP; 11 Jan 2021 20:49:36 -0800" ], "IronPort-SDR": [ "\n nTiGn5MSe6MFKrdpnH3gtF0Mntjw9FVsTaf3/RCp7HREVg4mtXlWN6dlGEtDp7uM5ePzCmVIBH\n tl8rTgF4RMig==", "\n JM3Cy7deu9WelpskBXy5KL7VHVVRX43jKbc4VHeTNp6+vxKst1Go4L6QlYFGl6E3t+uS43AYX2\n 0n9FQlwt3K5w==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9861\"; a=\"196599684\"", "E=Sophos;i=\"5.79,340,1602572400\"; d=\"scan'208\";a=\"196599684\"", "E=Sophos;i=\"5.79,340,1602572400\"; d=\"scan'208\";a=\"351768103\"" ], "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": "Tue, 12 Jan 2021 04:38:55 +0000", "Message-Id": "<20210112043857.19826-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 v9 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---\nv9:\n * migrated atomic_XXX to __atomic_XXX and updated git log\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 | 238 ++++++++++++++++++++++++++++++------------\n examples/vhost/main.h | 6 +-\n 4 files changed, 191 insertions(+), 79 deletions(-)\n\n--\n2.29.2" }{ "id": 86364, "url": "