| /linux/arch/s390/appldata/ |
| H A D | appldata_net_sum.c | 44 u64 rx_bytes; /* total bytes received */ member 64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local 73 rx_bytes = 0; in appldata_get_net_sum_data() 89 rx_bytes += stats->rx_bytes; in appldata_get_net_sum_data() 103 net_data->rx_bytes = rx_bytes; in appldata_get_net_sum_data()
|
| /linux/include/net/ |
| H A D | kcm.h | 31 unsigned long long rx_bytes; member 43 unsigned long long rx_bytes; member 188 SAVE_MUX_STATS(rx_bytes); in aggregate_mux_stats()
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_vnd.c | 28 pcpu_ptr->stats.rx_bytes += skb->len; in rmnet_vnd_rx_fixup() 148 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64() 155 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64()
|
| /linux/drivers/spi/ |
| H A D | spi-cadence.c | 127 int rx_bytes; member 398 nrx = clamp(nrx, 0, xspi->rx_bytes); in cdns_spi_process_fifo() 401 xspi->rx_bytes -= nrx; in cdns_spi_process_fifo() 451 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq() 511 xspi->rx_bytes = transfer->len; in cdns_transfer_one() 531 xspi->rx_bytes = DIV_ROUND_UP(xspi->rx_bytes, xspi->n_bytes); in cdns_transfer_one()
|
| H A D | spi-geni-qcom.c | 743 unsigned int rx_bytes; in geni_spi_handle_rx() local 750 rx_bytes = (rx_fifo_status & RX_FIFO_WC_MSK) * bytes_per_fifo_word; in geni_spi_handle_rx() 755 rx_bytes -= bytes_per_fifo_word - rx_last_byte_valid; in geni_spi_handle_rx() 760 for (i = 0; i < DIV_ROUND_UP(rx_bytes, bytes_per_fifo_word); i++) in geni_spi_handle_rx() 765 if (mas->rx_rem_bytes < rx_bytes) in geni_spi_handle_rx() 766 rx_bytes = mas->rx_rem_bytes; in geni_spi_handle_rx() 769 while (i < rx_bytes) { in geni_spi_handle_rx() 775 bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i); in geni_spi_handle_rx() 780 mas->rx_rem_bytes -= rx_bytes; in geni_spi_handle_rx()
|
| /linux/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim_net.c | 202 u64 tx_pkts = 0, rx_pkts = 0, tx_bytes = 0, rx_bytes = 0; in vdpasim_net_work() local 256 rx_bytes += write; in vdpasim_net_work() 278 net->rx_stats.bytes += rx_bytes; in vdpasim_net_work() 290 u64 rx_pkts, rx_bytes, rx_errors, rx_overruns, rx_drops; in vdpasim_net_get_stats() local 301 rx_bytes = net->rx_stats.bytes; in vdpasim_net_get_stats() 317 rx_bytes, VDPA_ATTR_PAD)) in vdpasim_net_get_stats()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_repr.c | 50 stats->rx_bytes += len; in ice_repr_inc_rx_stats() 79 stats->rx_bytes = eth_stats->rx_bytes; in ice_repr_get_stats64() 188 rbytes = repr_stats->rx_bytes; in ice_repr_sp_stats64() 195 stats->rx_bytes += rbytes; in ice_repr_sp_stats64()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_xsk.c | 348 unsigned int *rx_bytes, in i40e_handle_xdp_result_zc() argument 355 *rx_bytes = xdp_get_buff_len(xdp_buff); in i40e_handle_xdp_result_zc() 379 *rx_bytes = 0; in i40e_handle_xdp_result_zc() 385 *rx_bytes = 0; in i40e_handle_xdp_result_zc() 429 unsigned int rx_bytes; in i40e_clean_rx_irq_zc() local 477 &rx_bytes, xdp_res, &failure); in i40e_clean_rx_irq_zc() 482 total_rx_bytes += rx_bytes; in i40e_clean_rx_irq_zc()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_police.c | 173 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_add() 216 new_stats.rx_bytes - old_stats->bytes, in lan966x_police_port_stats() 222 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_stats()
|
| H A D | lan966x_mirror.c | 115 new_stats.rx_bytes - old_stats->bytes, in lan966x_mirror_port_stats() 121 old_stats->bytes = new_stats.rx_bytes; in lan966x_mirror_port_stats()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-bcm-iproc.c | 202 unsigned int rx_bytes; member 370 u32 rx_bytes = 0; in bcm_iproc_i2c_slave_read() local 373 while (rx_bytes < MAX_SLAVE_RX_PER_INT) { in bcm_iproc_i2c_slave_read() 405 rx_bytes++; in bcm_iproc_i2c_slave_read() 555 while (iproc_i2c->rx_bytes < msg->len) { in bcm_iproc_i2c_read_valid_bytes() 562 msg->buf[iproc_i2c->rx_bytes] = in bcm_iproc_i2c_read_valid_bytes() 564 iproc_i2c->rx_bytes++; in bcm_iproc_i2c_read_valid_bytes() 615 bytes_left = msg->len - iproc_i2c->rx_bytes; in bcm_iproc_i2c_read() 919 iproc_i2c->rx_bytes = 0; in bcm_iproc_i2c_xfer_internal()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.c | 54 stats->rx_bytes += len; in nfp_repr_inc_rx_stats() 69 stats->rx_bytes = readq(mem + NFP_MAC_STATS_RX_IN_OCTETS); in nfp_repr_phy_port_get_stats64() 85 stats->rx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_TX_OCTETS); in nfp_repr_vnic_get_stats64() 141 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64() 148 stats->rx_bytes += rbytes; in nfp_repr_get_host_stats64()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_tc_edt.sh | |
| /linux/drivers/net/ |
| H A D | mhi_net.c | 21 u64_stats_t rx_bytes; member 109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes); in mhi_ndo_get_stats64() 226 u64_stats_add(&mhi_netdev->stats.rx_bytes, skb->len); in mhi_net_dl_callback()
|
| /linux/drivers/net/can/ |
| H A D | vcan.c | 77 stats->rx_bytes += can_skb_get_data_len(skb); in vcan_rx() 111 stats->rx_bytes += len; in vcan_tx()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 390 u64 rx_bytes, rx_packets, rx_dropped = 0, rx_errors = 0; in fbnic_get_stats64() local 440 rx_bytes = stats->bytes; in fbnic_get_stats64() 466 stats64->rx_bytes = rx_bytes; in fbnic_get_stats64() 483 rx_bytes = stats->bytes; in fbnic_get_stats64() 489 stats64->rx_bytes += rx_bytes; in fbnic_get_stats64()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | vnic_main.c | 71 stats->netstats.rx_bytes += qnstats->rx_bytes; in hfi1_vnic_update_stats() 93 netdev->stats.rx_bytes = stats->netstats.rx_bytes; in hfi1_vnic_update_stats() 161 stats->netstats.rx_bytes += skb->len + ETH_FCS_LEN; in hfi1_vnic_update_rx_counters()
|
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_rx.c | 418 u32 pkt, rx_bytes, desc_used; in __octep_oq_process_rx() local 425 rx_bytes = 0; in __octep_oq_process_rx() 465 rx_bytes += buff_info->len; in __octep_oq_process_rx() 512 oq->stats->bytes += rx_bytes; in __octep_oq_process_rx()
|
| /linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
| H A D | octep_vf_rx.c | 375 u32 pkt, rx_bytes, desc_used; in __octep_vf_oq_process_rx() local 381 rx_bytes = 0; in __octep_vf_oq_process_rx() 412 rx_bytes += buff_info->len; in __octep_vf_oq_process_rx() 477 oq->stats->bytes += rx_bytes; in __octep_vf_oq_process_rx()
|
| /linux/net/kcm/ |
| H A D | kcmproc.c | 116 kcm->stats.rx_bytes, in kcm_format_sock() 197 mux->stats.rx_bytes, in kcm_format_mux() 298 mux_stats.rx_bytes, in kcm_stats_seq_show()
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | rx.c | 146 dev->stats.rx_bytes += skb->len; in lbs_process_rxed_packet() 261 dev->stats.rx_bytes += skb->len; in process_rxed_802_11_packet()
|
| /linux/drivers/net/hyperv/ |
| H A D | netvsc_drv.c | 1235 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local 1242 rx_bytes = stats->rx_bytes; in netvsc_get_vf_stats() 1248 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats() 1272 this_tot->vf_rx_bytes = stats->rx_bytes; in netvsc_get_pcpu_stats() 1277 this_tot->rx_bytes = this_tot->vf_rx_bytes; in netvsc_get_pcpu_stats() 1308 this_tot->rx_bytes += bytes; in netvsc_get_pcpu_stats() 1332 t->rx_bytes += vf_tot.rx_bytes; in netvsc_get_stats64() 1361 t->rx_bytes += bytes; in netvsc_get_stats64() 1421 offsetof(struct netvsc_ethtool_pcpu_stats, rx_bytes) }, 1436 { "vf_rx_bytes", offsetof(struct netvsc_vf_pcpu_stats, rx_bytes) }, [all …]
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_rx.c | 358 u64 pkt_len = 0, rx_bytes = 0; in rxq_recv() local 427 rx_bytes += pkt_len; in rxq_recv() 431 rx_bytes += ((num_lro - 1) * in rxq_recv() 451 rxq->rxq_stats.bytes += rx_bytes; in rxq_recv()
|
| /linux/drivers/net/wwan/ |
| H A D | mhi_wwan_mbim.c | 54 u64_stats_t rx_bytes; member 345 u64_stats_add(&link->rx_bytes, skbn->len); in mhi_mbim_rx() 473 stats->rx_bytes = u64_stats_read(&link->rx_bytes); in mhi_mbim_ndo_get_stats64()
|
| /linux/drivers/net/xen-netback/ |
| H A D | interface.c | 276 u64 rx_bytes = 0; in xenvif_get_stats() local 288 rx_bytes += queue->stats.rx_bytes; in xenvif_get_stats() 296 vif->dev->stats.rx_bytes = rx_bytes; in xenvif_get_stats()
|