Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1176681ybl; Thu, 12 Dec 2019 10:48:19 -0800 (PST) X-Google-Smtp-Source: APXvYqwgPCIN2XpIx1f9Xg4/vGY48NPicLG8jF1HLTX2rhNl8XyN2de+b66VQe/eTIEThrY05YJJ X-Received: by 2002:a05:6830:110a:: with SMTP id w10mr10083936otq.300.1576176499032; Thu, 12 Dec 2019 10:48:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576176499; cv=none; d=google.com; s=arc-20160816; b=wVK7dmWyFii/rhQAV0XRBo1x7HXc+wUiLW12pqnOWqi4H0I2jvnOtylV3i2CAHeLsX YANbAFicnI9KjlK5ceSWVzQF1bipYP1Qd9Ul62kzlbdf6Rnx7w9fn5iq1f1E3VCs92cF hNBpYmcJRXwBvEVv/gvvw/pRBtFq77UAOWnyFKllErLmol5hVvpIbpfsl78RgFoTU7kx rbNgqm0i9KEp/o3JfsmZK9zN221Vl8ktFm2Q2CL/Hvv9CF5Dhy1Me5wyfa2AF6l/5aOr e7WMRHyoNx4VdaUV/d3aRL6fNANA+tQl8OJ6pQDkn8QahNkOWVzFLNCafjo05kMOyP75 EGrQ== 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:dkim-signature; bh=4mxdiDQsfZD57JRu05aHGqyvwaIJ8QTGQZI90Fgydd4=; b=UwekBC9kKb5HNmoQyoRIls6pPGDQ6O9JalqdH9DGFrtS09N3w4OV3AYwUdD3MkSQ29 +O6F4wRVMppZpbxIpj8/fhZseNuuVoFzPpZvBuGXVW6jUF3OB6HQ5wOhxHMiVvq03owk mVEVI/LBnbLFqLhNQRPsz+txnye3KHF8fbOwlzBRlqHvBok7+aofUyfazxjhK+WoZP7u 6/Wt8UYlv3MF1rQV2rpo2r7ZsJRgpE8v5LcmoZNzLhFFGYAh7w35IcfJBQCAQIfHpO4m tHdLXkiIkEfK2LC2LxS2enMsZZKz2ngwmBXgfb/UhCfnW+2fmQWIGg1uy/otQgOeHXjj 0Xkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VHyI13Hr; 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 u20si4277487otg.193.2019.12.12.10.48.06; Thu, 12 Dec 2019 10:48:19 -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=pass header.i=@messagingengine.com header.s=fm1 header.b=VHyI13Hr; 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 S1730454AbfLLSrg (ORCPT + 99 others); Thu, 12 Dec 2019 13:47:36 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45851 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730258AbfLLSrg (ORCPT ); Thu, 12 Dec 2019 13:47:36 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 36169220DD; Thu, 12 Dec 2019 13:47:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 12 Dec 2019 13:47:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=4mxdiD QsfZD57JRu05aHGqyvwaIJ8QTGQZI90Fgydd4=; b=VHyI13HrTGZaW29m3NPvPp QYnyqv1yxXQqfY7S65bQ1P8D+a1s4FBvXARJxdoqRT6NY+CPbtG/eXPNSmCJKB1j zNsUMC9OUmMu5gurOWxl0LffUQCVGXiRQwS4PzI94O+wQg8fO+7iqOcXfSnQQEuP sBpePNNhk/W7ijzo6LgE/eMwnB9WXP5N4/Xeh4CGNNFC4teXNPlbknopT1a1jxT6 3hG5LfI/PFCFpBsVUFiYhgvF/vW82hrxy1B8mdR6X8UlH5iTTHp0Xy3wb/9zyZSz 2KI8qoa58NKLLWkegCDzubVbobEKy8AQ4ndv+IcjQz7zOSwqA1MUBfjv5De1V/aQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeljedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpefkugho ucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucfkphepud elfedrgeejrdduieehrddvhedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehiughoshgt hhesihguohhstghhrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [193.47.165.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 5ABE13060134; Thu, 12 Dec 2019 13:47:34 -0500 (EST) Date: Thu, 12 Dec 2019 20:47:32 +0200 From: Ido Schimmel To: Jakub Kicinski Cc: Yuval Avnery , Jiri Pirko , "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Andy Gospodarek Subject: Re: [PATCH net-next] netdevsim: Add max_vfs to bus_dev Message-ID: <20191212184732.GA570918@splinter> References: <1576033133-18845-1-git-send-email-yuvalav@mellanox.com> <20191211095854.6cd860f1@cakuba.netronome.com> <20191211111537.416bf078@cakuba.netronome.com> <20191211142401.742189cf@cakuba.netronome.com> <20191211154952.50109494@cakuba.netronome.com> <20191212102517.602a8a5d@cakuba.netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191212102517.602a8a5d@cakuba.netronome.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 12, 2019 at 10:25:17AM -0800, Jakub Kicinski wrote: > I'd like to see netdevsim to also serve as sort of a reference model > for device behaviour. Vendors who are not first to implement a feature > always complain that there is no documentation on how things should > work. +1 I have a patch set that adds FIB offload implementation to netdevsim and a gazillion of test cases that I share between netdevsim and mlxsw. Can be used by more drivers when they land. It's also very convenient for fuzzing now that syzkaller supports netdevsim instances thanks to Jiri. I've been running syzkaller for a few weeks now to test the FIB implementation.