lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250718194022.4d01088e@kmaincent-XPS-13-7390>
Date: Fri, 18 Jul 2025 19:40:22 +0200
From: Kory Maincent <kory.maincent@...tlin.com>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
 thomas.petazzoni@...tlin.com, Andrew Lunn <andrew@...n.ch>, Jakub Kicinski
 <kuba@...nel.org>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
 <pabeni@...hat.com>, Russell King <linux@...linux.org.uk>,
 linux-arm-kernel@...ts.infradead.org, Christophe Leroy
 <christophe.leroy@...roup.eu>, Herve Codina <herve.codina@...tlin.com>,
 Florian Fainelli <f.fainelli@...il.com>, Heiner Kallweit
 <hkallweit1@...il.com>, Vladimir Oltean <vladimir.oltean@....com>, Marek
 Behún <kabel@...nel.org>, Oleksij Rempel
 <o.rempel@...gutronix.de>, Nicolò Veronese
 <nicveronese@...il.com>, Simon Horman <horms@...nel.org>,
 mwojtas@...omium.org, Antoine Tenart <atenart@...nel.org>,
 devicetree@...r.kernel.org, Conor Dooley <conor+dt@...nel.org>, Krzysztof
 Kozlowski <krzk+dt@...nel.org>, Rob Herring <robh@...nel.org>, Romain
 Gantois <romain.gantois@...tlin.com>, Daniel Golle <daniel@...rotopia.org>,
 Dimitri Fedrau <dimitri.fedrau@...bherr.com>
Subject: Re: [PATCH net-next v9 02/15] net: ethtool: common: Indicate that
 BaseT works on up to 4 lanes

Le Thu, 17 Jul 2025 09:30:06 +0200,
Maxime Chevallier <maxime.chevallier@...tlin.com> a écrit :

> The way BaseT modes (Ethernet over twisted copper pairs) are represented
> in the kernel are through the following modes :
> 
>   ETHTOOL_LINK_MODE_10baseT_Half
>   ETHTOOL_LINK_MODE_10baseT_Full
>   ETHTOOL_LINK_MODE_100baseT_Half
>   ETHTOOL_LINK_MODE_100baseT_Full
>   ETHTOOL_LINK_MODE_1000baseT_Half
>   ETHTOOL_LINK_MODE_1000baseT_Full
>   ETHTOOL_LINK_MODE_2500baseT_Full
>   ETHTOOL_LINK_MODE_5000baseT_Full
>   ETHTOOL_LINK_MODE_10000baseT_Full
>   ETHTOOL_LINK_MODE_100baseT1_Full
>   ETHTOOL_LINK_MODE_1000baseT1_Full
>   ETHTOOL_LINK_MODE_10baseT1L_Full
>   ETHTOOL_LINK_MODE_10baseT1S_Full
>   ETHTOOL_LINK_MODE_10baseT1S_Half
>   ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half
>   ETHTOOL_LINK_MODE_10baseT1BRR_Full
> 
> The baseT1* modes explicitly specify that they work on a single,
> unshielded twister copper pair.
> 
> However, the other modes do not state the number of pairs that are used
> to carry the link. 10 and 100BaseT use 2 twisted copper pairs, while
> 1GBaseT and higher use 4 pairs.
> 
> although 10 and 100BaseT use 2 pairs, they can work on a Cat3/4/5+
> cables that contain 4 pairs.
> 
> Change the number of pairs associated to BaseT modes to indicate the
> allowable number of pairs for BaseT. Further commits will then refine
> the minimum number of pairs required for the linkmode to work.
> 
> BaseT1 modes aren't affected by this commit.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@...tlin.com>

Reviewed-by: Kory Maincent <kory.maincent@...tlin.com>

Thank you!

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ