rtlwifi: usb: improve RX performance and lower CPU usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | rtlwifi: usb: use usb_alloc_coherent for RX buffersdrivers/ drivers/ | +68 | 0 replies | |
| 2/4 | rtlwifi: usb: remove extra skb copy on RX pathdrivers/ | +4 | 0 replies | |
| 3/4 | rtlwifi: usb: defer rx processing to taskletdrivers/ drivers/ drivers/ | +51 | 0 replies | |
| 4/4 | rtlwifi: usb: add NET_IP_ALIGN padding to RX skb when neededdrivers/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] rtlwifi: usb: improve RX performance and lower CPU usage
Patchset improves RX path handling in rtlwifi/usb.c by:
- change to use preallocated DMA coherent URB buffers.
- kill unnessasary skbuff copies.
- defer RX processing to tasklet.
- add proper alignment of skbuff early on.
With this patchset IRQ CPU usage drops from 37% to 25% on ARM system with 1Ghz Cortex-A8, when doing large transfer with rtl8192cu. Tranfer speed appears to be slightly improved too, from 29Mbit to 31Mbit.
---
Jussi Kivilinna (4):
rtlwifi: usb: use usb_alloc_coherent for RX buffers
rtlwifi: usb: remove extra skb copy on RX path
rtlwifi: usb: defer rx processing to tasklet
rtlwifi: usb: add NET_IP_ALIGN padding to RX skb when needed
drivers/net/wireless/rtlwifi/rtl8192cu/trx.c | 2 drivers/net/wireless/rtlwifi/usb.c | 220 ++++++++++++++++++-------- drivers/net/wireless/rtlwifi/usb.h | 5 - 3 files changed, 156 insertions(+), 71 deletions(-)