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

Commit b9939e0e authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

net: Flush GRO list when input packet queue is empty



Commit 11ef7a89 ("net: Performance fix for process_backlog")
modifies process_backlog() to no longer check for new packets once
either quota is met or input_pkt_queue is empty.
As a result, the napi_gro_flush() added by Commit I05bde8bb00c4ec
("net: adding API to get the current NAPI context") was no longer
taking effect. This was causing TCP timeouts to occur often and
TCP was getting stuck in slow start since the GRO list was not
getting flushed.

Fix this by calling napi_gro_flush when the input_pkt_queue is
determined to be empty.

CRs-fixed: 871247
Change-Id: I9f2ede25d1cbe89e970d65a2843958385803563c
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 35afb780
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