/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 | 929 static inline void convert_htc_flag(struct ath_rx_status *rx_stats, in convert_htc_flag() argument 932 rx_stats->flag = 0; in convert_htc_flag() 934 rx_stats->flag |= RX_FLAG_40MHZ; in convert_htc_flag() 936 rx_stats->flag |= RX_FLAG_SHORT_GI; in convert_htc_flag() 939 static void rx_status_htc_to_ath(struct ath_rx_status *rx_stats, in rx_status_htc_to_ath() argument 942 rx_stats->rs_datalen = be16_to_cpu(rxstatus->rs_datalen); in rx_status_htc_to_ath() 943 rx_stats->rs_status = rxstatus->rs_status; in rx_status_htc_to_ath() 944 rx_stats->rs_phyerr = rxstatus->rs_phyerr; in rx_status_htc_to_ath() 945 rx_stats->rs_rssi = rxstatus->rs_rssi; in rx_status_htc_to_ath() 946 rx_stats->rs_keyix = rxstatus->rs_keyix; 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 | 809 struct ath_rx_status *rx_stats, in ath9k_rx_skb_preprocess() argument 831 if (!rx_stats->rs_datalen) { in ath9k_rx_skb_preprocess() 841 if (rx_stats->rs_datalen > (common->rx_bufsize - ah->caps.rx_status_len)) { in ath9k_rx_skb_preprocess() 847 if (rx_stats->rs_more) in ath9k_rx_skb_preprocess() 857 if (rx_stats->rs_status & ATH9K_RXERR_CORRUPT_DESC) in ath9k_rx_skb_preprocess() 862 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess() 863 ath_debug_stat_rx(sc, rx_stats); in ath9k_rx_skb_preprocess() 869 if (rx_stats->rs_status & ATH9K_RXERR_PHY) { in ath9k_rx_skb_preprocess() 870 ath9k_dfs_process_phyerr(sc, hdr, rx_stats, rx_status->mactime); in ath9k_rx_skb_preprocess() 871 if (ath_cmn_process_fft(&sc->spec_priv, hdr, rx_stats, rx_status->mactime)) in ath9k_rx_skb_preprocess() [all …]
|
D | htc_drv_debug.c | 248 ath9k_cmn_debug_stat_rx(&priv->debug.rx_stats, rs); in ath9k_htc_err_stat_rx() 444 #define SRXBASE priv->debug.rx_stats 510 ath9k_cmn_debug_recv(priv->debug.debugfs_phy, &priv->debug.rx_stats); in ath9k_htc_init_debug() 511 ath9k_cmn_debug_phy_err(priv->debug.debugfs_phy, &priv->debug.rx_stats); in ath9k_htc_init_debug()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 228 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_rx_stats() local 235 convert_to_64bit(rx_stats->roce_frame_bytes_lo, in ocrdma_rx_stats() 236 rx_stats->roce_frame_bytes_hi)); in ocrdma_rx_stats() 238 (u64)rx_stats->roce_frame_icrc_drops); in ocrdma_rx_stats() 240 (u64)rx_stats->roce_frame_payload_len_drops); in ocrdma_rx_stats() 242 (u64)rx_stats->ud_drops); in ocrdma_rx_stats() 244 (u64)rx_stats->qp1_drops); in ocrdma_rx_stats() 246 (u64)rx_stats->psn_error_request_packets); in ocrdma_rx_stats() 248 (u64)rx_stats->psn_error_resp_packets); in ocrdma_rx_stats() 250 (u64)rx_stats->rnr_nak_timeouts); in ocrdma_rx_stats() [all …]
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-ethtool.c | 324 *ptr++ = vpath_info->rx_stats.rx_ttl_eth_frms; in vxge_get_ethtool_stats() 325 *ptr++ = vpath_info->rx_stats.rx_vld_frms; in vxge_get_ethtool_stats() 326 *ptr++ = vpath_info->rx_stats.rx_offload_frms; in vxge_get_ethtool_stats() 327 *ptr++ = vpath_info->rx_stats.rx_ttl_eth_octets; in vxge_get_ethtool_stats() 328 *ptr++ = vpath_info->rx_stats.rx_data_octets; in vxge_get_ethtool_stats() 329 *ptr++ = vpath_info->rx_stats.rx_offload_octets; in vxge_get_ethtool_stats() 330 *ptr++ = vpath_info->rx_stats.rx_vld_mcast_frms; in vxge_get_ethtool_stats() 331 *ptr++ = vpath_info->rx_stats.rx_vld_bcast_frms; in vxge_get_ethtool_stats() 332 *ptr++ = vpath_info->rx_stats.rx_accepted_ucast_frms; in vxge_get_ethtool_stats() 333 *ptr++ = vpath_info->rx_stats.rx_accepted_nucast_frms; in vxge_get_ethtool_stats() [all …]
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 21 struct hostap_80211_rx_status *rx_stats) in hostap_dump_rx_80211() argument 30 name, rx_stats->signal, rx_stats->noise, rx_stats->rate, in hostap_dump_rx_80211() 63 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() 161 hdr->mactime = __cpu_to_be64(rx_stats->mac_time); in prism2_rx_80211() 165 hdr->datarate = htonl(rx_stats->rate); in prism2_rx_80211() 169 hdr->ssi_signal = htonl(rx_stats->signal); in prism2_rx_80211() [all …]
|
D | hostap_80211.h | 82 struct hostap_80211_rx_status *rx_stats, int type); 84 struct hostap_80211_rx_status *rx_stats); 86 struct hostap_80211_rx_status *rx_stats);
|
D | hostap_ap.c | 1346 struct hostap_80211_rx_status *rx_stats) in handle_authen() argument 1559 struct hostap_80211_rx_status *rx_stats, int reassoc) in handle_assoc() argument 1768 struct hostap_80211_rx_status *rx_stats) in handle_deauth() argument 1810 struct hostap_80211_rx_status *rx_stats) in handle_disassoc() argument 1928 struct hostap_80211_rx_status *rx_stats) in handle_pspoll() argument 2045 struct hostap_80211_rx_status *rx_stats) in handle_beacon() argument 2200 struct hostap_80211_rx_status *rx_stats) in handle_ap_item() argument 2248 handle_beacon(local, skb, rx_stats); in handle_ap_item() 2254 handle_pspoll(local, hdr, rx_stats); in handle_ap_item() 2284 handle_assoc(local, skb, rx_stats, 0); in handle_ap_item() [all …]
|
D | hostap_ap.h | 219 struct hostap_80211_rx_status *rx_stats); 244 struct hostap_80211_rx_status *rx_stats, 253 struct hostap_80211_rx_status *rx_stats);
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 650 struct netvsc_stats *rx_stats; in netvsc_recv_callback() local 684 rx_stats = this_cpu_ptr(net_device_ctx->rx_stats); in netvsc_recv_callback() 685 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback() 686 rx_stats->packets++; in netvsc_recv_callback() 687 rx_stats->bytes += packet->total_data_buflen; in netvsc_recv_callback() 690 ++rx_stats->broadcast; in netvsc_recv_callback() 692 ++rx_stats->multicast; in netvsc_recv_callback() 693 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback() 930 struct netvsc_stats *rx_stats = per_cpu_ptr(ndev_ctx->rx_stats, in netvsc_get_stats64() local 942 start = u64_stats_fetch_begin_irq(&rx_stats->syncp); in netvsc_get_stats64() [all …]
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 41 struct libipw_rx_stats *rx_stats) in libipw_monitor_rx() argument 171 struct libipw_rx_stats *rx_stats, u16 type, in libipw_rx_frame_mgmt() argument 191 hostap_rx(skb2->dev, skb2, rx_stats); in libipw_rx_frame_mgmt() 198 prism2_rx_80211(ieee->apdev, skb, rx_stats, PRISM2_RX_MGMT); in libipw_rx_frame_mgmt() 210 hostap_rx(skb->dev, skb, rx_stats); in libipw_rx_frame_mgmt() 333 struct libipw_rx_stats *rx_stats) in libipw_rx() argument 384 if (rx_stats->mask & LIBIPW_STATMASK_RSSI) { in libipw_rx() 385 wstats.level = rx_stats->signal; in libipw_rx() 390 if (rx_stats->mask & LIBIPW_STATMASK_NOISE) { in libipw_rx() 391 wstats.noise = rx_stats->noise; in libipw_rx() [all …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 215 struct rtllib_rx_stats *rx_stats, u16 type, in rtllib_rx_frame_mgmt() argument 224 rx_stats->len = skb->len; in rtllib_rx_frame_mgmt() 225 rtllib_rx_mgt(ieee, skb, rx_stats); in rtllib_rx_frame_mgmt() 230 rtllib_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in rtllib_rx_frame_mgmt() 772 struct rtllib_rx_stats *rx_stats, in parse_subframe() argument 794 if (rx_stats->bContainHTC) in parse_subframe() 904 struct rtllib_rx_stats *rx_stats) in rtllib_rx_get_hdrlen() argument 916 rx_stats->bContainHTC = true; in rtllib_rx_get_hdrlen() 920 rx_stats->bIsQosData = true; in rtllib_rx_get_hdrlen() 1090 struct rtllib_rx_stats *rx_stats, in rtllib_rx_decrypt() argument [all …]
|
/drivers/net/ |
D | xen-netfront.c | 158 struct netfront_stats __percpu *rx_stats; member 946 struct netfront_stats *rx_stats = this_cpu_ptr(queue->info->rx_stats); in handle_incoming_queue() local 967 u64_stats_update_begin(&rx_stats->syncp); in handle_incoming_queue() 968 rx_stats->packets++; in handle_incoming_queue() 969 rx_stats->bytes += skb->len; in handle_incoming_queue() 970 u64_stats_update_end(&rx_stats->syncp); in handle_incoming_queue() 1093 struct netfront_stats *rx_stats = per_cpu_ptr(np->rx_stats, cpu); in xennet_get_stats64() local 1105 start = u64_stats_fetch_begin_irq(&rx_stats->syncp); in xennet_get_stats64() 1106 rx_packets = rx_stats->packets; in xennet_get_stats64() 1107 rx_bytes = rx_stats->bytes; in xennet_get_stats64() [all …]
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 48 struct ieee80211_rx_stats *rx_stats) in ieee80211_monitor_rx() argument 213 struct ieee80211_rx_stats *rx_stats, u16 type, in ieee80211_rx_frame_mgmt() argument 222 rx_stats->len = skb->len; in ieee80211_rx_frame_mgmt() 223 ieee80211_rx_mgt(ieee,(struct rtl_80211_hdr_4addr *)skb->data,rx_stats); in ieee80211_rx_frame_mgmt() 231 ieee80211_rx_frame_softmac(ieee, skb, rx_stats, type, stype); in ieee80211_rx_frame_mgmt() 255 hostap_rx(skb2->dev, skb2, rx_stats); in ieee80211_rx_frame_mgmt() 262 prism2_rx_80211(ieee->apdev, skb, rx_stats, PRISM2_RX_MGMT); in ieee80211_rx_frame_mgmt() 274 hostap_rx(skb->dev, skb, rx_stats); in ieee80211_rx_frame_mgmt() 771 struct ieee80211_rx_stats *rx_stats, in parse_subframe() argument 798 if (rx_stats->bContainHTC) { in parse_subframe() [all …]
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 98 rx_ring->rx_stats.alloc_failed++; in fm10k_alloc_mapped_page() 111 rx_ring->rx_stats.alloc_failed++; in fm10k_alloc_mapped_page() 338 rx_ring->rx_stats.alloc_failed++; in fm10k_fetch_rx_buffer() 388 ring->rx_stats.csum_err++; in fm10k_rx_checksum() 400 ring->rx_stats.csum_good++; in fm10k_rx_checksum() 547 rx_ring->rx_stats.switch_errors++; in fm10k_cleanup_headers() 549 rx_ring->rx_stats.drops++; in fm10k_cleanup_headers() 551 rx_ring->rx_stats.pp_errors++; in fm10k_cleanup_headers() 553 rx_ring->rx_stats.link_errors++; in fm10k_cleanup_headers() 555 rx_ring->rx_stats.length_errors++; in fm10k_cleanup_headers() [all …]
|
D | fm10k_pci.c | 451 alloc_failed += rx_ring->rx_stats.alloc_failed; in fm10k_update_stats() 452 rx_csum_errors += rx_ring->rx_stats.csum_err; in fm10k_update_stats() 453 rx_errors += rx_ring->rx_stats.errors; in fm10k_update_stats() 454 hw_csum_rx_good += rx_ring->rx_stats.csum_good; in fm10k_update_stats() 455 rx_switch_errors += rx_ring->rx_stats.switch_errors; in fm10k_update_stats() 456 rx_drops += rx_ring->rx_stats.drops; in fm10k_update_stats() 457 rx_pp_errors += rx_ring->rx_stats.pp_errors; in fm10k_update_stats() 458 rx_link_errors += rx_ring->rx_stats.link_errors; in fm10k_update_stats() 459 rx_length_errors += rx_ring->rx_stats.length_errors; in fm10k_update_stats()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | debug.c | 38 memset(&il->rx_stats, 0, sizeof(struct traffic_stats)); in il_clear_traffic_stats() 53 stats = &il->rx_stats; in il_update_stats() 311 il_get_mgmt_string(cnt), il->rx_stats.mgmt[cnt]); in il_dbgfs_rx_stats_read() 317 il_get_ctrl_string(cnt), il->rx_stats.ctrl[cnt]); in il_dbgfs_rx_stats_read() 322 il->rx_stats.data_cnt); in il_dbgfs_rx_stats_read() 325 il->rx_stats.data_bytes); in il_dbgfs_rx_stats_read() 1323 DEBUGFS_READ_FILE_OPS(rx_stats); 1376 DEBUGFS_ADD_FILE(rx_stats, dir_debug, S_IRUSR); in il_dbgfs_register()
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 588 struct rtl8139_stats rx_stats; member 797 u64_stats_init(&tp->rx_stats.syncp); in rtl8139_init_board() 2057 u64_stats_update_begin(&tp->rx_stats.syncp); in rtl8139_rx() 2058 tp->rx_stats.packets++; in rtl8139_rx() 2059 tp->rx_stats.bytes += pkt_size; in rtl8139_rx() 2060 u64_stats_update_end(&tp->rx_stats.syncp); in rtl8139_rx() 2542 start = u64_stats_fetch_begin_irq(&tp->rx_stats.syncp); in rtl8139_get_stats64() 2543 stats->rx_packets = tp->rx_stats.packets; in rtl8139_get_stats64() 2544 stats->rx_bytes = tp->rx_stats.bytes; in rtl8139_get_stats64() 2545 } while (u64_stats_fetch_retry_irq(&tp->rx_stats.syncp, start)); in rtl8139_get_stats64()
|
/drivers/net/ethernet/via/ |
D | via-rhine.c | 477 struct rhine_stats rx_stats; member 938 u64_stats_init(&rp->rx_stats.syncp); in rhine_init_one_common() 2144 u64_stats_update_begin(&rp->rx_stats.syncp); in rhine_rx() 2145 rp->rx_stats.bytes += pkt_len; in rhine_rx() 2146 rp->rx_stats.packets++; in rhine_rx() 2147 u64_stats_update_end(&rp->rx_stats.syncp); in rhine_rx() 2238 start = u64_stats_fetch_begin_irq(&rp->rx_stats.syncp); in rhine_get_stats64() 2239 stats->rx_packets = rp->rx_stats.packets; in rhine_get_stats64() 2240 stats->rx_bytes = rp->rx_stats.bytes; in rhine_get_stats64() 2241 } while (u64_stats_fetch_retry_irq(&rp->rx_stats.syncp, start)); in rhine_get_stats64()
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 341 memset(&rx_ring->rx_stats, 0x0, sizeof(rx_ring->rx_stats)); in ena_setup_rx_resources() 420 rx_ring->rx_stats.page_alloc_fail++; in ena_alloc_rx_page() 429 rx_ring->rx_stats.dma_mapping_err++; in ena_alloc_rx_page() 501 rx_ring->rx_stats.refil_partial++; in ena_refill_rx_bufs() 810 rx_ring->rx_stats.skb_alloc_fail++; in ena_rx_skb() 844 rx_ring->rx_stats.skb_alloc_fail++; in ena_rx_skb() 901 rx_ring->rx_stats.bad_csum++; in ena_rx_checksum() 914 rx_ring->rx_stats.bad_csum++; in ena_rx_checksum() 1026 rx_ring->rx_stats.bytes += total_len; in ena_clean_rx_irq() 1027 rx_ring->rx_stats.cnt += work_done; in ena_clean_rx_irq() [all …]
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 501 struct mvm_statistics_rx *rx_stats) in iwl_mvm_update_rx_statistics() argument 505 mvm->rx_stats = *rx_stats; in iwl_mvm_update_rx_statistics()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 632 rx_ring->rx_stats.page_reuse_count++; in i40e_alloc_mapped_page() 639 rx_ring->rx_stats.alloc_page_failed++; in i40e_alloc_mapped_page() 651 rx_ring->rx_stats.alloc_page_failed++; in i40e_alloc_mapped_page() 1119 rx_ring->rx_stats.alloc_buff_failed++; in i40evf_fetch_rx_buffer() 1143 rx_ring->rx_stats.page_reuse_count++; in i40evf_fetch_rx_buffer() 1186 rx_ring->rx_stats.non_eop_descs++; in i40e_is_non_eop()
|
/drivers/net/ethernet/cavium/thunder/ |
D | thunder_bgx.h | 224 u64 rx_stats[BGX_RX_STATS_COUNT]; member
|