mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 671bc68ac0d6d1e97bb0838746632e0ecefa2205 Mon Sep 17 00:00:00 2001
|
|
From: Raveendran Somu <raveendran.somu@cypress.com>
|
|
Date: Tue, 11 Sep 2018 19:06:06 -0500
|
|
Subject: [PATCH 008/179] non-upstream: Changes to improve USB Tx throughput
|
|
|
|
The inbound buffer been duplicated and returned to
|
|
the upper layer to increase the througput.
|
|
|
|
Below the improvement observed in different traffic
|
|
UDP Rx UDP Tx TCP Rx TCP Tx
|
|
237 138 161 71 Without Tx improvement
|
|
238 155 162 137 With Tx improvement
|
|
|
|
Signed-off-by: Raveendran Somu <raveendran.somu@cypress.com>
|
|
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
|
|
---
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
|
|
index 9fb68c2dc7e3..2e2280e76e70 100644
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
|
|
@@ -638,6 +638,7 @@ static int brcmf_usb_tx(struct device *dev, struct sk_buff *skb)
|
|
goto fail;
|
|
}
|
|
|
|
+ skb_orphan(skb);
|
|
req->skb = skb;
|
|
req->devinfo = devinfo;
|
|
usb_fill_bulk_urb(req->urb, devinfo->usbdev, devinfo->tx_pipe,
|
|
--
|
|
2.17.1
|
|
|