Re: [Intel-wired-lan] [PATCH iwl-next v9 03/14] net: ethtool: mm: reset verification status when link is down

2025-03-09 Thread Furong Xu
set the reported verification state while the link is down > */ > + if (mmsv->verify_enabled) > + mmsv->status = ETHTOOL_MM_VERIFY_STATUS_INITIAL; > + > /* No link or pMAC not enabled */ > ethtool_mmsv_configure_pmac(mmsv, false); > ethtool_mmsv_configure_tx(mmsv, false); Reviewed-by: Furong Xu <0x1...@gmail.com>

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

2025-03-05 Thread Furong Xu
/ > timer_shutdown_sync(&fpe_cfg->verify_timer); > > @@ -1271,7 +1273,6 @@ static int stmmac_set_mm(struct net_device *ndev, > struct ethtool_mm_cfg *cfg, > if (!cfg->verify_enabled) > fpe_cfg->status = ETHTOOL_MM_VERIFY_STATUS_DISABLED; > > - stmmac_fpe_set_add_frag_size(priv, frag_size); > stmmac_fpe_apply(priv); > > spin_unlock_irqrestore(&fpe_cfg->lock, flags); Reviewed-by: Furong Xu <0x1...@gmail.com>

Re: [Intel-wired-lan] [PATCH iwl-next v5 1/9] net: ethtool: mm: extract stmmac verification logic into common library

2025-02-22 Thread Furong Xu
On Wed, 19 Feb 2025 21:53:41 -0500, Faizal Rahim wrote: > @@ -1258,23 +1236,8 @@ static int stmmac_set_mm(struct net_device *ndev, > struct ethtool_mm_cfg *cfg, > if (err) > return err; > > - /* Wait for the verification that's currently in progress to finish */ > -

Re: [Intel-wired-lan] [PATCH iwl-next v5 1/9] net: ethtool: mm: extract stmmac verification logic into common library

2025-02-21 Thread Furong Xu
ot;max-verify-time": 128, "verify-status": "DISABLED", "statistics": { "MACMergeFrameAssErrorCount": 0, "MACMergeFrameSmdErrorCount": 0, "MACMergeFrameAssOk

Re: [Intel-wired-lan] [PATCH iwl-next v5 1/9] net: ethtool: mm: extract stmmac verification logic into common library

2025-02-21 Thread Furong Xu
On Fri, 21 Feb 2025 11:56:51 +0200, Vladimir Oltean wrote: > On Fri, Feb 21, 2025 at 05:42:49PM +0800, Furong Xu wrote: > > > +void ethtool_mmsv_link_state_handle(struct ethtool_mmsv *mmsv, bool up) > > > +{ > > > + unsigned long flags; > >

Re: [Intel-wired-lan] [PATCH iwl-next 6/9] igc: Add support for frame preemption verification

2024-12-17 Thread Furong Xu
got stmmac to do something fairly clean, with the help and > great perseverence of Furong Xu (now copied). > > I spent a bit of time extracting stmmac's core logic and putting it in > ethtool. If Furong had such good will so as to regression-test the > attached patch, do you t