From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 D4FAA27A916 for ; Tue, 3 Feb 2026 18:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770142484; cv=none; b=afbJeMYnUk6zFPubcru51vB6snU8kLKL20SmpdHwoX3ZnQOKqJ+CjK5Q3X0Mx8PTksKcxp8c4vsheiuZ9u3w2OqHvgO8oDGRf6ZwEpTQ6oodQ+v4URzZyF6amh7JXLJBnCRzWwGCp9IvYwKvCot1y+XdK7OImQh2/y2cEO0L9EM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770142484; c=relaxed/simple; bh=beE9oQ8nLlVRe8/YiWUTZyc4GmVn4vV0Pmrv+nxFBG8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tsTeOVhm1qwEXK9+GdBSsEwgagmqeHTU4HmuAiZ3xxdfDiqVaexOw6LXBhDgZVCMoqT+z0Ui5/fOPGd37M1+EKt6KdeFYVMSJcg+kNS20Zqlac73yZD9l+UTFpy5fkfpFGmiMgvVPo/4E9+mssnKCMXhoY58e1zR60jcPnyIbyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=IEiJBWwC; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="IEiJBWwC" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 9CBE5C24387; Tue, 3 Feb 2026 18:14:45 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 553AA60728; Tue, 3 Feb 2026 18:14:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3F875119A8888; Tue, 3 Feb 2026 19:14:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1770142479; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=8ltGvsqYxO64uG+3VjjJYH8ZR4dn0u5VjBsKIwyYqOw=; b=IEiJBWwCZ8Zs01FujA6ZPFFA/kzE3/GXlF0YwZ0gWner62riylNqgMAPQMtQYfjl8wyxoM /Sks8aK/Q/WImLP6N4/lPYD3RKVKYWooECwSHpbByYIXzfZcyUzR1sqHNGV90SRHLzsamu 1izzhSzTHVpSJGsAswUCsAPjGO6/8zWVW25ZqeLwFPgDOB13WJAaIxo8xr57hxeHSM+PNa O9E+GX5UQiRwNF1YCL2cnrSBte10KmDn6WKTnTC58U1sgL2Apr4Jbw9L/8FTV/NtB+gcj8 4JqNSSalMpu27HEb53Rffn2CVcMJLU3yOfe1LU2sQ5AY1RGSWNswmpxgZ2SBWQ== Message-ID: Date: Tue, 3 Feb 2026 19:14:35 +0100 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v3 10/11] netlink: specs: Add ethernet port listing with ethtool To: Simon Horman Cc: davem@davemloft.net, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , Heiner Kallweit , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Christophe Leroy , Herve Codina , Florian Fainelli , Vladimir Oltean , =?UTF-8?Q?K=C3=B6ry_Maincent?= , =?UTF-8?Q?Marek_Beh=C3=BAn?= , Oleksij Rempel , =?UTF-8?Q?Nicol=C3=B2_Veronese?= , mwojtas@chromium.org, Romain Gantois , Daniel Golle , Dimitri Fedrau References: <20260201151249.642015-1-maxime.chevallier@bootlin.com> <20260201151249.642015-11-maxime.chevallier@bootlin.com> From: Maxime Chevallier Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 Hi Simon, On 03/02/2026 18:55, Simon Horman wrote: > On Sun, Feb 01, 2026 at 04:12:47PM +0100, Maxime Chevallier wrote: > > ... > >> diff --git a/Documentation/networking/ethtool-netlink.rst b/Documentation/networking/ethtool-netlink.rst >> index af56c304cef4..3e673755800b 100644 >> --- a/Documentation/networking/ethtool-netlink.rst >> +++ b/Documentation/networking/ethtool-netlink.rst >> @@ -2522,6 +2522,40 @@ Within each channel nest, only the metrics supported by the PHY will be present. >> See ``struct phy_mse_snapshot`` kernel documentation in >> ``include/linux/phy.h``. >> >> +PORT_GET >> +======== >> + >> +Retrieve information about the physical connection points of a network device, >> +referred to as "ports". User needs to specify a PORT_ID for the DO operation, >> +in which case the DO request returns information about that specific port. >> + >> +As there can be more than one port, the DUMP operation can be used to list the >> +ports present on a given interface, by passing an interface index or name in >> +the dump request. >> + >> +Request contents: >> + >> +==================================== ====== ================================= > > Hi Maxime, > > make htmldocs complains that "Bottom/header table border does not match top > border.". Ah indeed ! I'll address this in V5 then. Thank you for the report ! Maxime