Cover Detail
Show a cover letter.
GET /api/covers/85623/?format=api
https://patches.dpdk.org/api/covers/85623/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/1608630365-131192-1-git-send-email-jiayu.hu@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": "<1608630365-131192-1-git-send-email-jiayu.hu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1608630365-131192-1-git-send-email-jiayu.hu@intel.com", "date": "2020-12-22T09:46:03", "name": "[v2,0/2] Enhance Async Enqueue for Small Packets", "submitter": { "id": 539, "url": "https://patches.dpdk.org/api/people/539/?format=api", "name": "Hu, Jiayu", "email": "jiayu.hu@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/1608630365-131192-1-git-send-email-jiayu.hu@intel.com/mbox/", "series": [ { "id": 14412, "url": "https://patches.dpdk.org/api/series/14412/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14412", "date": "2020-12-22T09:46:03", "name": "Enhance Async Enqueue for Small Packets", "version": 2, "mbox": "https://patches.dpdk.org/series/14412/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/85623/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 56F99A09EF;\n\tTue, 22 Dec 2020 04:14:58 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DAD44CA62;\n\tTue, 22 Dec 2020 04:14:55 +0100 (CET)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id 104BEC9DC\n for <dev@dpdk.org>; Tue, 22 Dec 2020 04:14:52 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Dec 2020 19:14:50 -0800", "from npg_dpdk_virtio_jiayuhu_07.sh.intel.com ([10.67.118.193])\n by orsmga001.jf.intel.com with ESMTP; 21 Dec 2020 19:14:48 -0800" ], "IronPort-SDR": [ "\n bLky5AmLadVb7zZy2v6lxsoMHWuxGa3i343hUEKKDH5bRLMQtf+UNwZt+ItlIvfIgxhfGLoPho\n SGwVpersKT2Q==", "\n xI7ENiluV7S1lNkpVRpJzwJ9gEovluu+gEzABgs59gGgxZtNsAJmOjHhGgWUHRH2M4w/ZaSQei\n rFmTnTYdN8eA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9842\"; a=\"155028242\"", "E=Sophos;i=\"5.78,438,1599548400\"; d=\"scan'208\";a=\"155028242\"", "E=Sophos;i=\"5.78,438,1599548400\"; d=\"scan'208\";a=\"416199074\"" ], "X-ExtLoop1": "1", "From": "Jiayu Hu <jiayu.hu@intel.com>", "To": "dev@dpdk.org", "Cc": "maxime.coquelin@redhat.com, chenbo.xia@intel.com, cheng1.jiang@intel.com,\n yinan.wang@intel.com, jiayu.hu@intel.com", "Date": "Tue, 22 Dec 2020 04:46:03 -0500", "Message-Id": "<1608630365-131192-1-git-send-email-jiayu.hu@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1607678500-172518-1-git-send-email-jiayu.hu@intel.com>", "References": "<1607678500-172518-1-git-send-email-jiayu.hu@intel.com>", "Subject": "[dpdk-dev] [Patch v2 0/2] Enhance Async Enqueue for Small Packets", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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": "Async enqueue offloads large copies to DMA devices, and small copies\nare still performed by the CPU. However, it requires users to get\nenqueue completed packets by rte_vhost_poll_enqueue_completed(), even\nif they are completed by the CPU when rte_vhost_submit_enqueue_burst()\nreturns. This design incurs extra overheads of tracking completed\npktmbufs and function calls, thus degrading performance on small packets.\n\nThe first patch cleans up async enqueue code, and the second patch\nenables rte_vhost_submit_enqueue_burst() to return completed packets.\n\nChange log\n==========\nv2:\n- fix typo\n- rename API variables\n- update programmer guide\n\nJiayu Hu (2):\n vhost: cleanup async enqueue\n vhost: enhance async enqueue for small packets\n\n doc/guides/prog_guide/vhost_lib.rst | 7 +-\n lib/librte_vhost/rte_vhost_async.h | 24 ++--\n lib/librte_vhost/vhost.c | 14 +-\n lib/librte_vhost/vhost.h | 7 +-\n lib/librte_vhost/vhost_user.c | 7 +-\n lib/librte_vhost/virtio_net.c | 256 ++++++++++++++++++++----------------\n 6 files changed, 175 insertions(+), 140 deletions(-)" }{ "id": 85623, "url": "