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:Saket Saurabh <ssaurabh@codeaurora.org> Signed-off-by:
Ajay Agarwal <ajaya@codeaurora.org>
Loading
Please register or sign in to comment