Skip to content

net/macb: add HW features to macb driver

Cyrille Pitchen linux-arm-kernel lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 3 repliesIn review
  2. v16 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/macb: configure for FIFO mode and non-gigabitdrivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+74 -200 replies
2/6net/macb: add scatter-gather hw featuredrivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+240 -520 replies
3/6net/macb: add TX checksum offload featuredrivers/net/ethernet/cadence/macb.c+29 -00 replies
4/6net/macb: add RX checksum offload featuredrivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+51 -40 replies
5/6ARM: at91: change compatibility string for sama5d3x gemarch/arm/boot/dts/sama5d3_gmac.dtsi+1 -12 replies
6/6net/macb: enable scatter-gather feature and set DMA burst length for sama5d4 gemdrivers/net/ethernet/cadence/macb.c+6 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchCyrille Pitchen
1/6A-b
2/6
3/6
4/6
5/6
6/6

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 0/6] net/macb: add HW features to macb driver

Hi,

this series of patches adds new hardware features to macb driver. These features can be enabled/disabled at runtime using ethtool. Depending on hardware and design configuration, some are enabled by default whereas other are disabled.

For instance, checksum offload features are enabled by default for gem designed for packet buffer mode but disabled for fifo mode design or for old macb.

Besides, the scatter-gather feature is enabled and tested on macb but disabled on sama5d3x gem. When testing this feature on sama5d3x gem, TX lockups occured frequently.

Also, the RX checksum offload feature is enabled at GEM level only when both IFF_PROMISC bit is clear in dev->flags and NETIF_F_RXCSUM bit is set in dev->features.

These patches were made for net-next.git repository.

Cyrille Pitchen (5):
net/macb: add scatter-gather hw feature
net/macb: add TX checksum offload feature
net/macb: add RX checksum offload feature
ARM: at91: change compatibility string for sama5d3x gem net/macb: enable scatter-gather feature and set DMA burst length for
sama5d4 gem

Nicolas Ferre (1):
net/macb: configure for FIFO mode and non-gigabit

 arch/arm/boot/dts/sama5d3_gmac.dtsi |   2 +-
 drivers/net/ethernet/cadence/macb.c | 419 ++++++++++++++++++++++++++++++------
 drivers/net/ethernet/cadence/macb.h |  53 ++++-
 3 files changed, 399 insertions(+), 75 deletions(-)
Signature · 1 line
1.8.2.2