[PATCH v1 2/2] net: stmmac: mmc_core: Add GMAC mmc tx/rx missing statistics

Minda Chen minda.chen at starfivetech.com
Tue Apr 2 18:41:09 PDT 2024


> 
> On Mon,  1 Apr 2024 10:44:56 +0800 Minda Chen wrote:
> > +	unsigned int mmc_rx_control_g;
> 
> What's control_g?
> If it's number of received control frames it should be reported as
> MACControlFramesReceived from ethtool_ops::get_eth_ctrl_stats.

This is explanations
Rx Control Packets Good
This field indicates the number of good control packets received.

It looks it is number of received control. But I don't know register offset
in designware XGMAC IP.I can't implement ethtool_ops::get_eth_ctrl_stats.
I will delete this first



More information about the linux-arm-kernel mailing list