net/macb: add HW features to macb driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 3 repliesIn review
- v16 patches 8 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | net/macb: configure for FIFO mode and non-gigabitdrivers/ drivers/ | +74 | 0 replies | |
| 2/6 | net/macb: add scatter-gather hw featuredrivers/ drivers/ | +240 | 0 replies | |
| 3/6 | net/macb: add TX checksum offload featuredrivers/ | +29 | 0 replies | |
| 4/6 | net/macb: add RX checksum offload featuredrivers/ drivers/ | +51 | 0 replies | |
| 5/6 | ARM: at91: change compatibility string for sama5d3x gemarch/ | +1 | 2 replies | |
| 6/6 | net/macb: enable scatter-gather feature and set DMA burst length for sama5d4 gemdrivers/ | +6 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Cyrille Pitchen |
|---|---|
| 1/6 | A-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.
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