Skip to content

Implement NAPI in et131x

Mark Einon lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8staging: et131x: Use eth_mac_addr() instead of duplicating the functionalitydrivers/staging/et131x/et131x.c+1 -520 replies
2/8staging: et131x: Don't handle rx/tx packets when changing mtudrivers/staging/et131x/et131x.c+0 -20 replies
3/8staging: et131x: Use for loop to initialise contiguous registers to zerodrivers/staging/et131x/et131x.c+3 -243 replies
4/8staging: et131x: Use for loop to initialise contiguous macstat registers to zerodrivers/staging/et131x/et131x.c drivers/staging/et131x/et131x.h+7 -1482 replies
5/8staging: et131x: Remove unnecessary i2c_wack variabledrivers/staging/et131x/et131x.c+4 -64 replies
6/8staging: et131x: Rename NUM_PACKETS_HANDLED to MAX_PACKETS_HANDLEDdrivers/staging/et131x/et131x.c+3 -30 replies
7/8staging: et131x: Fix ET_INTR_TXDMA_ISR register name typodrivers/staging/et131x/et131x.c+1 -10 replies
8/8staging: et131x: Implement NAPI supportdrivers/staging/et131x/README drivers/staging/et131x/et131x.c+52 -654 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/8] Implement NAPI in et131x

Let's put a NAPI on this baby...

NAPI support was identified by Dave Miller <[email protected]> as a must to get this driver out of staging. This patchset first tidies up the code enough to make adding NAPI easier, and the final patch mostly adds the 'boilerplate' NAPI code as described by:

http://www.linuxfoundation.org/collaborate/workgroups/networking/napi

The code has been tested on hardware, with no issues found to date.

**GregKH** - this patchset is based upon my previous bugfix 'Fix errors caused by phydev->addr accesses' which is currently only on your staging-linus branch, not staging-next - so won't apply cleanly in it's current state. Please let me know if I need to do anything about this.

Cheers,

Mark

---
Mark Einon (8):
staging: et131x: Use eth_mac_addr() instead of duplicating the
functionality
staging: et131x: Don't handle rx/tx packets when changing mtu
staging: et131x: Use for loop to initialise contiguous registers to
zero
staging: et131x: Use for loop to initialise contiguous macstat
registers to zero
staging: et131x: Remove unnecessary i2c_wack variable
staging: et131x: Rename NUM_PACKETS_HANDLED to MAX_PACKETS_HANDLED
staging: et131x: Fix ET_INTR_TXDMA_ISR register name typo
staging: et131x: Implement NAPI support

 drivers/staging/et131x/README   |   1 -
 drivers/staging/et131x/et131x.c | 271 ++++++++++------------------------------
 drivers/staging/et131x/et131x.h |  96 +-------------
 3 files changed, 69 insertions(+), 299 deletions(-)
Signature · 1 line
2.1.0