From: Nazim Amirul <redacted>
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, using u32_replace_bits() to simplify the update
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 | 30 ++++++++++++-------
2 files changed, 26 insertions(+), 11 deletions(-)
--
2.43.7