Home
last modified time | relevance | path

Searched refs:rxstats (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dcommon-debug.c90 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument
93 #define RX_PHY_ERR_INC(c) rxstats->phy_err_stats[c]++ in ath9k_cmn_debug_stat_rx()
94 #define RX_CMN_STAT_INC(c) (rxstats->c++) in ath9k_cmn_debug_stat_rx()
97 rxstats->rx_bytes_all += rs->rs_datalen; in ath9k_cmn_debug_stat_rx()
130 rxstats->e); \ in read_file_recv()
133 struct ath_rx_stats *rxstats = file->private_data; in read_file_recv() local
181 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv()
183 debugfs_create_file("recv", 0400, debugfs_phy, rxstats, &fops_recv); in ath9k_cmn_debug_recv()
192 rxstats->phy_err_stats[p]); in read_file_phy_err()
194 struct ath_rx_stats *rxstats in read_file_phy_err() local
180 ath9k_cmn_debug_recv(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_recv() argument
256 ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_phy_err() argument
[all...]
H A Dcommon-debug.h72 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats,
75 struct ath_rx_stats *rxstats);
77 struct ath_rx_stats *rxstats);
89 static inline void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument
95 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv()
100 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_phy_err()
94 ath9k_cmn_debug_recv(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_recv() argument
99 ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_phy_err() argument
H A Ddebug.h29 #define RX_STAT_INC(sc, c) do { (sc)->debug.stats.rxstats.c++; } while (0)
242 struct ath_rx_stats rxstats; member
H A Ddebug.c821 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); in ath_debug_stat_rx()
1309 data[i++] = sc->debug.stats.rxstats.elem; \
1399 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1400 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dcommon-debug.c90 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument
93 #define RX_PHY_ERR_INC(c) rxstats->phy_err_stats[c]++ in ath9k_cmn_debug_stat_rx()
94 #define RX_CMN_STAT_INC(c) (rxstats->c++) in ath9k_cmn_debug_stat_rx()
97 rxstats->rx_bytes_all += rs->rs_datalen; in ath9k_cmn_debug_stat_rx()
130 rxstats->e); \ in read_file_recv()
133 struct ath_rx_stats *rxstats = file->private_data; in read_file_recv() local
181 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv()
183 debugfs_create_file("recv", 0400, debugfs_phy, rxstats, &fops_recv); in ath9k_cmn_debug_recv()
192 rxstats->phy_err_stats[p]) in read_file_phy_err()
194 struct ath_rx_stats *rxstats in read_file_phy_err() local
180 ath9k_cmn_debug_recv(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_recv() argument
256 ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_phy_err() argument
[all...]
H A Dcommon-debug.h72 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats,
75 struct ath_rx_stats *rxstats);
77 struct ath_rx_stats *rxstats);
89 static inline void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument
95 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv()
100 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_phy_err()
94 ath9k_cmn_debug_recv(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_recv() argument
99 ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_phy_err() argument
H A Ddebug.h29 #define RX_STAT_INC(sc, c) do { (sc)->debug.stats.rxstats.c++; } while (0)
243 struct ath_rx_stats rxstats; member
H A Ddebug.c850 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); in ath_debug_stat_rx()
1318 data[i++] = sc->debug.stats.rxstats.elem; \
1408 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1409 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_stats.c179 struct ionic_rx_stats *rxstats = &lif->rxqstats[q_num]; in ionic_add_lif_rxq_stats() local
181 stats->rx_packets += rxstats->pkts; in ionic_add_lif_rxq_stats()
182 stats->rx_bytes += rxstats->bytes; in ionic_add_lif_rxq_stats()
183 stats->rx_csum_none += rxstats->csum_none; in ionic_add_lif_rxq_stats()
184 stats->rx_csum_complete += rxstats->csum_complete; in ionic_add_lif_rxq_stats()
185 stats->rx_csum_error += rxstats->csum_error; in ionic_add_lif_rxq_stats()
186 stats->rx_hwstamp_valid += rxstats->hwstamp_valid; in ionic_add_lif_rxq_stats()
187 stats->rx_hwstamp_invalid += rxstats->hwstamp_invalid; in ionic_add_lif_rxq_stats()
296 struct ionic_rx_stats *rxstats; in ionic_sw_stats_get_rxq_values() local
299 rxstats in ionic_sw_stats_get_rxq_values()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_stats.c183 struct ionic_rx_stats *rxstats; in ionic_get_lif_stats() local
198 rxstats = &lif->rxqstats[q_num]; in ionic_get_lif_stats()
199 stats->rx_packets += rxstats->pkts; in ionic_get_lif_stats()
200 stats->rx_bytes += rxstats->bytes; in ionic_get_lif_stats()
201 stats->rx_csum_none += rxstats->csum_none; in ionic_get_lif_stats()
202 stats->rx_csum_complete += rxstats->csum_complete; in ionic_get_lif_stats()
203 stats->rx_csum_error += rxstats->csum_error; in ionic_get_lif_stats()
348 struct ionic_rx_stats *rxstats; in ionic_sw_stats_get_values() local
400 rxstats = &lif->rxqstats[q_num]; in ionic_sw_stats_get_values()
403 **buf = IONIC_READ_STAT64(rxstats, in ionic_sw_stats_get_values()
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Dsta_info.c2174 static inline u64 sta_get_tidstats_msdu(struct ieee80211_sta_rx_stats *rxstats, in sta_get_tidstats_msdu() argument
2181 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in sta_get_tidstats_msdu()
2182 value = rxstats->msdu[tid]; in sta_get_tidstats_msdu()
2183 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in sta_get_tidstats_msdu()
2241 static inline u64 sta_get_stats_bytes(struct ieee80211_sta_rx_stats *rxstats) in sta_get_stats_bytes() argument
2247 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in sta_get_stats_bytes()
2248 value = rxstats->bytes; in sta_get_stats_bytes()
2249 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in sta_get_stats_bytes()
2395 /* for the average - if pcpu_rx_stats isn't set - rxstats must point to in sta_set_sinfo()
/kernel/linux/linux-6.6/net/mac80211/
H A Dsta_info.c2471 static inline u64 sta_get_tidstats_msdu(struct ieee80211_sta_rx_stats *rxstats, in sta_get_tidstats_msdu() argument
2478 start = u64_stats_fetch_begin(&rxstats->syncp); in sta_get_tidstats_msdu()
2479 value = rxstats->msdu[tid]; in sta_get_tidstats_msdu()
2480 } while (u64_stats_fetch_retry(&rxstats->syncp, start)); in sta_get_tidstats_msdu()
2540 static inline u64 sta_get_stats_bytes(struct ieee80211_sta_rx_stats *rxstats) in sta_get_stats_bytes() argument
2546 start = u64_stats_fetch_begin(&rxstats->syncp); in sta_get_stats_bytes()
2547 value = rxstats->bytes; in sta_get_stats_bytes()
2548 } while (u64_stats_fetch_retry(&rxstats->syncp, start)); in sta_get_stats_bytes()
2697 /* for the average - if pcpu_rx_stats isn't set - rxstats must point to in sta_set_sinfo()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.c3111 struct vxge_ring_stats *rxstats = &vdev->vpaths[k].ring.stats; in vxge_get_stats64() local
3117 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in vxge_get_stats64()
3119 packets = rxstats->rx_frms; in vxge_get_stats64()
3120 multicast = rxstats->rx_mcast; in vxge_get_stats64()
3121 bytes = rxstats->rx_bytes; in vxge_get_stats64()
3122 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in vxge_get_stats64()
3128 net_stats->rx_errors += rxstats->rx_errors; in vxge_get_stats64()
3129 net_stats->rx_dropped += rxstats->rx_dropped; in vxge_get_stats64()

Completed in 23 milliseconds