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:
Talel Shenhar <tatias@codeaurora.org>
Loading
Please register or sign in to comment