Skip to content

atl1: add napi to Atheros L1 NIC

Tony Zelenoff netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9atl1: handle rx in separate conditiondrivers/net/ethernet/atheros/atlx/atl1.c+10 -90 replies
2/9atl1: make driver napi compatibledrivers/net/ethernet/atheros/atlx/atl1.c drivers/net/ethernet/atheros/atlx/atl1.h+41 -62 replies
3/9atl1: add napi process of tx interruptsdrivers/net/ethernet/atheros/atlx/atl1.c+16 -110 replies
4/9atl1: use defined functions to disable irqdrivers/net/ethernet/atheros/atlx/atl1.c+3 -30 replies
5/9atl1: make function to set imr of carddrivers/net/ethernet/atheros/atlx/atlx.c+9 -40 replies
6/9atl1: add value to check ability of reenabling IRQsdrivers/net/ethernet/atheros/atlx/atl1.h drivers/net/ethernet/atheros/atlx/atlx.c+8 -00 replies
7/9atl1: enable errors and link ints when rx/tx scheduleddrivers/net/ethernet/atheros/atlx/atl1.c drivers/net/ethernet/atheros/atlx/atl1.h+29 -130 replies
8/9atl1: do not process interrupts in cycle in handlerdrivers/net/ethernet/atheros/atlx/atl1.c+48 -570 replies
9/9atl1: do not drop rx/tx interrupts before they are scheduleddrivers/net/ethernet/atheros/atlx/atl1.c+10 -40 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/9] atl1: add napi to Atheros L1 NIC

Added NAPI interface to the driver of Atheros L1 NIC. RX speed reported by iperf in TCP mode (with and without -N switch) improved by ~7 Mbps. In UDP mode the speed up is improved by ~4 Mbps.
Also hard RX/TX rings processing with memory allocation in interrupt handlers is not very good idea. So, fixed this.

Note: thouse patches must be applied after patch, that fix kernel panic in this driver.
Its subject is: "atl1: fix kernel panic in case of DMA errors"

Tony Zelenoff (9):
atl1: handle rx in separate condition
atl1: make driver napi compatible
atl1: add napi process of tx interrupts
atl1: use defined functions to disable irq
atl1: make function to set imr of card
atl1: add value to check ability of reenabling IRQs
atl1: enable errors and link ints when rx/tx scheduled
atl1: do not process interrupts in cycle in handler
atl1: do not drop rx/tx interrupts before they are scheduled

 drivers/net/ethernet/atheros/atlx/atl1.c |  171 +++++++++++++++++++-----------
 drivers/net/ethernet/atheros/atlx/atl1.h |   17 +++-
 drivers/net/ethernet/atheros/atlx/atlx.c |   15 ++-
 3 files changed, 135 insertions(+), 68 deletions(-)