Skip to content

net: eth: am65-cpsw: add ethtool MAC stats

Roger Quadros lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied 4/4
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: ethernet: am65-cpsw: Add standard Ethernet MAC stats to ethtooldrivers/net/ethernet/ti/am65-cpsw-ethtool.c+26 -00 repliesApplied
2/4net: ethernet: ti: am65-cpsw: Re-arrange functions to avoid forward declarationdrivers/net/ethernet/ti/am65-cpsw-nuss.c+71 -741 replyApplied
3/4net: ethernet: am65-cpsw: Set default TX channels to maximumdrivers/net/ethernet/ti/am65-cpsw-nuss.c+3 -10 repliesApplied
4/4net: ethernet: ti: am65-cpsw: Fix error handling in am65_cpsw_nuss_common_open()drivers/net/ethernet/ti/am65-cpsw-nuss.c+39 -90 repliesApplied

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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

Signature · 1 line
2.34.1