[PATCH v2 net-next 0/4] net: eth: am65-cpsw: add ethtool MAC stats

From: Roger Quadros
Date: Fri Nov 17 2023 - 07:18:06 EST


Hi,

Gets 'ethtool -S eth0 --groups eth-mac' command to work.

Also set default TX channels to maximum available and does
cleanup in am65_cpsw_nuss_common_open() error path.

Changelog:
v2:
- add __iomem to *stats, to prevent sparse warning
- clean up RX descriptors and free up SKB in error handling of
am65_cpsw_nuss_common_open()
- Re-arrange some funcitons to avoid forward declaration

cheers,
-roger

Roger Quadros (4):
net: ethernet: am65-cpsw: Add standard Ethernet MAC stats to ethtool
net: ethernet: ti: am65-cpsw: Re-arrange functions to avoid forward
declaration
net: ethernet: am65-cpsw: Set default TX channels to maximum
net: ethernet: ti: am65-cpsw: Fix error handling in
am65_cpsw_nuss_common_open()

base-commit: 18de1e517ed37ebaf33e771e46faf052e966e163
--
2.34.1