[PATCH iwl-next v8 01/11] net: stmmac: move frag_size handling out of spin_lock

Vladimir Oltean vladimir.oltean at nxp.com
Wed Mar 5 14:30:29 PST 2025


On Wed, Mar 05, 2025 at 08:00:16AM -0500, Faizal Rahim wrote:
> The upcoming patch will extract verification logic into a new module,
> MMSV (MAC Merge Software Verification). MMSV will handle most FPE fields,
> except frag_size. It introduces its own lock (mmsv->lock), replacing
> fpe_cfg->lock.
> 
> Since frag_size handling remains in the driver, the existing rtnl_lock()
> is sufficient. Move frag_size handling out of spin_lock_irq_save() to keep
> the upcoming patch a pure refactoring without behavior changes.
> 
> Signed-off-by: Faizal Rahim <faizal.abdul.rahim at linux.intel.com>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean at nxp.com>



More information about the linux-arm-kernel mailing list