Home
last modified time | relevance | path

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

/linux/net/mac80211/
H A Dcfg.c4920 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, in ieee80211_fill_txq_stats() argument
4923 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) { in ieee80211_fill_txq_stats()
4924 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES); in ieee80211_fill_txq_stats()
4925 txqstats->backlog_bytes = txqi->tin.backlog_bytes; in ieee80211_fill_txq_stats()
4928 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) { in ieee80211_fill_txq_stats()
4929 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS); in ieee80211_fill_txq_stats()
4930 txqstats->backlog_packets = txqi->tin.backlog_packets; in ieee80211_fill_txq_stats()
4933 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) { in ieee80211_fill_txq_stats()
4934 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS); in ieee80211_fill_txq_stats()
4935 txqstats->flows = txqi->tin.flows; in ieee80211_fill_txq_stats()
[all …]
H A Dieee80211_i.h2614 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_stats.c176 struct ionic_tx_stats *txstats = &lif->txqstats[q_num]; in ionic_add_lif_txq_stats()
303 txstats = &lif->txqstats[q_num]; in ionic_sw_stats_get_txq_values()
H A Dionic_txrx.c919 pkts = lif->txqstats[qi].pkts; in ionic_dim_update()
920 bytes = lif->txqstats[qi].bytes; in ionic_dim_update()
927 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update()
928 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes; in ionic_dim_update()
H A Dionic_lif.c490 devm_kfree(dev, lif->txqstats); in ionic_qcqs_free()
491 lif->txqstats = NULL; in ionic_qcqs_free()
802 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif + 1, in ionic_qcqs_alloc()
803 sizeof(*lif->txqstats), GFP_KERNEL); in ionic_qcqs_alloc()
804 if (!lif->txqstats) in ionic_qcqs_alloc()
/linux/net/wireless/
H A Drdev-ops.h633 struct cfg80211_txq_stats *txqstats) in rdev_get_txq_stats() argument
637 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); in rdev_get_txq_stats()
H A Dnl80211.c1359 struct cfg80211_txq_stats *txqstats, in nl80211_put_txq_stats() argument
1365 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \ in nl80211_put_txq_stats()
1366 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats()
3279 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_wiphy() local
3282 res = rdev_get_txq_stats(rdev, NULL, &txqstats); in nl80211_send_wiphy()
3284 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_wiphy()
4326 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_iface() local
4327 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); in nl80211_send_iface()
4330 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_iface()
/linux/include/net/
H A Dcfg80211.h5215 struct cfg80211_txq_stats *txqstats);