From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9F6371FC3; Fri, 4 Jul 2025 13:20:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751635226; cv=none; b=lANkjEvEJrNGFUsO3WrBgK0VoQ5aW+X5roz2joEOk0Cird4cGD998mm79MMGh//gjNYNqeEIULrHJuDCfuBYC7q1fWKwsVSf1p6n9ouQYmeeER1jRtd8W5SGamN3MX8Nh1OBmKZtGIjSGmV4eG0fdeOfyL3EH62MhjYrZJiSdp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751635226; c=relaxed/simple; bh=E22YtMZTkR47Wy1MgCwxvROHlw1OXESfmqj7ZX28cqA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hOMip3DQlVTfvoUP+qbP3RM/cBaARrrovFsbnGVHlZrhXRJNMxPpWnyKvM46AxjRYPMEJ045gDjqR65YkGWZ1AcqRDJLUYlbBz0U/QJIT1EKhcHMT/lUG6mMCV83U+t0I5hb3Y4IAjcWSVOOB3B0GpEejYynLLOvefSNnq8nyx8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=n1rnLoTG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="n1rnLoTG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 490C7C4CEE3; Fri, 4 Jul 2025 13:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1751635226; bh=E22YtMZTkR47Wy1MgCwxvROHlw1OXESfmqj7ZX28cqA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n1rnLoTGg9cU81lRJDad4WyocHeKRrv6pdAGHIdWLPhBvNyfKGfWXhNojQCHcDlpC 8AcoKk25fnpCFr2fcIBNAyFgPF/Z6UQI28e4vzLJhqDsJEhjGstJm/XFHnGP6N8J7a UEtpo4l+YsUUrlg7tFvThQLAF3Y/DgSvRv68J9v1dH8wefeC1OaU4+XwljcBcsRuEA VPYklgFSNxaUCx/Wiy4LuClOhKpIU7QTxbp4/bqfn61Gtj/HzZtbKxthNUFPWBiP42 csj7MOMYePlkGbJ/h9Y2YKSg0EdLSnFXv4+DorCR9s9VJWNQXL6wXOtUmDjL/fFpUI Qw1+6Arh/D8ag== Date: Fri, 4 Jul 2025 14:20:19 +0100 From: Simon Horman To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?utf-8?B?S8O2cnk=?= Maincent , Oleksij Rempel , Shuah Khan , linux-kselftest@vger.kernel.org Subject: Re: [PATCH net-next 3/3] selftests: ethtool: Introduce ethernet PHY selftests on netdevsim Message-ID: <20250704132019.GM41770@horms.kernel.org> References: <20250702082806.706973-1-maxime.chevallier@bootlin.com> <20250702082806.706973-4-maxime.chevallier@bootlin.com> Precedence: bulk X-Mailing-List: netdev@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: <20250702082806.706973-4-maxime.chevallier@bootlin.com> On Wed, Jul 02, 2025 at 10:28:05AM +0200, Maxime Chevallier wrote: > Now that netdevsim supports PHY device simulation, we can start writing > some tests to cover a little bit all PHY-related ethtool commands. > > So far we only test the basic use of "ethtool --show-phys", with : > - A simple command to get a PHY we just added > - A DUMP command listing PHYs on multiple netdevsim instances > - A Filtered DUMP command listing all PHYs on a netdevsim > > Introduce some helpers to create netdevsim PHYs, and a new test file. > > Signed-off-by: Maxime Chevallier Hi Maxime, We have recently started running shellcheck as part of our CI (NIPA). Could you do so for the scripts added and modified by this patch? > --- > .../selftests/drivers/net/netdevsim/config | 1 + > .../drivers/net/netdevsim/ethtool-common.sh | 15 +++++ > .../drivers/net/netdevsim/ethtool-phy.sh | 64 +++++++++++++++++++ Should ethtool-phy.sh be added to TEST_PROGS the Makefile in the same directory? ...