Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8640014ybl; Thu, 16 Jan 2020 21:34:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwkxPMPonvbId4oImvzuy5fRdYE6bodwG/uU6NwyNVk298Ay8j6HLlneTfC0znon/H/1Kr8 X-Received: by 2002:aca:a997:: with SMTP id s145mr2211576oie.71.1579239261243; Thu, 16 Jan 2020 21:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579239261; cv=none; d=google.com; s=arc-20160816; b=bmNY4RG/7KnCrAyUcHCFm7ppeduH8Mutc+yUWE/AtG1+h4g2Xzgh0hOy131jeNBMF7 h7NWGqTrTLphP03wZ4LS/PZjQZr+G5cYmesAxCjSIg7T+z74UDPLdwvDCBV5f6/xFKZB ahB0NXWdYv1KPUgzxQdZd9JeKanSvu1kFjrT/WhuHfxvDlRHGa5GblOmZ2ysJvEPk+Sr 5+s65SEuZ7+2O22XqukZni2YeMJ6XMwIFoLLi/i5llE/wUc/h3S0MwEEmDbzWrjj7q8q 2Ea/YPTHJsD+oarTpMaxonq/4M8DpooA+68tQj4vr/ruYFKDf8gw/a5aoJQzBcsEHLmx 1G0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=hwLIua86PNTC41LUY82iqhVgk61ShX0Wj3SYZmEoFz0=; b=BO26tqjQQidUNrqcI3RCULX/EbCM/LB5DJhtPv5ZDzAYzvOTCWVLLv5EIOa98YBzmp hgkpTazH1WC/Y7TC62C0Nz4rATBL78LUgse0UBnrrzlGhH6HjEcTGH30d57CeV/DE4BG eYD5/Ie9BWvkyMOzlxAWbMl9lqZMjXLpoXnjD6Z/a1lRY8M8brozUAN2B8gfy5NxA9QW au4COc97y9bo/xSi4+Fogojw4AIAQhEx+LfLY4j1f3lg3mTbxynT7ibOaeszqrfXzCAr qyK5qMwiEAE2cnBeHYFeRSFETmGj5NuELPMxdkjFeZ/3LBduk2XbdBiWJLfULI766nmv Xv6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=c0TN64Cs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23si14193034oti.65.2020.01.16.21.34.09; Thu, 16 Jan 2020 21:34:21 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=c0TN64Cs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729712AbgAQEMV (ORCPT + 99 others); Thu, 16 Jan 2020 23:12:21 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:39308 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbgAQEMV (ORCPT ); Thu, 16 Jan 2020 23:12:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hwLIua86PNTC41LUY82iqhVgk61ShX0Wj3SYZmEoFz0=; b=c0TN64CssfTFt/FopsUOaMpIU BGibgXd6TlDMasJwluNoaXq+aMXgm9gfTYQgaoFljMTukFaIF02DnZrQIAWzDqkZTlTGwUBo4oMU/ vrhIsE9tPfq74231UwcDfdUq02y0JXq3IZImp+Abl4Jps59XFD5MXFm77PlyIPMlyQij2FZzgWR5X 4NYuhtlEOs/oZ+rugGvI7N6Y/KPeCuKJYga2e2FrS+UnUCu4QvJF2kCEeLCYCu0H2hXi30+2OkPar bmcQq675YS8muXsCQnBIrZIT6412nxUkYQ3a1SWU3o7iDR3mn0CCn3toov16CiYpCX6iFTAgCNazx Pj5QYZHwQ==; Received: from [2601:1c0:6280:3f0::ed68] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1isIzW-0006pj-To; Fri, 17 Jan 2020 04:12:14 +0000 Subject: Re: [PATCH 5/5] vdpasim: vDPA device simulator To: Jason Wang , mst@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Cc: tiwei.bie@intel.com, jgg@mellanox.com, maxime.coquelin@redhat.com, cunming.liang@intel.com, zhihong.wang@intel.com, rob.miller@broadcom.com, xiao.w.wang@intel.com, haotian.wang@sifive.com, lingshan.zhu@intel.com, eperezma@redhat.com, lulu@redhat.com, parav@mellanox.com, kevin.tian@intel.com, stefanha@redhat.com, hch@infradead.org, aadam@redhat.com, jakub.kicinski@netronome.com, jiri@mellanox.com, shahafs@mellanox.com, hanand@xilinx.com, mhabets@solarflare.com References: <20200116124231.20253-1-jasowang@redhat.com> <20200116124231.20253-6-jasowang@redhat.com> From: Randy Dunlap Message-ID: <55d84df0-803a-a81f-b49f-2d6fe8f78b96@infradead.org> Date: Thu, 16 Jan 2020 20:12:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <20200116124231.20253-6-jasowang@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/16/20 4:42 AM, Jason Wang wrote: > diff --git a/drivers/virtio/vdpa/Kconfig b/drivers/virtio/vdpa/Kconfig > index 3032727b4d98..12ec25d48423 100644 > --- a/drivers/virtio/vdpa/Kconfig > +++ b/drivers/virtio/vdpa/Kconfig > @@ -7,3 +7,20 @@ config VDPA > datapath which complies with virtio specifications with > vendor specific control path. > > +menuconfig VDPA_MENU > + bool "VDPA drivers" > + default n > + > +if VDPA_MENU > + > +config VDPA_SIM > + tristate "vDPA device simulator" > + select VDPA > + default n > + help > + vDPA networking device simulator which loop TX traffic back loops > + to RX. This device is used for testing, prototyping and > + development of vDPA. > + > +endif # VDPA_MENU Most lines above use spaces for indentation, while they should use tab + 2 spaces. -- ~Randy