Skip to content

Staging: Improvments to Octeon Ethernet driver (second attempt).

David Daney linux-mips netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7MIPS: Octeon: Fix EIO handling.arch/mips/cavium-octeon/octeon-irq.c+34 -65 replies
2/7Staging: Octeon Ethernet: Remove unused code.drivers/staging/octeon/ethernet-defines.h drivers/staging/octeon/ethernet-mem.c drivers/staging/octeon/ethernet-rx.c +3 more+55 -2840 replies
3/7Staging: Octeon Ethernet: Fix memory allocation.drivers/staging/octeon/ethernet-mem.c drivers/staging/octeon/ethernet-tx.c+9 -110 replies
4/7Staging: Octeon Ethernet: Rewrite transmit code.drivers/staging/octeon/Kconfig drivers/staging/octeon/ethernet-tx.c drivers/staging/octeon/ethernet-tx.h +2 more+150 -1230 replies
5/7Staging: Octeon Ethernet: Convert to NAPI.drivers/staging/octeon/ethernet-defines.h drivers/staging/octeon/ethernet-rx.c drivers/staging/octeon/ethernet-rx.h +2 more+235 -1630 replies
6/7Staging: Octeon Ethernet: Enable scatter-gather.drivers/staging/octeon/ethernet-tx.c drivers/staging/octeon/ethernet.c+55 -90 replies
7/7Staging: Octeon Ethernet: Use constants from in.hdrivers/staging/octeon/ethernet-defines.h drivers/staging/octeon/ethernet-tx.c+4 -73 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] Staging: Improvments to Octeon Ethernet driver (second attempt).

These patches attempt to cleanup and improve the octeon-ethernet driver in staging. The first patch fixes up Octeon interrupt handling in preparation for the following patches. At David Miller's suggestion I have factored the changes into many more individual patches than I had in the first version.

Since Octeon is a MIPS based SOC, we might want to merge the entire series via Ralf's linux-mips.org tree.

I will reply with the seven patches.

David Daney (7):
MIPS: Octeon: Fix EIO handling.
Staging: Octeon Ethernet: Remove unused code.
Staging: Octeon Ethernet: Fix memory allocation.
Staging: Octeon Ethernet: Rewrite transmit code.
Staging: Octeon Ethernet: Convert to NAPI.
Staging: Octeon Ethernet: Enable scatter-gather.
Staging: Octeon Ethernet: Use constants from in.h

 arch/mips/cavium-octeon/octeon-irq.c      |   40 +++-
 drivers/staging/octeon/Kconfig            |    1 +
 drivers/staging/octeon/ethernet-defines.h |   31 ---
 drivers/staging/octeon/ethernet-mem.c     |   89 ++-----
 drivers/staging/octeon/ethernet-rx.c      |  377 
++++++++++++++++------------
 drivers/staging/octeon/ethernet-rx.h      |   25 ++-
 drivers/staging/octeon/ethernet-tx.c      |  342 
+++++++++++++-------------
 drivers/staging/octeon/ethernet-tx.h      |   27 +--
 drivers/staging/octeon/ethernet.c         |  155 +++++--------
 drivers/staging/octeon/octeon-ethernet.h  |   48 +---
 10 files changed, 537 insertions(+), 598 deletions(-)