Re: [PATCH net-next v8 1/6] Add 25GMAC core type to dwmac_core_type enum

From: Jitendra Vegiraju

Date: Wed Mar 25 2026 - 16:28:34 EST


On Mon, Mar 23, 2026 at 7:55 AM Simon Horman <horms@xxxxxxxxxx> wrote:
>
> On Fri, Mar 20, 2026 at 02:19:16PM -0700, Jitendra Vegiraju wrote:
> > From: Jitendra Vegiraju <jitendra.vegiraju@xxxxxxxxxxxx>
> >
> > The DW25GMAC is a newer ethernet MAC IP block from Synopsys that introduced
> > new DMA architecure called Hyper-DMA. Define a new dwmac_core_type
> > enum in include/linux/stmmac.h file.
> >
> > Signed-off-by: Jitendra Vegiraju <jitendra.vegiraju@xxxxxxxxxxxx>
> > ---
> > include/linux/stmmac.h | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
> > index 72febd246bdb..464f4f2e366a 100644
> > --- a/include/linux/stmmac.h
> > +++ b/include/linux/stmmac.h
> > @@ -197,6 +197,7 @@ enum dwmac_core_type {
> > DWMAC_CORE_GMAC,
> > DWMAC_CORE_GMAC4,
> > DWMAC_CORE_XGMAC,
> > + DWMAC_CORE_25GMAC,
> > };
>
> Hi Jitendra,
>
> W=1 builds warn that this new enum value is not handled in
> the switch statement in stmmac_print_actphyif()
>
> This seems to be addressed in patch 2/6.
> And I would suggest squashing this patch into that one.
>
Hi Simon,
Thanks for the suggestion, I will squash patches 1/6 and 2/6.
> --
> pw-bot: changes-requested

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature