Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp268159ybl; Thu, 30 Jan 2020 21:53:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwk57n9MqoLqr4f4QoXEL2RBOwjXW5ofsrTBdpU0UqAvYUtogcEPT+OoB41oxd1fzL5Pz9U X-Received: by 2002:a9d:1928:: with SMTP id j40mr6494145ota.68.1580450010355; Thu, 30 Jan 2020 21:53:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580450010; cv=none; d=google.com; s=arc-20160816; b=Z0zd3agAx+gE0TdHDCtOO7MYsY5r7B9Tpg4sJQ8tvf5ea1hX643LRabVq8p8El5UMC bC1oLSutd67VhCz4w1Kyustm0drdWuonUaZir8/HMSfc0trMioFuhqf/0aJBVHwx/brO lktEf54GqXWMp5nS2T7baBctlt6bwMQE0lx0CrKApYZl+PaCpFq/P5RXK5gfAF6bbj7P XHt8hc0qoe9aY0DZrzfbS1mMYGYHkxM1CJQMsLcPl8Xr1R61Skv0mJ87sDKnWENIH3Le 1263H1c45cKtoy/aTFafR7xYa1NS2h8jQ12hXCInqDCFjvZm6Vmvzlwbp1cryTs8w1nE OSJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=d7/Ujo7Z/CHfd+xwGVcIZ1hZbS/LxlAnfNIDXmwfKXc=; b=TC6GVHWLkOZSv/XIyH73PdgT0i/ZrPR1Gb3A8B4Y5O8CFaOdFxscF0Vfa+TsSYPuYp bEJCen5pMNRSlFdVTXiH0ehYJpAX4YT2vWi7VXpzhCkoURmRoeI6V/S3zM73IJsPXVCh kPbv2Sbckq5w7JVj/PcbLX1MhqFYiHe0UWpPA45ahYNVrYKUM1Foz2aj7AJXmXZXup0X fyaf8uooWUFpcnV4gbAFN4D4PRUNVKK8Q4C87DhBZ3enehtoaS72j7+FnGfYzI7NOG1P foJ6Xm6a66dqaeIsijaJ0l7CqaRJ5pIR0chq050QznVo0BpjQDXP3kBshzf28grYd08P gb6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q26si3961463oij.38.2020.01.30.21.53.17; Thu, 30 Jan 2020 21:53:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727286AbgAaFwZ (ORCPT + 99 others); Fri, 31 Jan 2020 00:52:25 -0500 Received: from mga12.intel.com ([192.55.52.136]:45524 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbgAaFwZ (ORCPT ); Fri, 31 Jan 2020 00:52:25 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2020 21:52:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,384,1574150400"; d="scan'208";a="430265359" Received: from dpdk-virtio-tbie-2.sh.intel.com (HELO ___) ([10.67.104.74]) by fmsmga006.fm.intel.com with ESMTP; 30 Jan 2020 21:52:21 -0800 Date: Fri, 31 Jan 2020 13:52:13 +0800 From: Tiwei Bie To: Randy Dunlap Cc: mst@redhat.com, jasowang@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, shahafs@mellanox.com, jgg@mellanox.com, rob.miller@broadcom.com, haotian.wang@sifive.com, eperezma@redhat.com, lulu@redhat.com, parav@mellanox.com, hch@infradead.org, jiri@mellanox.com, hanand@xilinx.com, mhabets@solarflare.com, maxime.coquelin@redhat.com, lingshan.zhu@intel.com, dan.daly@intel.com, cunming.liang@intel.com, zhihong.wang@intel.com Subject: Re: [PATCH] vhost: introduce vDPA based backend Message-ID: <20200131055213.GA111365@___> References: <20200131033651.103534-1-tiwei.bie@intel.com> <43aeecb4-4c08-df3d-1c1d-699ec4c494bd@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <43aeecb4-4c08-df3d-1c1d-699ec4c494bd@infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 30, 2020 at 07:56:43PM -0800, Randy Dunlap wrote: > Hi, > > On 1/30/20 7:36 PM, Tiwei Bie wrote: > > diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig > > index f21c45aa5e07..13e6a94d0243 100644 > > --- a/drivers/vhost/Kconfig > > +++ b/drivers/vhost/Kconfig > > @@ -34,6 +34,18 @@ config VHOST_VSOCK > > To compile this driver as a module, choose M here: the module will be called > > vhost_vsock. > > > > +config VHOST_VDPA > > + tristate "Vhost driver for vDPA based backend" > > + depends on EVENTFD && VDPA > > + select VHOST > > + default n > > + ---help--- > > + This kernel module can be loaded in host kernel to accelerate > > + guest virtio devices with the vDPA based backends. > > vDPA-based Will fix this and other similar ones in the patch. Thanks! > > > + > > + To compile this driver as a module, choose M here: the module > > + will be called vhost_vdpa. > > + > > The preferred Kconfig style nowadays is > (a) use "help" instead of "---help---" > (b) indent the help text with one tab + 2 spaces > > and don't use "default n" since that is already the default. Will fix in the next version. Thanks, Tiwei > > > config VHOST > > tristate > > depends on VHOST_IOTLB > > thanks. > -- > ~Randy >