Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcf28d06 authored by Devdutt Patnaik's avatar Devdutt Patnaik Committed by Azhar Shaikh
Browse files

net: usbnet: Increase USB RX/TX qlen and IPA descriptor counts



Increase USB RX/TX qlens to improve TCP DL tput. In the case of
HSUSB the default qlen of 60 is inadequate as it results in
packet drops when IPA sends data at a high rate. This results
in TCP window collapse and poor tput. Also increase IPA UL
descriptor counts for better UL performance. This will help
improve TCP ACK performance for the DL case.

CRs-Fixed: 886212
Signed-off-by: default avatarDevdutt Patnaik <dpatnaik@codeaurora.org>
Change-Id: Iab583857a9e578bceed528a0348235abf367c78c
parent f205162c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@
 * more before an irq is required, under load.  Jumbograms change
 * the equation.
 */
#define	MAX_QUEUE_MEMORY	(60 * 1518)
#define	MAX_QUEUE_MEMORY	(600 * 1518)
#define	RX_QLEN(dev)		((dev)->rx_qlen)
#define	TX_QLEN(dev)		((dev)->tx_qlen)

+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@

#include <linux/ipa.h>

#define USBNET_IPA_SYS_PIPE_MAX_PKTS_DESC 160
#define USBNET_IPA_SYS_PIPE_MAX_PKTS_DESC 200
#define USBNET_IPA_SYS_PIPE_MIN_PKTS_DESC 5
#define USBNET_IPA_SYS_PIPE_DNE_PKTS (USBNET_IPA_SYS_PIPE_MAX_PKTS_DESC*2)