net: stmmac: xgmac: show more MAC HW features in debugfs
authorFurong Xu <0x1207@gmail.com>
Fri, 11 Aug 2023 12:51:39 +0000 (20:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2023 07:09:00 +0000 (08:09 +0100)
commit58c1e0bace590715fe22489c06dd4610c1ba50ba
treeff35fcac02a455c12597ee04b0be3b4fa6e62974
parenta9142847b7c27c0a9f4fb071517857a329435e0d
net: stmmac: xgmac: show more MAC HW features in debugfs

1. Show TSSTSSEL(Timestamp System Time Source),
ADDMACADRSEL(additional MAC addresses), SMASEL(SMA/MDIO Interface),
HDSEL(Half-duplex Support) in debugfs.
2. Show exact number of additional MAC address registers for XGMAC2 core.
3. XGMAC2 core does not have different IP checksum offload types, so just
show rx_coe instead of rx_coe_type1 or rx_coe_type2.
4. XGMAC2 core does not have rxfifo_over_2048 definition, skip it.

Signed-off-by: Furong Xu <0x1207@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c