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

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

net: usbnet: Add flow control for UL path to IPA



Implements a queueing mechanism to buffer packets
if IPA does not have free descriptors on UL path.
Packets are only dropped if we run out of free
elements on the queue. This flow control mechanism
is needed to avoid unrecoverable IPA side failures
if we continuously sends packets when IPA is out
of descriptors. Also, do not recycle rx urb in
interrupt context. This is causing memory allocation
failure for high throughput use case.

Crs-Fixed: 867682
Change-Id: I2f4755a039f21e7f533c1a6969a2246b96624011
Signed-off-by: default avatarDevdutt Patnaik <dpatnaik@codeaurora.org>
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent f499fca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment