Home
last modified time | relevance | path

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

/linux/net/mac80211/
H A Dcfg.c4506 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, in ieee80211_fill_txq_stats() argument
4509 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) { in ieee80211_fill_txq_stats()
4510 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES); in ieee80211_fill_txq_stats()
4511 txqstats->backlog_bytes = txqi->tin.backlog_bytes; in ieee80211_fill_txq_stats()
4514 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) { in ieee80211_fill_txq_stats()
4515 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS); in ieee80211_fill_txq_stats()
4516 txqstats->backlog_packets = txqi->tin.backlog_packets; in ieee80211_fill_txq_stats()
4519 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) { in ieee80211_fill_txq_stats()
4520 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS); in ieee80211_fill_txq_stats()
4521 txqstats->flows = txqi->tin.flows; in ieee80211_fill_txq_stats()
[all …]
H A Dieee80211_i.h2491 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.h96 #define q_to_tx_stats(q) (&(q)->lif->txqstats[(q)->index])
196 struct ionic_tx_stats *txqstats; member
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.c915 pkts = lif->txqstats[qi].pkts; in ionic_dim_update()
916 bytes = lif->txqstats[qi].bytes; in ionic_dim_update()
923 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update()
924 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes; in ionic_dim_update()
H A Dionic_lif.c482 devm_kfree(dev, lif->txqstats); in ionic_qcqs_free()
483 lif->txqstats = NULL; in ionic_qcqs_free()
801 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif + 1, in ionic_qcqs_alloc()
802 sizeof(*lif->txqstats), GFP_KERNEL); in ionic_qcqs_alloc()
803 if (!lif->txqstats) in ionic_qcqs_alloc()
/linux/net/wireless/
H A Drdev-ops.h626 struct cfg80211_txq_stats *txqstats) in rdev_get_txq_stats() argument
630 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); in rdev_get_txq_stats()
H A Dnl80211.c1239 struct cfg80211_txq_stats *txqstats, in nl80211_put_txq_stats() argument
1245 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \ in nl80211_put_txq_stats()
1246 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats()
3044 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_wiphy() local
3047 res = rdev_get_txq_stats(rdev, NULL, &txqstats); in nl80211_send_wiphy()
3049 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_wiphy()
4048 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_iface() local
4049 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); in nl80211_send_iface()
4052 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_iface()
/linux/include/net/
H A Dcfg80211.h4897 struct cfg80211_txq_stats *txqstats);