From: Jussi Kivilinna <jussi.kivilinna@iki.fi>
To: linux-wireless@vger.kernel.org
Cc: Chaoming Li <chaoming_li@realsil.com.cn>,
"John W. Linville" <linville@tuxdriver.com>,
Larry Finger <Larry.Finger@lwfinger.net>
Subject: [PATCH 0/4] rtlwifi: usb: improve RX performance and lower CPU usage
Date: Sun, 17 Mar 2013 11:59:08 +0200 [thread overview]
Message-ID: <20130317095831.24983.97107.stgit@localhost6.localdomain6> (raw)
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(-)
next reply other threads:[~2013-03-17 9:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-17 9:59 Jussi Kivilinna [this message]
2013-03-17 9:59 ` [PATCH 1/4] rtlwifi: usb: use usb_alloc_coherent for RX buffers Jussi Kivilinna
2013-03-17 9:59 ` [PATCH 2/4] rtlwifi: usb: remove extra skb copy on RX path Jussi Kivilinna
2013-03-17 9:59 ` [PATCH 3/4] rtlwifi: usb: defer rx processing to tasklet Jussi Kivilinna
2013-03-17 9:59 ` [PATCH 4/4] rtlwifi: usb: add NET_IP_ALIGN padding to RX skb when needed Jussi Kivilinna
2013-04-03 17:16 ` [PATCH 0/4] rtlwifi: usb: improve RX performance and lower CPU usage Jussi Kivilinna
2013-04-03 17:32 ` John W. Linville
2013-04-03 19:19 ` Jussi Kivilinna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130317095831.24983.97107.stgit@localhost6.localdomain6 \
--to=jussi.kivilinna@iki.fi \
--cc=Larry.Finger@lwfinger.net \
--cc=chaoming_li@realsil.com.cn \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox