Searched refs:txqstats (Results 1 – 6 of 6) sorted by relevance
| /linux/net/mac80211/ |
| H A D | cfg.c | 5105 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, in ieee80211_fill_txq_stats() argument 5108 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) { in ieee80211_fill_txq_stats() 5109 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES); in ieee80211_fill_txq_stats() 5110 txqstats->backlog_bytes = txqi->tin.backlog_bytes; in ieee80211_fill_txq_stats() 5113 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) { in ieee80211_fill_txq_stats() 5114 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS); in ieee80211_fill_txq_stats() 5115 txqstats->backlog_packets = txqi->tin.backlog_packets; in ieee80211_fill_txq_stats() 5118 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) { in ieee80211_fill_txq_stats() 5119 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS); in ieee80211_fill_txq_stats() 5120 txqstats->flows = txqi->tin.flows; in ieee80211_fill_txq_stats() [all …]
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_stats.c | 176 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 D | ionic_txrx.c | 919 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 D | ionic_lif.c | 490 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 D | rdev-ops.h | 633 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 D | nl80211.c | 1507 struct cfg80211_txq_stats *txqstats, in nl80211_put_txq_stats() argument 1513 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \ in nl80211_put_txq_stats() 1514 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats() 3493 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_wiphy() local 3496 res = rdev_get_txq_stats(rdev, NULL, &txqstats); in nl80211_send_wiphy() 3498 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_wiphy() 4546 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_iface() local 4547 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); in nl80211_send_iface() 4550 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_iface()
|