summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorFaizal Rahim <faizal.abdul.rahim@linux.intel.com>2025-03-18 06:07:29 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-04-18 18:43:09 +0300
commitb375984f0df0ed5a45e8e9dc5600d6666cdb92e7 (patch)
tree7f0ecf7a1028e5fd3664e5992384835d41f55732 /drivers/net/ethernet/intel/igc/igc_main.c
parent8066e388be48f1ad62b0449dc1d31a25489fa12a (diff)
downloadlinux-b375984f0df0ed5a45e8e9dc5600d6666cdb92e7.tar.xz
net: stmmac: move frag_size handling out of spin_lock
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@linux.intel.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Furong Xu <0x1207@gmail.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions