Search Linux Wireless

Re: [PATCH wireless-next] wifi: mac80211: add tx_handlers_drop statistics to ethtool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2025-08-22 at 10:51 +0530, Sarika Sharma wrote:
> Currently tx_handlers_drop statistics are handled only for slow TX
> path and only at radio level. This also requires
> CONFIG_MAC80211_DEBUG_COUNTERS to be enabled to account the dropped
> packets. There is no way to check these stats for fast TX,
> at interface level and monitor without enabling the debug configuration.
> 
> Hence, add a new counter at the sdata level to track packets dropped
> with reason as TX_DROP during transmission for fast path, slow path
> and other tx management packets. Expose this via ethtool statistics,
> to improve visibility into transmission failures at interface level
> and aid debugging and performance monitoring.
> 
> Place the counter in ethtool with other available tx_* stats for
> better readability and accurate tracking.

As much as I don't like ethtool for wifi, I guess you found a use where
it's actually the right thing to use even in wifi ;-)

But why not remove the old debug statistic, you have a superset now?

johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux