[Make-wifi-fast] Get hardware queue length for wireless interface in linux kernel
Toke Høiland-Jørgensen
toke at toke.dk
Tue May 16 06:45:47 EDT 2017
Toke Høiland-Jørgensen <toke at toke.dk> writes:
> Something like
>
> u32 mac80211_get_backlog(struct net_device *dev)
> {
> struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
> return local->fq->backlog;
> }
Oh, except that you'll probably need to lock the fq struct while you're
accessing the backlog value... :)
-Toke
More information about the Bloat-devel
mailing list