Re: [PATCH net-next 1/7] net: sparx5: do some preparation work

From: Russell King (Oracle)
Date: Fri Nov 08 2024 - 06:18:37 EST


On Wed, Nov 06, 2024 at 08:16:39PM +0100, Daniel Machon wrote:
> @@ -134,6 +134,9 @@ enum sparx5_feature {
>
> #define SPARX5_MAX_PTP_ID 512
>
> +#define SPX5_ETYPE_TAG_C 0x8100

Maybe at some point consider using ETH_P_8021Q which is defined in
uapi/linux/if_ether.h ?

> +#define SPX5_ETYPE_TAG_S 0x88a8

Maybe also consider adding ETH_P_8021AD to uapi/linux/if_ether.h ?

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!