Skip to content

net/macb: driver enhancement concerning GEM support, ring logic and cleanup

Nicolas Ferre linux-arm-kernel lkml netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 2 repliesIn review
  2. v310 patches 10 repliesSuperseded
  3. v29 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v110 patches10 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net/macb: Add support for Gigabit Ethernet modedrivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+16 -30 replies
2/10net/macb: memory barriers cleanupdrivers/net/ethernet/cadence/macb.c+14 -40 replies
3/10net/macb: change debugging messagesdrivers/net/ethernet/cadence/macb.c+12 -100 replies
4/10net/macb: remove macb_get_drvinfo()drivers/net/ethernet/cadence/macb.c+0 -110 replies
5/10net/macb: tx status is more than 8 bits nowdrivers/net/ethernet/cadence/macb.c+1 -10 replies
6/10net/macb: clean up ring buffer logicdrivers/net/ethernet/cadence/at91_ether.c drivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+127 -730 replies
7/10net/macb: ethtool interface: add register dump featuredrivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+43 -00 replies
8/10net/macb: better manage tx errorsdrivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+113 -540 replies
9/10net/macb: Offset first RX buffer by two bytesdrivers/net/ethernet/cadence/macb.c+16 -70 replies
10/10net/macb: add pinctrl consumer supportdrivers/net/ethernet/cadence/macb.c+11 -00 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJoachim EastwoodBen HutchingsJean-Christophe PLAGNIOL-VILLARD
SeriesA-b
1/10T-b
2/10T-b
3/10T-b
4/10T-b R-b
5/10T-b
6/10T-b
7/10T-b R-b
8/10T-b
9/10T-b
10/10T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/10] net/macb: driver enhancement concerning GEM support, ring logic and cleanup

This is an enhancement work that began several years ago. I try to catchup with some performance improvement that has been implemented then by Havard. The ring index logic and the TX error path modification are the biggest changes but some cleanup/debugging have been added along the way.
The GEM revision will benefit from the Gigabit support.
Newer pinctrl infrastructure support is added but it is optional.

The series has been tested on several Atmel AT91 SoC with the two MACB/GEM flavors.

v4: - remove unneeded device tree header includes
- modified the computation of available entries in ring buffer
v3: - rebased on net-next to take into account current effor to merge
at91_ether with macb drivers
- add additional patch to use the new pinctrl infrastructure
v2: - modify the tx error handling: now uses a workqueue
- information provided by ethtool -i were not accurate: removed

Havard Skinnemoen (4):
net/macb: memory barriers cleanup
net/macb: change debugging messages
net/macb: clean up ring buffer logic
net/macb: Offset first RX buffer by two bytes

Jean-Christophe PLAGNIOL-VILLARD (1):
net/macb: add pinctrl consumer support

Nicolas Ferre (4):
net/macb: remove macb_get_drvinfo()
net/macb: tx status is more than 8 bits now net/macb: ethtool interface: add register dump feature net/macb: better manage tx errors

Patrice Vilchez (1):
net/macb: Add support for Gigabit Ethernet mode

 drivers/net/ethernet/cadence/at91_ether.c |   6 +-
 drivers/net/ethernet/cadence/macb.c       | 448 +++++++++++++++++++++---------
 drivers/net/ethernet/cadence/macb.h       |  30 +-
 3 files changed, 337 insertions(+), 147 deletions(-)
Signature · 1 line
1.8.0