stmmac: fix PTP type ethtool stats
This patch fixes the ethtool stats for PTP frames; previous version does not take care about some message types: i.e. announce, management and signaling. It also provided a broken statistic in case of "No PTP message received". Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com> Acked-by: NRayagond Kokatanur <rayagond@vayavyalabs.com> Acked-by: NAlexandre TORGUE <alexandre.torgue@st.com> Acked-by: NRichard Cochran <richardcochran@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录