diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-03-17 13:59:13 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-26 00:42:21 +0400 |
commit | 872de8ff04922e4ad95c5af39131ae9fbefe6ac5 (patch) | |
tree | d5ed761d0826faffc1afa7fc2a07dabd5a8ca586 /drivers/net/wireless/rtlwifi/usb.h | |
parent | 2ed79f38c4a2d63f8665b3e0d920d09ab5fa880b (diff) | |
download | linux-872de8ff04922e4ad95c5af39131ae9fbefe6ac5.tar.xz |
rtlwifi: usb: use usb_alloc_coherent for RX buffers
Use dedicated DMA coherent buffers for RX urbs, to avoid allocation of large
skbuffs in hard-irq context and improve performance.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/usb.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/usb.h b/drivers/net/wireless/rtlwifi/usb.h index fb986f98d1df..22d7c68258ec 100644 --- a/drivers/net/wireless/rtlwifi/usb.h +++ b/drivers/net/wireless/rtlwifi/usb.h @@ -141,6 +141,7 @@ struct rtl_usb { u32 rx_max_size; /* Bulk IN max buffer size */ u32 rx_urb_num; /* How many Bulk INs are submitted to host. */ struct usb_anchor rx_submitted; + struct usb_anchor rx_cleanup_urbs; void (*usb_rx_segregate_hdl)(struct ieee80211_hw *, struct sk_buff *, struct sk_buff_head *); void (*usb_rx_hdl)(struct ieee80211_hw *, struct sk_buff *); |