rtlwifi: usb: use usb_alloc_coherent for RX buffers
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 17 Mar 2013 09:59:13 +0000 (11:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Mar 2013 20:42:21 +0000 (16:42 -0400)
commit872de8ff04922e4ad95c5af39131ae9fbefe6ac5
treed5ed761d0826faffc1afa7fc2a07dabd5a8ca586
parent2ed79f38c4a2d63f8665b3e0d920d09ab5fa880b
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>
drivers/net/wireless/rtlwifi/usb.c
drivers/net/wireless/rtlwifi/usb.h