From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0B4FC43461 for ; Thu, 10 Sep 2020 06:52:00 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id F2EF72078E for ; Thu, 10 Sep 2020 06:51:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F2EF72078E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C973D1BEB3; Thu, 10 Sep 2020 08:51:58 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8B00C1B9B7 for ; Thu, 10 Sep 2020 08:51:57 +0200 (CEST) IronPort-SDR: AXx7FAgEnWoIGvKrAgd3P/aQs3lbZcwftC0fuTMnOsYu5DDHRQesrSRF/pkNDhCVwgKMv71yNZ luHaQyTTyWMA== X-IronPort-AV: E=McAfee;i="6000,8403,9739"; a="176541291" X-IronPort-AV: E=Sophos;i="5.76,412,1592895600"; d="scan'208";a="176541291" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2020 23:51:55 -0700 IronPort-SDR: Ctu991Yt+nAgJ2x96uk4GB4CgljnVdi0cIX6C97mRjSzCjgfHjFXYFNYUyr0cNAV0p/MqHneUd l8GfZ6qXBwww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,412,1592895600"; d="scan'208";a="480771744" Received: from dpdk_jiangcheng.sh.intel.com ([10.67.119.112]) by orsmga005.jf.intel.com with ESMTP; 09 Sep 2020 23:51:53 -0700 From: Cheng Jiang To: maxime.coquelin@redhat.com, chenbo.xia@intel.com, zhihong.wang@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com Cc: dev@dpdk.org, patrick.fu@intel.com, Cheng Jiang Date: Thu, 10 Sep 2020 06:43:47 +0000 Message-Id: <20200910064351.35513-1-Cheng1.jiang@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1 0/4] add async data path in vhost sample X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch set makes vhost-vswitch be able to use vhost async APIs for enqueue operations. Demonstrated how the application leverage IOAT DMA channel with vhost async APIs. We introduce two parameters to enable DMA acceleration for Tx operations of queues: -async_vhost_driver Async vhost-user net driver will be used when this option is given. It is disabled by default. -dmas This parameter is used to specify the assigned DMA device of a vhost device. Cheng Jiang (4): example/vhost: add async vhost driver args parsing function example/vhost: add support for vhost async data path doc: update vhost sample doc for vhost async data path doc: update release notes for vhost sample doc/guides/rel_notes/release_20_11.rst | 6 + doc/guides/sample_app_ug/vhost.rst | 10 + examples/vhost/main.c | 254 ++++++++++++++++++++++++- examples/vhost/main.h | 1 + 4 files changed, 267 insertions(+), 4 deletions(-) -- 2.27.0