Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp269416ybl; Thu, 30 Jan 2020 21:55:22 -0800 (PST) X-Google-Smtp-Source: APXvYqz/brb8NDmMyeS26kS6Mucj+9LFLVIdIkD/j02Kofjdhj5baShtbMHEWSfNYyD7TIYqNVML X-Received: by 2002:aca:afd8:: with SMTP id y207mr5212277oie.96.1580450122384; Thu, 30 Jan 2020 21:55:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580450122; cv=none; d=google.com; s=arc-20160816; b=wF+pyyaAuQCEr+xyjpbnXEYinvY5BO8lr78E6D4F5C+p9faEX8NHTWqHP8Ki56dVDQ +ByrZE2CbHvlONie3BPljYhOHE78W45RK49NJaQ27xEeDq3U8dmgDCo5j22D8QvLmCYB l0pyi8wIkYHt0azVej7wCzRfH4itlLAFft0V5GA4PSb4YlwIXyA8FZb/KOj6L4Ovm0Me t724O4F76+kOlF+HtYyvXfhC+86IntMNs1KZLYF/r2q1J1rH4yw+7DeMV8DSQDl5ckf6 swKeZ3LIgUiEX65GMYXxe+KWXBJnE0ezVdZNl70E4VjoRFMlxzraWTrRunmlS+9oahqa fmdw== 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=jPwTaFgWs+A6weB0o2D/6q3hIoAzoz3i4hUgCuM98TU=; b=dSa7vne+6m63Bp45e7pzagvtAmsBOELIXJ0yD5jOJDUJFROHvTM8YT+OCBc1WWrfEv /VQVyROIUQLUgRAMbj9DZ6s++rw2G0vyvHcN0mho2nDfXWKOe42Qz8CuSCd5CVeR7R7X sJBCmIRNjf4Y34aiOU2LmFeUaMsNn92FGBbmwsJ3zUAoZAvap4D9FzDWEQlAm5CDj7hJ KBVhdbfFp4RnxIi9RJmpnDytRHCWEf9E72D/p96oAe8XC7GTF5HGfhri0iz1rfgnq9ED T5qqjS1w7NyUu4DUKXL4UcnoHJv7oOgLF78x+oTUU3cqQXM6tDzNRP2EOdwIyoXc+4QI GsQw== 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 l65si3608352oih.23.2020.01.30.21.55.10; Thu, 30 Jan 2020 21:55:22 -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 S1728053AbgAaFyR (ORCPT + 99 others); Fri, 31 Jan 2020 00:54:17 -0500 Received: from mga12.intel.com ([192.55.52.136]:45660 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726399AbgAaFyQ (ORCPT ); Fri, 31 Jan 2020 00:54:16 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2020 21:54:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,384,1574150400"; d="scan'208";a="377255838" Received: from dpdk-virtio-tbie-2.sh.intel.com (HELO ___) ([10.67.104.74]) by orsmga004.jf.intel.com with ESMTP; 30 Jan 2020 21:54:12 -0800 Date: Fri, 31 Jan 2020 13:54:04 +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: <20200131055403.GB111365@___> References: <20200131033651.103534-1-tiwei.bie@intel.com> <43aeecb4-4c08-df3d-1c1d-699ec4c494bd@infradead.org> <05e21ed9-d5af-b57c-36cd-50b34915e82d@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <05e21ed9-d5af-b57c-36cd-50b34915e82d@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 09:12:57PM -0800, Randy Dunlap wrote: > On 1/30/20 7:56 PM, 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" > > oops, missed this one: > vDPA-based Will fix. Thanks! > > >> + 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 > > > >> + > >> + 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. > > > >> config VHOST > >> tristate > >> depends on VHOST_IOTLB > > > > thanks. > > > > > -- > ~Randy >