/drivers/net/wireless/ath/ath9k/ |
D | common.c | 34 struct ath_rx_status *rx_stats, in ath9k_cmn_rx_accept() argument 45 is_valid_tkip = rx_stats->rs_keyix != ATH9K_RXKEYIX_INVALID && in ath9k_cmn_rx_accept() 46 test_bit(rx_stats->rs_keyix, common->tkip_keymap); in ath9k_cmn_rx_accept() 49 !(rx_stats->rs_status & in ath9k_cmn_rx_accept() 58 if (rx_stats->rs_keyix == ATH9K_RXKEYIX_INVALID || in ath9k_cmn_rx_accept() 59 !test_bit(rx_stats->rs_keyix, common->ccmp_keymap)) in ath9k_cmn_rx_accept() 60 rx_stats->rs_status &= ~ATH9K_RXERR_KEYMISS; in ath9k_cmn_rx_accept() 65 (rx_stats->rs_status & ATH9K_RXERR_MIC); in ath9k_cmn_rx_accept() 73 if (rx_stats->rs_status != 0) { in ath9k_cmn_rx_accept() 76 if (rx_stats->rs_status & ATH9K_RXERR_CRC) { in ath9k_cmn_rx_accept() [all …]
|
D | htc_drv_txrx.c | 937 static inline void convert_htc_flag(struct ath_rx_status *rx_stats, in convert_htc_flag() argument 940 rx_stats->enc_flags = 0; in convert_htc_flag() 941 rx_stats->bw = RATE_INFO_BW_20; in convert_htc_flag() 943 rx_stats->bw = RATE_INFO_BW_40; in convert_htc_flag() 945 rx_stats->enc_flags |= RX_ENC_FLAG_SHORT_GI; in convert_htc_flag() 948 static void rx_status_htc_to_ath(struct ath_rx_status *rx_stats, in rx_status_htc_to_ath() argument 951 rx_stats->rs_datalen = be16_to_cpu(rxstatus->rs_datalen); in rx_status_htc_to_ath() 952 rx_stats->rs_status = rxstatus->rs_status; in rx_status_htc_to_ath() 953 rx_stats->rs_phyerr = rxstatus->rs_phyerr; in rx_status_htc_to_ath() 954 rx_stats->rs_rssi = rxstatus->rs_rssi; in rx_status_htc_to_ath() [all …]
|
D | common.h | 67 struct ath_rx_status *rx_stats, 72 struct ath_rx_status *rx_stats, 77 struct ath_rx_status *rx_stats, 81 struct ath_rx_status *rx_stats,
|
D | recv.c | 810 struct ath_rx_status *rx_stats, in ath9k_rx_skb_preprocess() argument 834 is_phyerr = rx_stats->rs_status & ATH9K_RXERR_PHY; in ath9k_rx_skb_preprocess() 835 if (!rx_stats->rs_datalen || in ath9k_rx_skb_preprocess() 836 (rx_stats->rs_datalen < 10 && !is_phyerr)) { in ath9k_rx_skb_preprocess() 846 if (rx_stats->rs_datalen > (common->rx_bufsize - ah->caps.rx_status_len)) { in ath9k_rx_skb_preprocess() 852 if (rx_stats->rs_more) in ath9k_rx_skb_preprocess() 862 if (rx_stats->rs_status & ATH9K_RXERR_CORRUPT_DESC) in ath9k_rx_skb_preprocess() 867 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess() 868 ath_debug_stat_rx(sc, rx_stats); in ath9k_rx_skb_preprocess() 874 if (rx_stats->rs_status & ATH9K_RXERR_PHY) { in ath9k_rx_skb_preprocess() [all …]
|
/drivers/net/wireless/ath/ath11k/ |
D | debugfs_sta.c | 249 struct ath11k_rx_peer_stats *rx_stats = arsta->rx_stats; in ath11k_dbg_sta_dump_rx_stats() local 254 if (!rx_stats) in ath11k_dbg_sta_dump_rx_stats() 266 rx_stats->num_msdu); in ath11k_dbg_sta_dump_rx_stats() 268 rx_stats->tcp_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 270 rx_stats->udp_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 272 rx_stats->ampdu_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 274 rx_stats->non_ampdu_msdu_count); in ath11k_dbg_sta_dump_rx_stats() 276 rx_stats->stbc_count); in ath11k_dbg_sta_dump_rx_stats() 278 rx_stats->beamformed_count); in ath11k_dbg_sta_dump_rx_stats() 280 rx_stats->num_mpdu_fcs_ok); in ath11k_dbg_sta_dump_rx_stats() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 224 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_rx_stats() local 231 convert_to_64bit(rx_stats->roce_frame_bytes_lo, in ocrdma_rx_stats() 232 rx_stats->roce_frame_bytes_hi)); in ocrdma_rx_stats() 234 (u64)rx_stats->roce_frame_icrc_drops); in ocrdma_rx_stats() 236 (u64)rx_stats->roce_frame_payload_len_drops); in ocrdma_rx_stats() 238 (u64)rx_stats->ud_drops); in ocrdma_rx_stats() 240 (u64)rx_stats->qp1_drops); in ocrdma_rx_stats() 242 (u64)rx_stats->psn_error_request_packets); in ocrdma_rx_stats() 244 (u64)rx_stats->psn_error_resp_packets); in ocrdma_rx_stats() 246 (u64)rx_stats->rnr_nak_timeouts); in ocrdma_rx_stats() [all …]
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_xdp.h | 100 xdp_stat = &rx_ring->rx_stats.xdp_aborted; in ena_xdp_execute() 116 xdp_stat = &rx_ring->rx_stats.xdp_tx; in ena_xdp_execute() 121 xdp_stat = &rx_ring->rx_stats.xdp_redirect; in ena_xdp_execute() 126 xdp_stat = &rx_ring->rx_stats.xdp_aborted; in ena_xdp_execute() 131 xdp_stat = &rx_ring->rx_stats.xdp_aborted; in ena_xdp_execute() 135 xdp_stat = &rx_ring->rx_stats.xdp_drop; in ena_xdp_execute() 139 xdp_stat = &rx_ring->rx_stats.xdp_pass; in ena_xdp_execute() 144 xdp_stat = &rx_ring->rx_stats.xdp_invalid; in ena_xdp_execute()
|
/drivers/net/wireless/ath/ath12k/ |
D | dp_mon.c | 2170 ath12k_dp_mon_rx_update_peer_rate_table_stats(struct ath12k_rx_peer_stats *rx_stats, in ath12k_dp_mon_rx_update_peer_rate_table_stats() argument 2198 rx_stats->pkt_stats.rx_rate[rate_idx] += num_msdu; in ath12k_dp_mon_rx_update_peer_rate_table_stats() 2200 rx_stats->byte_stats.rx_rate[rate_idx] += user_stats->mpdu_ok_byte_count; in ath12k_dp_mon_rx_update_peer_rate_table_stats() 2202 rx_stats->byte_stats.rx_rate[rate_idx] += ppdu_info->mpdu_len; in ath12k_dp_mon_rx_update_peer_rate_table_stats() 2209 struct ath12k_rx_peer_stats *rx_stats = arsta->rx_stats; in ath12k_dp_mon_rx_update_peer_su_stats() local 2212 if (!rx_stats) in ath12k_dp_mon_rx_update_peer_su_stats() 2220 rx_stats->num_msdu += num_msdu; in ath12k_dp_mon_rx_update_peer_su_stats() 2221 rx_stats->tcp_msdu_count += ppdu_info->tcp_msdu_count + in ath12k_dp_mon_rx_update_peer_su_stats() 2223 rx_stats->udp_msdu_count += ppdu_info->udp_msdu_count; in ath12k_dp_mon_rx_update_peer_su_stats() 2224 rx_stats->other_msdu_count += ppdu_info->other_msdu_count; in ath12k_dp_mon_rx_update_peer_su_stats() [all …]
|
/drivers/net/hyperv/ |
D | netvsc_bpf.c | 27 struct netvsc_stats_rx *rx_stats = &nvchan->rx_stats; in netvsc_run_xdp() local 77 u64_stats_update_begin(&rx_stats->syncp); in netvsc_run_xdp() 79 rx_stats->xdp_redirect++; in netvsc_run_xdp() 80 rx_stats->packets++; in netvsc_run_xdp() 81 rx_stats->bytes += nvchan->rsc.pktlen; in netvsc_run_xdp() 83 u64_stats_update_end(&rx_stats->syncp); in netvsc_run_xdp() 87 u64_stats_update_begin(&rx_stats->syncp); in netvsc_run_xdp() 88 rx_stats->xdp_drop++; in netvsc_run_xdp() 89 u64_stats_update_end(&rx_stats->syncp); in netvsc_run_xdp()
|
D | netvsc_drv.c | 882 struct netvsc_stats_rx *rx_stats = &nvchan->rx_stats; in netvsc_recv_callback() local 895 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback() 896 rx_stats->xdp_drop++; in netvsc_recv_callback() 897 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback() 917 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback() 919 rx_stats->xdp_tx++; in netvsc_recv_callback() 921 rx_stats->packets++; in netvsc_recv_callback() 922 rx_stats->bytes += nvchan->rsc.pktlen; in netvsc_recv_callback() 925 ++rx_stats->broadcast; in netvsc_recv_callback() 927 ++rx_stats->multicast; in netvsc_recv_callback() [all …]
|
/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_net.c | 59 struct vdpasim_dataq_stats rx_stats; member 276 u64_stats_update_begin(&net->rx_stats.syncp); in vdpasim_net_work() 277 net->rx_stats.pkts += rx_pkts; in vdpasim_net_work() 278 net->rx_stats.bytes += rx_bytes; in vdpasim_net_work() 279 net->rx_stats.drops += rx_drops; in vdpasim_net_work() 280 net->rx_stats.errors += rx_errors; in vdpasim_net_work() 281 net->rx_stats.overruns += rx_overruns; in vdpasim_net_work() 282 u64_stats_update_end(&net->rx_stats.syncp); in vdpasim_net_work() 299 start = u64_stats_fetch_begin(&net->rx_stats.syncp); in vdpasim_net_get_stats() 300 rx_pkts = net->rx_stats.pkts; in vdpasim_net_get_stats() [all …]
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 22 struct hostap_80211_rx_status *rx_stats) in hostap_dump_rx_80211() argument 31 name, rx_stats->signal, rx_stats->noise, rx_stats->rate, in hostap_dump_rx_80211() 64 struct hostap_80211_rx_status *rx_stats, int type) in prism2_rx_80211() argument 144 LWNG_SETVAL(mactime, 2, 0, 4, rx_stats->mac_time); in prism2_rx_80211() 148 LWNG_SETVAL(signal, 6, 0, 4, rx_stats->signal); in prism2_rx_80211() 149 LWNG_SETVAL(noise, 7, 0, 4, rx_stats->noise); in prism2_rx_80211() 150 LWNG_SETVAL(rate, 8, 0, 4, rx_stats->rate / 5); in prism2_rx_80211() 160 hdr->mactime = __cpu_to_be64(rx_stats->mac_time); in prism2_rx_80211() 164 hdr->datarate = htonl(rx_stats->rate); in prism2_rx_80211() 168 hdr->ssi_signal = htonl(rx_stats->signal); in prism2_rx_80211() [all …]
|
D | hostap_80211.h | 83 struct hostap_80211_rx_status *rx_stats, int type); 85 struct hostap_80211_rx_status *rx_stats); 87 struct hostap_80211_rx_status *rx_stats);
|
D | hostap_ap.c | 1284 struct hostap_80211_rx_status *rx_stats) in handle_authen() argument 1497 struct hostap_80211_rx_status *rx_stats, int reassoc) in handle_assoc() argument 1706 struct hostap_80211_rx_status *rx_stats) in handle_deauth() argument 1748 struct hostap_80211_rx_status *rx_stats) in handle_disassoc() argument 1866 struct hostap_80211_rx_status *rx_stats) in handle_pspoll() argument 1983 struct hostap_80211_rx_status *rx_stats) in handle_beacon() argument 2138 struct hostap_80211_rx_status *rx_stats) in handle_ap_item() argument 2186 handle_beacon(local, skb, rx_stats); in handle_ap_item() 2192 handle_pspoll(local, hdr, rx_stats); in handle_ap_item() 2222 handle_assoc(local, skb, rx_stats, 0); in handle_ap_item() [all …]
|
D | hostap_ap.h | 220 struct hostap_80211_rx_status *rx_stats); 245 struct hostap_80211_rx_status *rx_stats, 254 struct hostap_80211_rx_status *rx_stats);
|
/drivers/net/ethernet/microsoft/mana/ |
D | mana_bpf.c | 83 struct mana_stats_rx *rx_stats; in mana_run_xdp() local 98 rx_stats = &rxq->stats; in mana_run_xdp() 111 u64_stats_update_begin(&rx_stats->syncp); in mana_run_xdp() 112 rx_stats->packets++; in mana_run_xdp() 113 rx_stats->bytes += pkt_len; in mana_run_xdp() 114 rx_stats->xdp_redirect++; in mana_run_xdp() 115 u64_stats_update_end(&rx_stats->syncp); in mana_run_xdp()
|
D | mana_ethtool.c | 110 struct mana_stats_rx *rx_stats; in mana_get_ethtool_stats() local 137 rx_stats = &apc->rxqs[q]->stats; in mana_get_ethtool_stats() 140 start = u64_stats_fetch_begin(&rx_stats->syncp); in mana_get_ethtool_stats() 141 packets = rx_stats->packets; in mana_get_ethtool_stats() 142 bytes = rx_stats->bytes; in mana_get_ethtool_stats() 143 xdp_drop = rx_stats->xdp_drop; in mana_get_ethtool_stats() 144 xdp_tx = rx_stats->xdp_tx; in mana_get_ethtool_stats() 145 xdp_redirect = rx_stats->xdp_redirect; in mana_get_ethtool_stats() 146 } while (u64_stats_fetch_retry(&rx_stats->syncp, start)); in mana_get_ethtool_stats()
|
/drivers/net/ |
D | ifb.c | 54 struct ifb_q_stats rx_stats; member 165 start = u64_stats_fetch_begin(&txp->rx_stats.sync); in ifb_stats64() 166 packets = txp->rx_stats.packets; in ifb_stats64() 167 bytes = txp->rx_stats.bytes; in ifb_stats64() 168 } while (u64_stats_fetch_retry(&txp->rx_stats.sync, start)); in ifb_stats64() 199 u64_stats_init(&txp->rx_stats.sync); in ifb_dev_init() 267 ifb_fill_stats_data(&data, &txp->rx_stats); in ifb_get_ethtool_stats() 343 ifb_update_q_stats(&txp->rx_stats, skb->len); in ifb_xmit()
|
D | xen-netfront.c | 170 struct netfront_stats __percpu *rx_stats; member 1224 struct netfront_stats *rx_stats = this_cpu_ptr(queue->info->rx_stats); in handle_incoming_queue() local 1245 u64_stats_update_begin(&rx_stats->syncp); in handle_incoming_queue() 1246 rx_stats->packets++; in handle_incoming_queue() 1247 rx_stats->bytes += skb->len; in handle_incoming_queue() 1248 u64_stats_update_end(&rx_stats->syncp); in handle_incoming_queue() 1390 struct netfront_stats *rx_stats = per_cpu_ptr(np->rx_stats, cpu); in xennet_get_stats64() local 1402 start = u64_stats_fetch_begin(&rx_stats->syncp); in xennet_get_stats64() 1403 rx_packets = rx_stats->packets; in xennet_get_stats64() 1404 rx_bytes = rx_stats->bytes; in xennet_get_stats64() [all …]
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 37 struct libipw_rx_stats *rx_stats) in libipw_monitor_rx() argument 167 struct libipw_rx_stats *rx_stats, u16 type, in libipw_rx_frame_mgmt() argument 187 hostap_rx(skb2->dev, skb2, rx_stats); in libipw_rx_frame_mgmt() 194 prism2_rx_80211(ieee->apdev, skb, rx_stats, PRISM2_RX_MGMT); in libipw_rx_frame_mgmt() 206 hostap_rx(skb->dev, skb, rx_stats); in libipw_rx_frame_mgmt() 329 struct libipw_rx_stats *rx_stats) in libipw_rx() argument 380 if (rx_stats->mask & LIBIPW_STATMASK_RSSI) { in libipw_rx() 381 wstats.level = rx_stats->signal; in libipw_rx() 386 if (rx_stats->mask & LIBIPW_STATMASK_NOISE) { in libipw_rx() 387 wstats.noise = rx_stats->noise; in libipw_rx() [all …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 206 struct rtllib_rx_stats *rx_stats, u16 type, in rtllib_rx_frame_mgmt() argument 215 rx_stats->len = skb->len; in rtllib_rx_frame_mgmt() 216 rtllib_rx_mgt(ieee, skb, rx_stats); in rtllib_rx_frame_mgmt() 221 rtllib_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in rtllib_rx_frame_mgmt() 753 struct rtllib_rx_stats *rx_stats, in parse_subframe() argument 774 if (rx_stats->bContainHTC) in parse_subframe() 881 struct rtllib_rx_stats *rx_stats) in rtllib_rx_get_hdrlen() argument 893 rx_stats->bContainHTC = true; in rtllib_rx_get_hdrlen() 897 rx_stats->bIsQosData = true; in rtllib_rx_get_hdrlen() 1063 struct rtllib_rx_stats *rx_stats, in rtllib_rx_decrypt() argument [all …]
|
/drivers/net/wireless/silabs/wfx/ |
D | hif_rx.c | 236 body->data.rx_stats.current_temp); in wfx_hif_generic_indication() 237 memcpy(&wdev->rx_stats, &body->data.rx_stats, sizeof(wdev->rx_stats)); in wfx_hif_generic_indication()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 44 struct ieee80211_rx_stats *rx_stats) in ieee80211_monitor_rx() argument 209 struct ieee80211_rx_stats *rx_stats, u16 type, in ieee80211_rx_frame_mgmt() argument 218 rx_stats->len = skb->len; in ieee80211_rx_frame_mgmt() 219 ieee80211_rx_mgt(ieee, (struct rtl_80211_hdr_4addr *)skb->data, rx_stats); in ieee80211_rx_frame_mgmt() 227 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt() 250 hostap_rx(skb2->dev, skb2, rx_stats); in ieee80211_rx_frame_mgmt() 257 prism2_rx_80211(ieee->apdev, skb, rx_stats, PRISM2_RX_MGMT); in ieee80211_rx_frame_mgmt() 269 hostap_rx(skb->dev, skb, rx_stats); in ieee80211_rx_frame_mgmt() 766 struct ieee80211_rx_stats *rx_stats, in parse_subframe() argument 791 if (rx_stats->bContainHTC) in parse_subframe() [all …]
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 88 rx_ring->rx_stats.alloc_failed++; in fm10k_alloc_mapped_page() 101 rx_ring->rx_stats.alloc_failed++; in fm10k_alloc_mapped_page() 322 rx_ring->rx_stats.alloc_failed++; in fm10k_fetch_rx_buffer() 372 ring->rx_stats.csum_err++; in fm10k_rx_checksum() 384 ring->rx_stats.csum_good++; in fm10k_rx_checksum() 530 rx_ring->rx_stats.switch_errors++; in fm10k_cleanup_headers() 532 rx_ring->rx_stats.drops++; in fm10k_cleanup_headers() 534 rx_ring->rx_stats.pp_errors++; in fm10k_cleanup_headers() 536 rx_ring->rx_stats.link_errors++; in fm10k_cleanup_headers() 538 rx_ring->rx_stats.length_errors++; in fm10k_cleanup_headers() [all …]
|
/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_ctrl_net.h | 154 struct octep_iface_rx_stats rx_stats; member 299 struct octep_iface_rx_stats *rx_stats,
|