Home
last modified time | relevance | path

Searched refs:rx_bytes (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c399 u64 rx_bytes = 0; in fm10k_update_hw_stats_rx_q() local
413 rx_bytes = fm10k_read_hw_stats_48b(hw, in fm10k_update_hw_stats_rx_q()
415 &q->rx_bytes); in fm10k_update_hw_stats_rx_q()
430 q->rx_bytes.count += rx_bytes; in fm10k_update_hw_stats_rx_q()
436 fm10k_update_hw_base_48b(&q->rx_bytes, rx_bytes); in fm10k_update_hw_stats_rx_q()
/drivers/atm/
Dhorizon.c934 unsigned int rx_bytes; in rx_schedule() local
942 rx_bytes = dev->rx_bytes; in rx_schedule()
962 if (rx_bytes) { in rx_schedule()
964 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule()
968 if (rx_bytes <= MAX_TRANSFER_COUNT) { in rx_schedule()
970 dev->rx_bytes = 0; in rx_schedule()
973 dev->rx_bytes = rx_bytes - MAX_TRANSFER_COUNT; in rx_schedule()
974 rx_bytes = MAX_TRANSFER_COUNT; in rx_schedule()
989 rx_bytes = dev->rx_iovec->iov_len; in rx_schedule()
993 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule()
[all …]
/drivers/spi/
Dspi-img-spfi.c237 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local
246 rx_bytes = xfer->len; in img_spfi_start_pio()
252 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio()
261 if (rx_bytes >= 4) in img_spfi_start_pio()
262 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
264 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
269 rx_bytes -= rx_count; in img_spfi_start_pio()
274 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
Dspi-cadence.c125 int rx_bytes; member
356 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
366 xspi->rx_bytes--; in cdns_spi_irq()
413 xspi->rx_bytes = transfer->len; in cdns_transfer_one()
Dspi-qup.c149 int rx_bytes; member
219 while (controller->rx_bytes < xfer->len) { in spi_qup_fifo_read()
228 controller->rx_bytes += w_size; in spi_qup_fifo_read()
232 for (idx = 0; idx < w_size; idx++, controller->rx_bytes++) { in spi_qup_fifo_read()
241 rx_buf[controller->rx_bytes] = word >> shift; in spi_qup_fifo_read()
440 if (controller->rx_bytes == xfer->len || error) in spi_qup_qup_irq()
632 controller->rx_bytes = 0; in spi_qup_transfer_one()
Dspi-zynqmp-gqspi.c708 u32 rx_bytes, rx_rem, config_reg; in zynq_qspi_setuprxdma() local
724 rx_bytes = (xqspi->bytes_to_receive - rx_rem); in zynq_qspi_setuprxdma()
727 rx_bytes, DMA_FROM_DEVICE); in zynq_qspi_setuprxdma()
731 xqspi->dma_rx_bytes = rx_bytes; in zynq_qspi_setuprxdma()
749 zynqmp_gqspi_write(xqspi, GQSPI_QSPIDMA_DST_SIZE_OFST, rx_bytes); in zynq_qspi_setuprxdma()
/drivers/net/
Difb.c48 u64 rx_bytes; member
145 bytes = txp->rx_bytes; in ifb_stats64()
148 stats->rx_bytes += bytes; in ifb_stats64()
249 txp->rx_bytes += skb->len; in ifb_xmit()
/drivers/net/can/
Dvcan.c75 stats->rx_bytes += cfd->len; in vcan_rx()
108 stats->rx_bytes += cfd->len; in vcan_tx()
/drivers/net/ethernet/mellanox/mlx4/
Den_port.c178 stats->rx_bytes = 0; in mlx4_en_DUMP_ETH_STATS()
184 stats->rx_bytes += priv->rx_ring[i]->bytes; in mlx4_en_DUMP_ETH_STATS()
218 stats->rx_bytes = en_stats_adder(&mlx4_en_stats->ROCT_prio_0, in mlx4_en_DUMP_ETH_STATS()
335 priv->pf_stats.rx_bytes = be64_to_cpu(tmp_counter_stats.rx_bytes); in mlx4_en_DUMP_ETH_STATS()
Dmlx4_stats.h28 unsigned long rx_bytes; member
/drivers/net/ethernet/marvell/
Dmvneta.c359 u64 rx_bytes; member
651 u64 rx_bytes; in mvneta_get_stats64() local
659 rx_bytes = cpu_stats->rx_bytes; in mvneta_get_stats64()
665 stats->rx_bytes += rx_bytes; in mvneta_get_stats64()
1902 int rx_bytes, err; in mvneta_rx_swbm() local
1906 rx_bytes = rx_desc->data_size - (ETH_FCS_LEN + MVNETA_MH_SIZE); in mvneta_rx_swbm()
1919 if (rx_bytes <= rx_copybreak) { in mvneta_rx_swbm()
1921 skb = netdev_alloc_skb_ip_align(dev, rx_bytes); in mvneta_rx_swbm()
1928 rx_bytes, in mvneta_rx_swbm()
1930 memcpy(skb_put(skb, rx_bytes), in mvneta_rx_swbm()
[all …]
/drivers/net/fjes/
Dfjes_ethtool.c46 FJES_STAT("rx_bytes", stats64.rx_bytes),
47 FJES_STAT("tx_bytes", stats64.rx_bytes),
/drivers/net/xen-netback/
Dinterface.c228 u64 rx_bytes = 0; in xenvif_get_stats() local
241 rx_bytes += queue->stats.rx_bytes; in xenvif_get_stats()
250 vif->dev->stats.rx_bytes = rx_bytes; in xenvif_get_stats()
/drivers/net/ethernet/ti/
Dnetcp_ethss.c242 u32 rx_bytes; member
273 u32 rx_bytes; member
408 u32 rx_bytes; member
590 u32 rx_bytes; member
744 GBE_STATSA_INFO(rx_bytes),
779 GBE_STATSB_INFO(rx_bytes),
814 GBE_STATSC_INFO(rx_bytes),
849 GBE_STATSD_INFO(rx_bytes),
954 GBENU_STATS_HOST(rx_bytes),
1011 GBENU_STATS_P1(rx_bytes),
[all …]
/drivers/net/wireless/marvell/libertas/
Drx.c150 dev->stats.rx_bytes += skb->len; in lbs_process_rxed_packet()
271 dev->stats.rx_bytes += skb->len; in process_rxed_802_11_packet()
/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c69 u64 rx_bytes; member
360 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in mlxsw_sx_port_get_stats64() local
370 rx_bytes = p->rx_bytes; in mlxsw_sx_port_get_stats64()
376 stats->rx_bytes += rx_bytes; in mlxsw_sx_port_get_stats64()
1241 pcpu_stats->rx_bytes += skb->len; in mlxsw_sx_rx_listener_func()
Dcore.c710 u64 rx_packets, rx_bytes; in mlxsw_core_rx_stats_dbg_read() local
722 rx_bytes = 0; in mlxsw_core_rx_stats_dbg_read()
733 rx_bytes += tmp_rx_bytes; in mlxsw_core_rx_stats_dbg_read()
737 i, rx_packets, rx_bytes, rx_dropped); in mlxsw_core_rx_stats_dbg_read()
749 rx_bytes = 0; in mlxsw_core_rx_stats_dbg_read()
760 rx_bytes += tmp_rx_bytes; in mlxsw_core_rx_stats_dbg_read()
764 i, rx_packets, rx_bytes, rx_dropped); in mlxsw_core_rx_stats_dbg_read()
/drivers/net/ipvlan/
Dipvlan_main.c306 u64 rx_pkts, rx_bytes, rx_mcast, tx_pkts, tx_bytes; in ipvlan_get_stats64() local
316 rx_bytes = pcptr->rx_bytes; in ipvlan_get_stats64()
324 s->rx_bytes += rx_bytes; in ipvlan_get_stats64()
Dipvlan.h55 u64 rx_bytes; member
/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.h126 u64 rx_bytes; member
133 u64 rx_bytes; member
/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c192 src_node->stats.rx_bytes += skb->len; in mwifiex_uap_queue_bridged_pkt()
202 priv->stats.rx_bytes += skb->len; in mwifiex_uap_queue_bridged_pkt()
288 src_node->stats.rx_bytes += skb->len; in mwifiex_uap_recv_packet()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c504 u64 tx_bytes = 0, rx_bytes = 0, tx_packets = 0, rx_packets = 0; in hns_ae_update_stats() local
521 rx_bytes += queue->rx_ring.stats.rx_bytes; in hns_ae_update_stats()
563 net_stats->rx_bytes = rx_bytes; in hns_ae_update_stats()
Dhns_ethtool.c455 ndev->stats.rx_bytes += skb->len; in __lb_other_process()
475 unsigned long rx_bytes = ndev->stats.rx_bytes; in __lb_clean_rings() local
485 ndev->stats.rx_bytes = rx_bytes; in __lb_clean_rings()
873 p[2] = net_stats->rx_bytes; in hns_get_ethtool_stats()
/drivers/net/ethernet/tile/
Dtilepro.c156 u64 rx_bytes; /* total bytes received */ member
791 stats->rx_bytes += len; in tile_net_poll_aux()
2055 u64 rx_bytes = 0, tx_bytes = 0; in tile_net_get_stats64() local
2073 trx_bytes = cpu_stats->rx_bytes; in tile_net_get_stats64()
2081 rx_bytes += trx_bytes; in tile_net_get_stats64()
2089 stats->rx_bytes = rx_bytes; in tile_net_get_stats64()
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c216 dev->stats.rx_bytes += len; in monitor_rx()
493 local->apdevstats.rx_bytes += skb->len; in hostap_rx_frame_mgmt()
741 iface->stats.rx_bytes += skb->len; in hostap_80211_rx()
1023 local->apdevstats.rx_bytes += skb->len; in hostap_80211_rx()
1067 dev->stats.rx_bytes += skb->len; in hostap_80211_rx()

12345678910>>...20