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

Skip to content
Commit e93578bd authored by Saket Saurabh's avatar Saket Saurabh
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>
parent 27c6afde
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