rtl8187: Increase RX queue depth
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 29 Oct 2013 22:06:41 +0000 (17:06 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:54:53 +0000 (14:54 -0500)
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 <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187/dev.c

index 9a6edb0c014ec3526c5b4c260b8784cc8fd855d0..ec9aa5b6738171f547dc50a45b977795de133486 100644 (file)
@@ -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;