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

Skip to content
Commit c146e277 authored by Talel Shenhar's avatar Talel Shenhar
Browse files

msm: rndis_ipa: enhanced error handling in Tx data path



This commit adds enhanced support for the scenario
where IPA driver Tx data path function is failing.
Before this change, in case Tx function failed, the netdev
logic did a sending retry for the packet (busy-wait style).
This commit adds a sleep for the Tx retry based
on global workqueue.
The sleep period can be dynamically configured through
debugfs entry called rndis_ipa/error_msec_sleep_time.
Another debugfs entry called  rndis_ipa/during_xmit_error can
be used to check if the netdev is currently in error
handling scenario.

Change-Id: Ieec6c496ddf59c02d16495a06ff4bfcadf338ac9
Signed-off-by: default avatarTalel Shenhar <tatias@codeaurora.org>
parent 578146c5
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