| /linux/arch/s390/appldata/ |
| H A D | appldata_net_sum.c | 45 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 D | kcm.h | 23 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()
|
| /linux/drivers/net/team/ |
| H A D | team_mode_loadbalance.c | 38 u64 tx_bytes; member 200 static void lb_update_tx_stats(unsigned int tx_bytes, struct lb_priv *lb_priv, in lb_update_tx_stats() argument 212 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats() 213 hash_stats->tx_bytes += tx_bytes; in lb_update_tx_stats() 223 unsigned int tx_bytes = skb->len; in lb_transmit() local 232 lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); in lb_transmit() 454 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add() 456 acc_stats->tx_bytes += tmp.tx_bytes; in __lb_one_cpu_stats_add()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-bcm-iproc.c | 200 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() 835 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_internal() local 856 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_internal() 858 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_internal() 867 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_internal() [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-cadence.c | 126 int tx_bytes; member 397 ntx = clamp(ntx, 0, xspi->tx_bytes); in cdns_spi_process_fifo() 400 xspi->tx_bytes -= ntx; in cdns_spi_process_fifo() 451 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq() 459 if (xspi->tx_bytes < xspi->tx_fifo_depth >> 1) in cdns_spi_irq() 462 if (xspi->tx_bytes) { in cdns_spi_irq() 510 xspi->tx_bytes = transfer->len; in cdns_transfer_one() 519 if (xspi->tx_bytes > xspi->tx_fifo_depth) in cdns_transfer_one() 530 xspi->tx_bytes = DIV_ROUND_UP(xspi->tx_bytes, xspi->n_bytes); in cdns_transfer_one()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_qdisc.c | 75 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 D | kcmproc.c | 118 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/meta/fbnic/ |
| H A D | fbnic_netdev.c | 392 u64 tx_bytes, tx_packets, tx_dropped = 0; in fbnic_get_stats64() local 403 tx_bytes = stats->bytes; in fbnic_get_stats64() 415 stats64->tx_bytes = tx_bytes; in fbnic_get_stats64() 428 tx_bytes = stats->bytes; in fbnic_get_stats64() 433 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64() 501 tx_bytes = stats->bytes; in fbnic_get_stats64() 506 stats64->tx_bytes += tx_bytes; in fbnic_get_stats64()
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_vnd.c | 41 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/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 232 tx_bytes += read; in vdpasim_net_work() 272 net->tx_stats.bytes += tx_bytes; in vdpasim_net_work() 291 u64 tx_pkts, tx_bytes, tx_errors, tx_drops; in vdpasim_net_get_stats() local 343 tx_bytes = net->tx_stats.bytes; in vdpasim_net_get_stats() 358 tx_bytes, VDPA_ATTR_PAD)) in vdpasim_net_get_stats()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_repr.c | 33 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 D | otx2_txrx.c | 129 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 …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.c | 42 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/ |
| H A D | mhi_net.c | 24 u64_stats_t tx_bytes; member 116 stats->tx_bytes = u64_stats_read(&mhi_netdev->stats.tx_bytes); in mhi_ndo_get_stats64() 260 u64_stats_add(&mhi_netdev->stats.tx_bytes, mhi_res->bytes_xferd); in mhi_net_ul_callback()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_mirror.c | 127 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/infiniband/hw/hfi1/ |
| H A D | vnic_main.c | 55 stats->netstats.tx_bytes += qnstats->tx_bytes; in hfi1_vnic_update_stats() 86 netdev->stats.tx_bytes = stats->netstats.tx_bytes; in hfi1_vnic_update_stats() 132 stats->netstats.tx_bytes += skb->len + ETH_FCS_LEN; in hfi1_vnic_update_tx_counters()
|
| /linux/net/sched/ |
| H A D | sch_teql.c | 57 unsigned long tx_bytes; member 323 master->tx_bytes += length; in teql_master_xmit() 412 stats->tx_bytes = m->tx_bytes; in teql_master_stats64()
|
| /linux/drivers/usb/serial/ |
| H A D | ir-usb.c | 276 port->tx_bytes += count; in ir_write() 303 port->tx_bytes -= count; in ir_write() 320 port->tx_bytes -= urb->transfer_buffer_length - 1; in ir_write_bulk_callback()
|
| H A D | generic.c | 181 port->tx_bytes += count; in usb_serial_generic_write_start() 191 port->tx_bytes -= count; in usb_serial_generic_write_start() 259 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer() 445 port->tx_bytes -= urb->transfer_buffer_length; in usb_serial_generic_write_bulk_callback()
|
| /linux/drivers/net/ovpn/ |
| H A D | io.c | 358 unsigned int tx_bytes = 0; in ovpn_net_xmit() local 419 tx_bytes += curr->len; in ovpn_net_xmit() 432 ovpn_peer_stats_increment_tx(&peer->vpn_stats, tx_bytes); in ovpn_net_xmit()
|
| /linux/drivers/net/hyperv/ |
| H A D | netvsc_drv.c | 433 pcpu_stats->tx_bytes += len; in netvsc_vf_xmit() 1235 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local 1243 tx_bytes = stats->tx_bytes; in netvsc_get_vf_stats() 1249 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats() 1273 this_tot->vf_tx_bytes = stats->tx_bytes; in netvsc_get_pcpu_stats() 1278 this_tot->tx_bytes = this_tot->vf_tx_bytes; in netvsc_get_pcpu_stats() 1298 this_tot->tx_bytes += bytes; in netvsc_get_pcpu_stats() 1333 t->tx_bytes += vf_tot.tx_bytes; in netvsc_get_stats64() 1350 t->tx_bytes += bytes; in netvsc_get_stats64() 1425 offsetof(struct netvsc_ethtool_pcpu_stats, tx_bytes) }, [all …]
|
| /linux/drivers/net/wwan/ |
| H A D | mhi_wwan_mbim.c | 57 u64_stats_t tx_bytes; member 480 stats->tx_bytes = u64_stats_read(&link->tx_bytes); in mhi_mbim_ndo_get_stats64() 510 u64_stats_add(&link->tx_bytes, mhi_res->bytes_xferd); in mhi_mbim_ul_callback()
|
| /linux/drivers/net/xen-netback/ |
| H A D | interface.c | 278 u64 tx_bytes = 0; in xenvif_get_stats() local 290 tx_bytes += queue->stats.tx_bytes; in xenvif_get_stats() 298 vif->dev->stats.tx_bytes = tx_bytes; in xenvif_get_stats()
|
| /linux/include/linux/ |
| H A D | if_link.h | 13 __u64 tx_bytes; member
|
| /linux/include/uapi/linux/ |
| H A D | mpls.h | 69 __u64 tx_bytes; /* total bytes transmitted */ member
|