Searched refs:txqstats (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/net/mac80211/ |
H A D | cfg.c | 4447 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, in ieee80211_fill_txq_stats() argument 4450 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) { in ieee80211_fill_txq_stats() 4451 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES); in ieee80211_fill_txq_stats() 4452 txqstats->backlog_bytes = txqi->tin.backlog_bytes; in ieee80211_fill_txq_stats() 4455 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) { in ieee80211_fill_txq_stats() 4456 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS); in ieee80211_fill_txq_stats() 4457 txqstats->backlog_packets = txqi->tin.backlog_packets; in ieee80211_fill_txq_stats() 4460 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) { in ieee80211_fill_txq_stats() 4461 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS); in ieee80211_fill_txq_stats() 4462 txqstats->flows = txqi->tin.flows; in ieee80211_fill_txq_stats() [all …]
|
H A D | ieee80211_i.h | 2435 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.h | 91 #define q_to_tx_stats(q) (&(q)->lif->txqstats[(q)->index]) 185 struct ionic_tx_stats *txqstats; member
|
H A D | ionic_stats.c | 164 struct ionic_tx_stats *txstats = &lif->txqstats[q_num]; in ionic_add_lif_txq_stats() 285 txstats = &lif->txqstats[q_num]; in ionic_sw_stats_get_txq_values()
|
H A D | ionic_txrx.c | 548 pkts = lif->txqstats[qi].pkts; in ionic_dim_update() 549 bytes = lif->txqstats[qi].bytes; in ionic_dim_update() 556 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update() 557 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes; in ionic_dim_update()
|
H A D | ionic_lif.c | 466 devm_kfree(dev, lif->txqstats); in ionic_qcqs_free() 467 lif->txqstats = NULL; in ionic_qcqs_free() 757 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif + 1, in ionic_qcqs_alloc() 758 sizeof(*lif->txqstats), GFP_KERNEL); in ionic_qcqs_alloc() 759 if (!lif->txqstats) in ionic_qcqs_alloc()
|
/openbmc/linux/net/wireless/ |
H A D | rdev-ops.h | 628 struct cfg80211_txq_stats *txqstats) in rdev_get_txq_stats() argument 632 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); in rdev_get_txq_stats()
|
H A D | nl80211.c | 1224 struct cfg80211_txq_stats *txqstats, in nl80211_put_txq_stats() argument 1230 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \ in nl80211_put_txq_stats() 1231 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats() 2937 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_wiphy() local 2940 res = rdev_get_txq_stats(rdev, NULL, &txqstats); in nl80211_send_wiphy() 2942 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_wiphy() 3933 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_iface() local 3934 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); in nl80211_send_iface() 3937 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_iface()
|
/openbmc/linux/include/net/ |
H A D | cfg80211.h | 4714 struct cfg80211_txq_stats *txqstats);
|