Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1241884rdb; Wed, 24 Jan 2024 08:55:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IG08Jtgcc3ht5g44Z4NZvnNvoUj/iz0rXvYDJCkRQX1zLA2WAJ6OiHNnZZdlRxugyVaC/H9 X-Received: by 2002:a05:6214:21e8:b0:681:781a:8aca with SMTP id p8-20020a05621421e800b00681781a8acamr3311782qvj.90.1706115344454; Wed, 24 Jan 2024 08:55:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706115344; cv=pass; d=google.com; s=arc-20160816; b=0xfjYUZ4us/uM+eILJoEUFwvpPaYHCfY/acZye7lAqcFCIDp1udxuYwT9Geusi5y1n T3b9ta8q/QdvxswyE/MYjUOepcCUzuzQ2EvSj63E+rQZ94jhVvVUlMGxgAPtTRXmnmPO NpPL2GrW5Q3PFaCbt879zAuDQptucslv2u8ilgDDDMOSDi5NJf3amWooknYKSVh6CkRe zU3lbCsEOLrH/9eS8Opfzk4ne++iuRnK16RoVS5C47kvH0+PTHk9110igKBC8e4kMh9+ TvK+BULyZE4Py648JUxIUhvQ73jgdR5dcwsBEUdKaJIp2MdwwP73kzQeycrGkIQrZtPE 3+LA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0JjZ2ka+CTc+RssEjPxt5afJQaecPxb0qSfuLGFpoPg=; fh=N9ulsK78wa4EskC63McGrAulufPecEQliAWwkNP4nD4=; b=XpCT6Gc7D4mykmhvcScBg47gQP17/Ft6nrzLgjGhodasHVcWT1p+DmPl8evOGbvZ2L W5jUnJac0P4gQDu3OVlFjjh0xBX7NncBw12XPgaLuL6zxC88v2dR5MBOBD9LQQfryxPu yU2AvwIUJ8muB3mIMabv3CPziPFDkZp5DklnYhS98o45PrHVT29urQ05wrdNSlQcWdNM nLll34uh5YY5d9t17hnOxGeshhBsLosW0ov6gEM8tCzWmtAEZ9GLmabzn7Qzpf0THfrO dCfJgN7NS0szGl+7sQupShIp9jVQ7I096M1rdS93XTTyLkhBdD7EbSvAig68zAgLPM25 YG2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=XlsU+QGw; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-37361-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m17-20020a05622a119100b0042a6240b008si1067802qtk.559.2024.01.24.08.55.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 08:55:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37361-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=XlsU+QGw; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-37361-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5EAC11C22C25 for ; Wed, 24 Jan 2024 16:55:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 060F87E58A; Wed, 24 Jan 2024 16:55:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="XlsU+QGw" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB6AC7C08C; Wed, 24 Jan 2024 16:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706115303; cv=none; b=Hluzeod9CrmNLEqmKcE6Rcno2TZh0OyEiuORLh2Hrh6t79gCK4APnjli5cA5Q30jd0UOqWGIbFAEpnJffwOAi5aJ2qLven34rAtKp+dj5JqPObKdUEEZhj6aF+BXX2e/7IIWqcvaRiNNDKzy8dys4wTX6c27bmAGjvDHWBpt6Mw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706115303; c=relaxed/simple; bh=P/TUvoMiEV83YDbhVs2P7c3Lloh6Y4fqxH1XGIUbeYo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=akhX0ghq0I4SgdrxSYWVx2cTBnsqFnqDA+2f3I+x+tDnB7HjQ04rDo/Xa7I0VqpzYuBf288ocBz7R52DMl2c3hxiNqYiRgLN4/Ps5YGeRZ54fDBwAPpHxV+IJrFmO4cF0orMvq2V4E/F6jp2/cLwFmPhVLKHKQUO0gD/NaPyTdU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=XlsU+QGw; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=0JjZ2ka+CTc+RssEjPxt5afJQaecPxb0qSfuLGFpoPg=; b=XlsU+QGwkOeqLzcp7+pDl4JZ5v k0wvKbTHQTX/DmSSuz8XMFdsUZoEVvhygV+DgDPQ1g7kpRXQZ+grsML3cYCl0FDqV+K04KWs92LpF 64+0Tzd4u/0OS3s7kUhhBVbuQPfmz/2BRRbZAJ2Irxti+JXf4Je2EFVNGA/+oorL3IFg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rSgWb-0060kt-9U; Wed, 24 Jan 2024 17:54:53 +0100 Date: Wed, 24 Jan 2024 17:54:53 +0100 From: Andrew Lunn To: Maxime Chevallier Cc: Jakub Kicinski , davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Eric Dumazet , Paolo Abeni , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?iso-8859-1?Q?K=F6ry?= Maincent , Jesse Brandeburg , Jonathan Corbet , Marek =?iso-8859-1?Q?Beh=FAn?= , Piergiorgio Beruto , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese , Simon Horman Subject: Re: [PATCH net-next v5 07/13] net: ethtool: Introduce a command to list PHYs on an interface Message-ID: <1092441f-c347-4f61-8405-7cc8a07d5850@lunn.ch> References: <20231221180047.1924733-1-maxime.chevallier@bootlin.com> <20231221180047.1924733-8-maxime.chevallier@bootlin.com> <20240104153401.08ff9809@kernel.org> <20240105104311.03a35622@device-28.home> <2c955f94-7c95-4f66-b739-f0967ec9c171@lunn.ch> <20240124145033.1c711fd1@device-28.home> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240124145033.1c711fd1@device-28.home> > > Another option might be to add PHY support to netdevsim. Add a debugfs > > interface to allow you to create arbitrary PHY topologies? You can > > then even add a test script. > > Sorry for the delayed answer, I just took a few hours to give it a try, > and I was able to spin some very basic PHY support for the netdevsim, > allowing to attach arbitrary instances of fixed_phy devices. I can > therefore use that as a mean of testing the dump operation, I'll try to > include that in the next iteration, that should pave the way for some > testability of more PHY stuff hopefully. Great that you looked at this. FYI: Jakub would like to see changes to netdevsim accompanied with self tests making you of the features you add. There is also now a build bot running the self tests against net-next, so these tests should get run quite frequently. Andrew