mbox series

[v8,net-next,00/11] net: ethernet: am65-cpsw: Add mqprio, frame pre-emption & coalescing

Message ID 20231213110721.69154-1-rogerq@kernel.org (mailing list archive)
Headers show
Series net: ethernet: am65-cpsw: Add mqprio, frame pre-emption & coalescing | expand

Message

Roger Quadros Dec. 13, 2023, 11:07 a.m. UTC
Hi,

This series adds mqprio qdisc offload in channel mode,
Frame Pre-emption MAC merge support and RX/TX coalesing
for AM65 CPSW driver.

In v8 following changes were made
- added a new selftest patch to use aggregate stats if
   pMAC stats are not supported.
- added a patch to rename TI_AM65_CPSW_TAS to TI_AM65_CPSW_QOS
   is added.
- added a patch to fix mac stats reporting. we only support
   aggregate stats.
- build issues if TI_AM65_CPSW_TAS is disabled is resolved.
- selftest patches are moved to the beginning of the series.

Changelog information in each patch file.

cheers,
-roger

Grygorii Strashko (2):
  net: ethernet: ti: am65-cpsw: add mqprio qdisc offload in channel mode
  net: ethernet: ti: am65-cpsw: add sw tx/rx irq coalescing based on
    hrtimers

Roger Quadros (7):
  net: ethernet: am65-cpsw: Build am65-cpsw-qos only if required
  net: ethernet: am65-cpsw: Rename TI_AM65_CPSW_TAS to TI_AM65_CPSW_QOS
  net: ethernet: am65-cpsw: cleanup TAPRIO handling
  net: ethernet: ti: am65-cpsw: Move code to avoid forward declaration
  net: ethernet: am65-cpsw: Move register definitions to header file
  net: ethernet: ti: am65-cpsw-qos: Add Frame Preemption MAC Merge
    support
  net: ethernet: ti: am65-cpsw: Fix get_eth_mac_stats

Vladimir Oltean (2):
  selftests: forwarding: ethtool_mm: support devices with higher
    rx-min-frag-size
  selftests: forwarding: ethtool_mm: fall back to aggregate if device
    does not report pMAC stats

 drivers/net/ethernet/ti/Kconfig               |  14 +-
 drivers/net/ethernet/ti/Makefile              |   3 +-
 drivers/net/ethernet/ti/am65-cpsw-ethtool.c   | 249 ++++++
 drivers/net/ethernet/ti/am65-cpsw-nuss.c      |  64 +-
 drivers/net/ethernet/ti/am65-cpsw-nuss.h      |   9 +
 drivers/net/ethernet/ti/am65-cpsw-qos.c       | 708 +++++++++++++-----
 drivers/net/ethernet/ti/am65-cpsw-qos.h       | 186 +++++
 .../selftests/net/forwarding/ethtool_mm.sh    |  48 +-
 tools/testing/selftests/net/forwarding/lib.sh |   9 +
 9 files changed, 1103 insertions(+), 187 deletions(-)


base-commit: 70028b2e51c61d8dda0a31985978f4745da6a11b