From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4D45EA04C0; Tue, 29 Sep 2020 08:53:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C5CD1D6F8; Tue, 29 Sep 2020 08:53:45 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C6E681D6E9 for ; Tue, 29 Sep 2020 08:53:43 +0200 (CEST) IronPort-SDR: 9v1Gmn9w9CbDOoD7F6uuylyDWFxJPU51qAxRqmogzwGGmLO+c5KBGllDldqmCfN5k6danTItum +2ujyvFg1LtA== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="161358336" X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="161358336" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 23:53:40 -0700 IronPort-SDR: 5W2JkD1KOG55ZrPx/UIJhjn8Q7gFzG7VChudO341WI6IRzOpjhDPf/MSZckqgfut+x+G5VUjhu h2DfijwHOQ8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="312108959" Received: from dpdk_jiangcheng.sh.intel.com ([10.67.119.112]) by orsmga006.jf.intel.com with ESMTP; 28 Sep 2020 23:53:36 -0700 From: Cheng Jiang To: maxime.coquelin@redhat.com, chenbo.xia@intel.com, zhihong.wang@intel.com Cc: dev@dpdk.org, patrick.fu@intel.com, Cheng Jiang Date: Tue, 29 Sep 2020 06:42:35 +0000 Message-Id: <20200929064239.41931-1-Cheng1.jiang@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200910064351.35513-1-Cheng1.jiang@intel.com> References: <20200910064351.35513-1-Cheng1.jiang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 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: -dma_type This parameter is used to specify DMA type for async vhost-user net driver. -dmas This parameter is used to specify the assigned DMA device of a vhost device and enable async vhost data path. --- v2: * Changed meson build file to fix dependency problem * Added parameter description in usage function * Optimized parameter settings and parsing function * Optimized abstraction, moved some code to ioat.c Cheng Jiang (4): example/vhost: add async vhost 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 | 11 ++ examples/vhost/ioat.c | 209 +++++++++++++++++++++++++ examples/vhost/main.c | 98 +++++++++++- examples/vhost/main.h | 14 ++ examples/vhost/meson.build | 4 +- 6 files changed, 338 insertions(+), 4 deletions(-) create mode 100644 examples/vhost/ioat.c -- 2.27.0