Home
last modified time | relevance | path

Searched refs:rxstats (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
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() argument
100 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_phy_err() argument
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() argument
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 = file->private_data; in read_file_phy_err() local
[all …]
Ddebug.h29 #define RX_STAT_INC(sc, c) do { (sc)->debug.stats.rxstats.c++; } while (0)
242 struct ath_rx_stats rxstats; member
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-5.10/drivers/net/ethernet/pensando/ionic/
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()
/kernel/linux/linux-5.10/net/mac80211/
Dsta_info.c2171 static inline u64 sta_get_tidstats_msdu(struct ieee80211_sta_rx_stats *rxstats, in sta_get_tidstats_msdu() argument
2178 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in sta_get_tidstats_msdu()
2179 value = rxstats->msdu[tid]; in sta_get_tidstats_msdu()
2180 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in sta_get_tidstats_msdu()
2238 static inline u64 sta_get_stats_bytes(struct ieee80211_sta_rx_stats *rxstats) in sta_get_stats_bytes() argument
2244 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in sta_get_stats_bytes()
2245 value = rxstats->bytes; in sta_get_stats_bytes()
2246 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in sta_get_stats_bytes()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
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()