Search Linux Wireless

Re: [PATCH 2/3] mac-hwsim: add ethtool stats support.

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

 



On Tue, 2014-10-07 at 06:48 -0700, Ben Greear wrote:
> On 10/07/2014 01:46 AM, Johannes Berg wrote:
> > On Thu, 2014-09-25 at 14:22 -0700, greearb@xxxxxxxxxxxxxxx wrote:
> >
> >> +static const char mac80211_hwsim_gstrings_stats[][ETH_GSTRING_LEN] = {
> >> +	"tx_pkts_nic",
> >> +	"tx_bytes_nic",
> >> +	"rx_pkts_nic",
> >> +	"rx_bytes_nic",
> >> +	"d_tx_dropped",
> >> +	"d_tx_failed",
> >> +	"d_ps_mode",
> >> +	"d_group",
> >> +	"d_tx_power",
> >
> > What's that d_ prefix?
> 
> Stats from the driver v/s from the mac80211 stack.  Basically, it
> mimics how I did ath9k, ath9k_htc, and ath10k stats (though
> not sure ath10k made it upstream yet).
> 
> The first 4 match those wifi drivers as well as some Intel wired
> NICs.
> 
> It doesn't matter a huge amount if you want to change the names,
> but it makes user-space stats reporting easier if you would leave
> them the same...

Ok, no problem. Can you resend though with the prefixes etc?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux