Netdev List
 help / color / mirror / Atom feed
From: Maxime Chevallier <maxime.chevallier@bootlin.com>
To: Hee-Suk Kim <hskim@dilluti0n.com>, netdev@vger.kernel.org
Cc: "Andrew Lunn" <andrew@lunn.ch>,
	"Heiner Kallweit" <hkallweit1@gmail.com>,
	"Russell King" <linux@armlinux.org.uk>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Willem de Bruijn" <willemb@google.com>,
	"Simon Horman" <horms@kernel.org>,
	"Daniel Golle" <daniel@makrotopia.org>,
	nic_swsd@realtek.com, "Andrew Lunn" <andrew+netdev@lunn.ch>,
	linux-kernel@vger.kernel.org, javen <javen_xu@realsil.com.cn>,
	"Björn Töpel" <bjorn@kernel.org>
Subject: Re: [PATCH net-next v2 2/4] net: phylink: add MAC_500FD
Date: Sat, 5 Dec 2026 09:19:41 +0100	[thread overview]
Message-ID: <3e912124-c7a0-41a5-b859-b5225384050b@bootlin.com> (raw)
In-Reply-To: <20261205-giga-lite-v2-2-5b84410edb9f@dilluti0n.com>

Hi,

On 12/5/26 05:00, Hee-Suk Kim wrote:
> Add a MAC capability for 500 Mbps full duplex. It is placed between
> MAC_100FD and MAC_1000HD because the capability bits are expected to be
> ordered by speed.
> 
> Signed-off-by: Hee-Suk Kim <hskim@dilluti0n.com>
> ---

Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Maxime

>  drivers/net/phy/phylink.c |  1 +
>  include/linux/phylink.h   | 29 +++++++++++++++--------------
>  2 files changed, 16 insertions(+), 14 deletions(-)
> 
> diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
> index 6f5af388210d..c6aef11f544e 100644
> --- a/drivers/net/phy/phylink.c
> +++ b/drivers/net/phy/phylink.c
> @@ -327,6 +327,7 @@ static struct {
>  	{ MAC_2500FD,   SPEED_2500,   DUPLEX_FULL, BIT(LINK_CAPA_2500FD) },
>  	{ MAC_1000FD,   SPEED_1000,   DUPLEX_FULL, BIT(LINK_CAPA_1000FD) },
>  	{ MAC_1000HD,   SPEED_1000,   DUPLEX_HALF, BIT(LINK_CAPA_1000HD) },
> +	{ MAC_500FD,    SPEED_500,    DUPLEX_FULL, BIT(LINK_CAPA_500FD) },
>  	{ MAC_100FD,    SPEED_100,    DUPLEX_FULL, BIT(LINK_CAPA_100FD) },
>  	{ MAC_100HD,    SPEED_100,    DUPLEX_HALF, BIT(LINK_CAPA_100HD) },
>  	{ MAC_10FD,     SPEED_10,     DUPLEX_FULL, BIT(LINK_CAPA_10FD) },
> diff --git a/include/linux/phylink.h b/include/linux/phylink.h
> index a7b6294cc4a0..d03634d8ab70 100644
> --- a/include/linux/phylink.h
> +++ b/include/linux/phylink.h
> @@ -79,21 +79,22 @@ enum {
>  	MAC_100HD	= BIT(4),
>  	MAC_100FD	= BIT(5),
>  	MAC_100		= MAC_100HD | MAC_100FD,
> -	MAC_1000HD	= BIT(6),
> -	MAC_1000FD	= BIT(7),
> +	MAC_500FD	= BIT(6),
> +	MAC_1000HD	= BIT(7),
> +	MAC_1000FD	= BIT(8),
>  	MAC_1000	= MAC_1000HD | MAC_1000FD,
> -	MAC_2500FD	= BIT(8),
> -	MAC_5000FD	= BIT(9),
> -	MAC_10000FD	= BIT(10),
> -	MAC_20000FD	= BIT(11),
> -	MAC_25000FD	= BIT(12),
> -	MAC_40000FD	= BIT(13),
> -	MAC_50000FD	= BIT(14),
> -	MAC_56000FD	= BIT(15),
> -	MAC_80000FD	= BIT(16),
> -	MAC_100000FD	= BIT(17),
> -	MAC_200000FD	= BIT(18),
> -	MAC_400000FD	= BIT(19),
> +	MAC_2500FD	= BIT(9),
> +	MAC_5000FD	= BIT(10),
> +	MAC_10000FD	= BIT(11),
> +	MAC_20000FD	= BIT(12),
> +	MAC_25000FD	= BIT(13),
> +	MAC_40000FD	= BIT(14),
> +	MAC_50000FD	= BIT(15),
> +	MAC_56000FD	= BIT(16),
> +	MAC_80000FD	= BIT(17),
> +	MAC_100000FD	= BIT(18),
> +	MAC_200000FD	= BIT(19),
> +	MAC_400000FD	= BIT(20),
>  };
>  
>  static inline bool phylink_autoneg_inband(unsigned int mode)
> 


  reply	other threads:[~2026-12-05  8:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05  4:00 [PATCH net-next v2 0/4] net: add Giga Lite (500baseT2) support for RTL8168H/EP/FP Hee-Suk Kim
2026-12-05  4:00 ` [PATCH net-next v2 1/4] net: ethtool: add 500baseT2 link mode Hee-Suk Kim
2026-12-05  8:18   ` Maxime Chevallier
2026-12-05  4:00 ` [PATCH net-next v2 2/4] net: phylink: add MAC_500FD Hee-Suk Kim
2026-12-05  8:19   ` Maxime Chevallier [this message]
2026-12-05  4:00 ` [PATCH net-next v2 3/4] net: phy: realtek: add Giga Lite support Hee-Suk Kim
2026-12-05  4:00 ` [PATCH net-next v2 4/4] r8169: enable Giga Lite on RTL8168H/EP/FP Hee-Suk Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e912124-c7a0-41a5-b859-b5225384050b@bootlin.com \
    --to=maxime.chevallier@bootlin.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=bjorn@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=horms@kernel.org \
    --cc=hskim@dilluti0n.com \
    --cc=javen_xu@realsil.com.cn \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=nic_swsd@realtek.com \
    --cc=pabeni@redhat.com \
    --cc=willemb@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox