Home
last modified time | relevance | path

Searched refs:txqstats (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/net/mac80211/
Dcfg.c3908 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, in ieee80211_fill_txq_stats() argument
3911 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) { in ieee80211_fill_txq_stats()
3912 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES); in ieee80211_fill_txq_stats()
3913 txqstats->backlog_bytes = txqi->tin.backlog_bytes; in ieee80211_fill_txq_stats()
3916 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) { in ieee80211_fill_txq_stats()
3917 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS); in ieee80211_fill_txq_stats()
3918 txqstats->backlog_packets = txqi->tin.backlog_packets; in ieee80211_fill_txq_stats()
3921 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) { in ieee80211_fill_txq_stats()
3922 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS); in ieee80211_fill_txq_stats()
3923 txqstats->flows = txqi->tin.flows; in ieee80211_fill_txq_stats()
[all …]
Dieee80211_i.h2147 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
/Linux-v5.10/drivers/net/ethernet/pensando/ionic/
Dionic_lif.h81 #define q_to_tx_stats(q) (&(q)->lif->txqstats[(q)->index])
171 struct ionic_tx_stats *txqstats; member
279 q->lif->txqstats[q->index].sg_cntr[num_sg_elems]++; in debug_stats_txq_post()
Dionic_stats.c190 txstats = &lif->txqstats[q_num]; in ionic_get_lif_stats()
366 txstats = &lif->txqstats[q_num]; in ionic_sw_stats_get_values()
Dionic_txrx.c437 lif->txqstats[qi].pkts, in ionic_dim_update()
438 lif->txqstats[qi].bytes, in ionic_dim_update()
Dionic_lif.c405 devm_kfree(dev, lif->txqstats); in ionic_qcqs_free()
406 lif->txqstats = NULL; in ionic_qcqs_free()
666 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif, in ionic_qcqs_alloc()
668 if (!lif->txqstats) in ionic_qcqs_alloc()
/Linux-v5.10/net/wireless/
Drdev-ops.h610 struct cfg80211_txq_stats *txqstats) in rdev_get_txq_stats() argument
614 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); in rdev_get_txq_stats()
Dnl80211.c1093 struct cfg80211_txq_stats *txqstats, in nl80211_put_txq_stats() argument
1099 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \ in nl80211_put_txq_stats()
1100 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats()
2629 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_wiphy() local
2632 res = rdev_get_txq_stats(rdev, NULL, &txqstats); in nl80211_send_wiphy()
2634 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_wiphy()
3500 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_iface() local
3501 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); in nl80211_send_iface()
3504 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_iface()
/Linux-v5.10/include/net/
Dcfg80211.h4220 struct cfg80211_txq_stats *txqstats);