From: Larry Finger Date: Tue, 29 Oct 2013 22:06:41 +0000 (-0500) Subject: rtl8187: Increase RX queue depth X-Git-Tag: v4.0~2533^2~482^2^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b0fa73d1e85b4e4aa6b5281e4438b5180d261bb;p=platform%2Fkernel%2Flinux-amlogic.git rtl8187: Increase RX queue depth Under heavy load, the relatively small number of RX queue entries are completely filled. With an increase from 16 to 32 entries, this condition rarely happens. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rtl818x/rtl8187/dev.c b/drivers/net/wireless/rtl818x/rtl8187/dev.c index 9a6edb0..ec9aa5b 100644 --- a/drivers/net/wireless/rtl818x/rtl8187/dev.c +++ b/drivers/net/wireless/rtl818x/rtl8187/dev.c @@ -416,7 +416,7 @@ static int rtl8187_init_urbs(struct ieee80211_hw *dev) struct rtl8187_rx_info *info; int ret = 0; - while (skb_queue_len(&priv->rx_queue) < 16) { + while (skb_queue_len(&priv->rx_queue) < 32) { skb = __dev_alloc_skb(RTL8187_MAX_RX, GFP_KERNEL); if (!skb) { ret = -ENOMEM;