[PATCH net-next v2 0/3] net: stmmac: fpe: pmac and fprq fixes
| Newsgroups | org.kernel.vger.netdev,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260803032358.16282-1-muhammad.nazim.amirul.nazle.asmade@altera.com> |
From: Nazim Amirul <[email protected]> Three fixes for the stmmac FPE implementation: - Keep pmac_enabled true in DWMAC since the preemptive MAC is always on, enforce this in set_mm(), and guard set_mm() with fpesel check - Fix missing return in stmmac_fpe_init() when FPE is unsupported - Move fprq configuration to stmmac_fpe_configure_pmac() where it belongs v2: - Drop u32_replace_bits() in patch 3; fprq_mask is not a compile-time constant and triggered __bad_mask on x86 builds. Keep the open-coded mask/shift update instead. - Collect Reviewed-by from Maxime Chevallier. Nazim Amirul (3): net: stmmac: fpe: Enforce pmac_enabled in set_mm and keep it on at init net: stmmac: fpe: Add missing return in stmmac_fpe_init() net: stmmac: fpe: Move fprq configuration to stmmac_fpe_configure_pmac() .../ethernet/stmicro/stmmac/stmmac_ethtool.c | 7 +++++ .../net/ethernet/stmicro/stmmac/stmmac_fpe.c | 34 +++++++++++++------- 2 files changed, 29 insertions(+), 12 deletions(-) -- 2.43.7