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 17695A04DE; Fri, 23 Oct 2020 13:09:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8BADB9AF1; Fri, 23 Oct 2020 13:09:12 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id BAD0D72E9 for ; Fri, 23 Oct 2020 13:09:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603451348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dRj/nhTBextbsqxd1Yak4bWd1r+AQuUAbU1ejyfvVOI=; b=XcGoUJwiQhulgITvqHWTFShJnjSrX/eO+5YUtVoWpT2vH1F+qtPpr9+ma2IyDdE/BKospB mclfsmacFj2CuWl9GR5YakaUzQQ5PH1gQcHodLXKHBQqTWgyQr5tuKZ/BolKpE6nvy0Mv5 RmxGfBDwDtOqISuRpW5GQXa/wffrdOw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-279-inuLSPRZPhuZ-aq9L1B5vw-1; Fri, 23 Oct 2020 07:09:04 -0400 X-MC-Unique: inuLSPRZPhuZ-aq9L1B5vw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 146205F9DB; Fri, 23 Oct 2020 11:09:03 +0000 (UTC) Received: from [10.36.110.30] (unknown [10.36.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 930405B4B4; Fri, 23 Oct 2020 11:09:01 +0000 (UTC) To: Cheng Jiang , chenbo.xia@intel.com Cc: dev@dpdk.org, patrick.fu@intel.com, YvonneX.Yang@intel.com References: <20200910064351.35513-1-Cheng1.jiang@intel.com> <20201022085909.112403-1-Cheng1.jiang@intel.com> <20201022085909.112403-2-Cheng1.jiang@intel.com> From: Maxime Coquelin Message-ID: <8d5387b2-e86d-c4e9-1473-9cfa18e46c49@redhat.com> Date: Fri, 23 Oct 2020 13:08:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201022085909.112403-2-Cheng1.jiang@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v10 1/4] example/vhost: add async vhost args parsing function 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" On 10/22/20 10:59 AM, Cheng Jiang wrote: > This patch is to add async vhost driver arguments parsing function > for CBDMA channel, DMA initiation function and args description. > The meson build file is changed to fix dependency problem. With > these arguments vhost device can be set to use CBDMA or CPU for > enqueue operation and bind vhost device with specific CBDMA channel > to accelerate data copy. > > Signed-off-by: Cheng Jiang > --- > examples/vhost/ioat.c | 101 +++++++++++++++++++++++++++++++++++++ > examples/vhost/ioat.h | 33 ++++++++++++ > examples/vhost/main.c | 36 ++++++++++++- > examples/vhost/meson.build | 5 ++ > 4 files changed, 174 insertions(+), 1 deletion(-) > create mode 100644 examples/vhost/ioat.c > create mode 100644 examples/vhost/ioat.h > Reviewed-by: Maxime Coquelin Thanks, Maxime