Re: [PATCH net-next v5 1/5] ethtool: introduce core UAPI and driver API for PHY MSE diagnostics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Sep 2025 12:21:11 +0200 Oleksij Rempel wrote:
> > > All investigated devices differ in MSE configuration parameters, such
> > > as sample rate, number of analyzed symbols, and scaling factors.
> > > For example, the KSZ9131 uses different scaling for MSE and pMSE.
> > > To make this visible to userspace, scale limits and timing information
> > > are returned via get_mse_config().  
> > 
> > But the parameter set is set by the standard? If not we should annotate
> > which one is and which isn't.  
> 
> Do you mean we should show which parameters are defined by a standard
> (for example Open-Alliance - MSE/pMSE) or which parts of the measurement
> method - like how many samples in what time - are vendor or product
> specific?

Yes. Your call if it really makes sense, but if we have a mix it's good
to mention which ones are safe(r) to depend on in mixed environments.
One way to do this would be to annotate the standard ones with standard
references but doesn't seem like the OA standard lends itself to
concise ways of referring to it (like IEEE standards do).

> And should we only write this in comments/docs, or add a flag/enum so
> user space can detect it?

Just comments/docs




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux