Home
last modified time | relevance | path

Searched refs:tx_bytes (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/linux/arch/s390/appldata/
H A Dappldata_net_sum.c45 u64 tx_bytes; /* total bytes transmitted */ member
64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local
74 tx_bytes = 0; in appldata_get_net_sum_data()
90 tx_bytes += stats->tx_bytes; in appldata_get_net_sum_data()
104 net_data->tx_bytes = tx_bytes; in appldata_get_net_sum_data()
/linux/include/net/
H A Dkcm.h23 unsigned long long tx_bytes; member
33 unsigned long long tx_bytes; member
45 unsigned long long tx_bytes; member
174 SAVE_PSOCK_STATS(tx_bytes); in aggregate_psock_stats()
190 SAVE_MUX_STATS(tx_bytes); in aggregate_mux_stats()
H A Dfq.h58 u32 tx_bytes; member
/linux/drivers/spi/
H A Dspi-cadence.c126 int tx_bytes; member
399 ntx = clamp(ntx, 0, xspi->tx_bytes); in cdns_spi_process_fifo()
402 xspi->tx_bytes -= ntx; in cdns_spi_process_fifo()
463 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
471 if (xspi->tx_bytes < xspi->tx_fifo_depth >> 1) in cdns_spi_irq()
474 if (xspi->tx_bytes) { in cdns_spi_irq()
522 xspi->tx_bytes = transfer->len; in cdns_transfer_one()
531 if (xspi->tx_bytes > xspi->tx_fifo_depth) in cdns_transfer_one()
536 xspi->tx_bytes = DIV_ROUND_UP(xspi->tx_bytes, xspi->n_bytes); in cdns_transfer_one()
H A Dspi-uniphier.c33 unsigned int tx_bytes; member
224 priv->tx_bytes = priv->rx_bytes = t->len; in uniphier_spi_setup_transfer()
254 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in uniphier_spi_send()
255 priv->tx_bytes -= wsize; in uniphier_spi_send()
325 DIV_ROUND_UP(priv->rx_bytes - priv->tx_bytes, bpw); in uniphier_spi_fill_tx_fifo()
502 while (priv->tx_bytes) { in uniphier_spi_transfer_one_poll()
505 while ((priv->rx_bytes - priv->tx_bytes) > 0) { in uniphier_spi_transfer_one_poll()
615 (priv->rx_bytes - priv->tx_bytes) > 0) in uniphier_spi_handler()
619 (priv->rx_bytes != priv->tx_bytes)) { in uniphier_spi_handler()
/linux/drivers/i2c/busses/
H A Di2c-bcm-iproc.c200 unsigned int tx_bytes; member
571 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_send() local
576 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_send()
577 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_send()
579 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_send()
606 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_send()
846 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_internal() local
867 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_internal()
869 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_internal()
878 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_internal()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c75 u64 tx_bytes; member
516 u64 *tx_bytes) in mlxsw_sp_qdisc_bstats_per_priority_get() argument
521 *tx_bytes = 0; in mlxsw_sp_qdisc_bstats_per_priority_get()
525 *tx_bytes += xstats->tx_bytes[i]; in mlxsw_sp_qdisc_bstats_per_priority_get()
537 u64 tx_bytes, tx_packets; in mlxsw_sp_qdisc_collect_tc_stats() local
547 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_collect_tc_stats()
550 *p_tx_bytes += tx_bytes; in mlxsw_sp_qdisc_collect_tc_stats()
559 u64 tx_bytes, u64 tx_packets, in mlxsw_sp_qdisc_update_stats() argument
565 tx_bytes -= stats_base->tx_bytes; in mlxsw_sp_qdisc_update_stats()
570 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_update_stats()
[all …]
/linux/net/kcm/
H A Dkcmproc.c118 kcm->stats.tx_bytes, in kcm_format_sock()
148 psock->stats.tx_bytes, in kcm_format_psock()
199 mux->stats.tx_bytes, in kcm_format_mux()
300 mux_stats.tx_bytes, in kcm_stats_seq_show()
332 psock_stats.tx_bytes, in kcm_stats_seq_show()
/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c41 pcpu_ptr->stats.tx_bytes += len; in rmnet_vnd_tx_fixup_len()
150 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64()
157 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c405 u64 tx_bytes, tx_packets, tx_dropped = 0; in fbnic_get_stats64() local
416 tx_bytes = stats->bytes; in fbnic_get_stats64()
428 stats64->tx_bytes = tx_bytes; in fbnic_get_stats64()
441 tx_bytes = stats->bytes; in fbnic_get_stats64()
446 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64()
514 tx_bytes = stats->bytes; in fbnic_get_stats64()
519 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_repr.c33 stats->tx_bytes += len; in ice_repr_inc_tx_stats()
78 stats->tx_bytes = eth_stats->tx_bytes; in ice_repr_get_stats64()
185 tbytes = repr_stats->tx_bytes; in ice_repr_sp_stats64()
192 stats->tx_bytes += tbytes; in ice_repr_sp_stats64()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c129 int budget, int *tx_pkts, int *tx_bytes) in otx2_snd_pkt_handler() argument
161 *tx_bytes += skb->len; in otx2_snd_pkt_handler()
467 int tx_pkts = 0, tx_bytes = 0, qidx; in otx2_tx_napi_handler() local
501 cqe, budget, &tx_pkts, &tx_bytes); in otx2_tx_napi_handler()
532 netdev_tx_completed_queue(txq, tx_pkts, tx_bytes); in otx2_tx_napi_handler()
550 u64 tx_frames, tx_bytes; in otx2_adjust_adaptive_coalese() local
555 tx_bytes = OTX2_GET_TX_STATS(TX_OCTS); in otx2_adjust_adaptive_coalese()
560 rx_bytes + tx_bytes, in otx2_adjust_adaptive_coalese()
1320 int tx_pkts = 0, tx_bytes = 0; in otx2_cleanup_tx_cqes() local
1345 tx_bytes += skb->len; in otx2_cleanup_tx_cqes()
[all …]
H A Drep.h27 u64 tx_bytes; member
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c42 stats->tx_bytes += len; in nfp_repr_inc_tx_stats()
65 stats->tx_bytes = readq(mem + NFP_MAC_STATS_TX_OUT_OCTETS); in nfp_repr_phy_port_get_stats64()
81 stats->tx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_RX_OCTETS); in nfp_repr_vnic_get_stats64()
138 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64()
145 stats->tx_bytes += tbytes; in nfp_repr_get_host_stats64()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mirror.c127 new_stats.tx_bytes - old_stats->bytes, in lan966x_mirror_port_stats()
133 old_stats->bytes = new_stats.tx_bytes; in lan966x_mirror_port_stats()
/linux/drivers/net/
H A Dmhi_net.c23 u64_stats_t tx_bytes; member
115 stats->tx_bytes = u64_stats_read(&mhi_netdev->stats.tx_bytes); in mhi_ndo_get_stats64()
259 u64_stats_add(&mhi_netdev->stats.tx_bytes, mhi_res->bytes_xferd); in mhi_net_ul_callback()
/linux/drivers/net/netdevsim/
H A Dpsp.c54 atomic64_add(psp_len, &ns->psp.tx_bytes); in nsim_do_psp()
200 stats->tx_bytes = atomic64_read(&ns->psp.tx_bytes); in nsim_get_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhv_vhca_stats.c13 u64 tx_bytes; member
29 data->tx_bytes += stats->sq[tc].bytes; in mlx5e_hv_vhca_fill_ring_stats()
/linux/include/linux/
H A Dif_link.h13 __u64 tx_bytes; member
/linux/include/uapi/linux/
H A Dmpls.h69 __u64 tx_bytes; /* total bytes transmitted */ member
/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmain.h44 u64 tx_bytes; member
/linux/drivers/net/ovpn/
H A Dio.c361 unsigned int tx_bytes = 0; in ovpn_net_xmit() local
422 tx_bytes += curr->len; in ovpn_net_xmit()
435 ovpn_peer_stats_increment_tx(&peer->vpn_stats, tx_bytes); in ovpn_net_xmit()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dcn23xx_pf_device.h50 u64 tx_bytes; member
/linux/net/sched/
H A Dsch_teql.c58 unsigned long tx_bytes; member
357 master->tx_bytes += length; in teql_master_xmit()
458 stats->tx_bytes = m->tx_bytes; in teql_master_stats64()
/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c56 u64_stats_t tx_bytes; member
479 stats->tx_bytes = u64_stats_read(&link->tx_bytes); in mhi_mbim_ndo_get_stats64()
509 u64_stats_add(&link->tx_bytes, mhi_res->bytes_xferd); in mhi_mbim_ul_callback()

12345678910>>...19