Skip to content

ftgmac100: Rework batch 4 - Misc

Benjamin Herrenschmidt netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 2 repliesIn review
  2. v110 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ftgmac100: Upgrade to NETIF_F_HW_CSUMdrivers/net/ethernet/faraday/ftgmac100.c+25 -150 replies
2/10ftgmac100: Use device "compatible" property, not machine.arch/arm/boot/dts/aspeed-g4.dtsi arch/arm/boot/dts/aspeed-g5.dtsi drivers/net/ethernet/faraday/ftgmac100.c+13 -110 replies
3/10ftgmac100: Disable HW checksum generation on AST2400, enable on othersarch/arm/boot/dts/aspeed-g4.dtsi arch/arm/boot/dts/aspeed-g5.dtsi drivers/net/ethernet/faraday/ftgmac100.c+6 -100 replies
4/10ftgmac100: Set netdev->hw_featuresdrivers/net/ethernet/faraday/ftgmac100.c+4 -30 replies
5/10ftgmac100: Rename ftgmac100_set_mac to ftgmac100_write_mac_addrdrivers/net/ethernet/faraday/ftgmac100.c+3 -30 replies
6/10ftgmac100: Rename ftgmac100_setup_mac to ftgmac100_initial_macdrivers/net/ethernet/faraday/ftgmac100.c+2 -20 replies
7/10ftgmac100: Open code remaining register writesdrivers/net/ethernet/faraday/ftgmac100.c+20 -330 replies
8/10ftgmac100: Add more register inits in ftgmac100_init_hw()drivers/net/ethernet/faraday/ftgmac100.c+36 -00 replies
9/10ftgmac100: Make ring sizes configurable via ethtooldrivers/net/ethernet/faraday/ftgmac100.c+148 -560 replies
10/10ftgmac100: Set default ring sizes to 128 entriesdrivers/net/ethernet/faraday/ftgmac100.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/10] ftgmac100: Rework batch 4 - Misc

This is v2 of the fourth batch of updates to the ftgmac100 driver.

This is a bunch of misc cleanups and fixes, such as properly disabling HW checksum generation on AST2400 where it's known to be broken and some chip init updates.

This also adds the ability to turn HW checksum on/off and configure the ring sizes via ethtool.

v2 Fixes patch 1/10 (NETIF_F_HW_CSUM conversion)

The next (and last) batch will add a few more "features" such as netpoll, multicast/promist, vlan offload...