Thread (4 messages) flat view 4 messages, 1 author, 1d ago
WARM1d

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH net-next v2 0/3] net: stmmac: fpe: pmac and fprq fixes

From: <hidden>
Date: 2026-08-03 03:24:22
Also in: linux-arm-kernel, lkml

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help