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

Skip to content
Commit 6481d889 authored by Saket Saurabh's avatar Saket Saurabh Committed by Gerrit - the friendly Code Review server
Browse files

u_ether: Add tx_throttle count for rndis performance statistic



Add tx_throttle count which signifies the number of times u_ether
forbid upper layer (network layer) to stop queueing packets to it
when transmit resources with u_ether are unavailable. Keeping the
tx_throttle count would help in getting statistic number of how
many times the network layer was throttled by the u_ether due to
unavailability of free tx_req list.

Also add debugfs entry for getting status and resetting of
tx_throttle.
cat /sys/kernel/debug/uether_rndis/status
echo 0 > /sys/kernel/debug/uether_rndis/status

Change-Id: Ia72494009e33a058060fd6b9441efcd0c136bb8e
Signed-off-by: default avatarSaket Saurabh <ssaurabh@codeaurora.org>
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 2e98d6c8
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