| /drivers/net/ethernet/intel/fm10k/ |
| A D | fm10k_common.c | 332 u32 id_tx, id_tx_prev, tx_packets; in fm10k_update_hw_stats_tx_q() local 340 tx_packets = fm10k_read_hw_stats_32b(hw, FM10K_QPTC(idx), in fm10k_update_hw_stats_tx_q() 341 &q->tx_packets); in fm10k_update_hw_stats_tx_q() 343 if (tx_packets) in fm10k_update_hw_stats_tx_q() 359 q->tx_packets.count += tx_packets; in fm10k_update_hw_stats_tx_q() 364 fm10k_update_hw_base_32b(&q->tx_packets, tx_packets); in fm10k_update_hw_stats_tx_q()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_qdisc.c | 76 u64 tx_packets; member 521 *tx_packets = 0; in mlxsw_sp_qdisc_bstats_per_priority_get() 525 *tx_packets += xstats->tx_packets[i]; in mlxsw_sp_qdisc_bstats_per_priority_get() 538 u64 tx_bytes, tx_packets; in mlxsw_sp_qdisc_collect_tc_stats() local 567 tx_packets -= stats_base->tx_packets; in mlxsw_sp_qdisc_update_stats() 578 stats_base->tx_packets += tx_packets; in mlxsw_sp_qdisc_update_stats() 586 u64 tx_packets = 0; in mlxsw_sp_qdisc_get_tc_stats() local 903 u64 tx_packets = 0; in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() local 911 mlxsw_sp_qdisc->stats_base.tx_packets = tx_packets; in mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() 1446 u64 tx_packets = 0; in mlxsw_sp_qdisc_get_prio_stats() local [all …]
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_netdev.c | 410 u64 tx_bytes, tx_packets, tx_dropped = 0; in fbnic_get_stats64() local 422 tx_packets = stats->packets; in fbnic_get_stats64() 434 stats64->tx_packets = tx_packets; in fbnic_get_stats64() 447 tx_packets = stats->packets; in fbnic_get_stats64() 452 stats64->tx_packets += tx_packets; in fbnic_get_stats64()
|
| /drivers/net/ethernet/netronome/nfp/ |
| A D | nfp_net_repr.c | 41 stats->tx_packets++; in nfp_repr_inc_tx_stats() 64 stats->tx_packets = readq(mem + NFP_MAC_STATS_TX_FRAMES_TRANSMITTED_OK); in nfp_repr_phy_port_get_stats64() 80 stats->tx_packets = readq(port->vnic + NFP_NET_CFG_STATS_RX_FRAMES); in nfp_repr_vnic_get_stats64() 139 tpkts = repr_stats->tx_packets; in nfp_repr_get_host_stats64() 146 stats->tx_packets += tpkts; in nfp_repr_get_host_stats64()
|
| /drivers/net/ |
| A D | mhi_net.c | 23 u64_stats_t tx_packets; member 115 stats->tx_packets = u64_stats_read(&mhi_netdev->stats.tx_packets); in mhi_ndo_get_stats64() 259 u64_stats_inc(&mhi_netdev->stats.tx_packets); in mhi_net_ul_callback()
|
| /drivers/net/ethernet/marvell/octeon_ep/ |
| A D | octep_ethtool.c | 131 u64 tx_packets, tx_bytes; in octep_get_ethtool_stats() local 137 tx_packets = 0; in octep_get_ethtool_stats() 141 tx_packets = 0; in octep_get_ethtool_stats() 154 tx_packets += oct->stats_iq[q].instr_completed; in octep_get_ethtool_stats() 164 data[i++] = tx_packets; in octep_get_ethtool_stats()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_repr.c | 31 stats->tx_packets++; in ice_repr_inc_tx_stats() 73 stats->tx_packets = eth_stats->tx_unicast + eth_stats->tx_broadcast + in ice_repr_get_stats64() 185 tpkts = repr_stats->tx_packets; in ice_repr_sp_stats64() 192 stats->tx_packets += tpkts; in ice_repr_sp_stats64()
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_mirror.c | 128 new_stats.tx_packets - old_stats->pkts, in lan966x_mirror_port_stats() 134 old_stats->pkts = new_stats.tx_packets; in lan966x_mirror_port_stats()
|
| /drivers/infiniband/hw/hfi1/ |
| A D | vnic_main.c | 54 stats->netstats.tx_packets += qnstats->tx_packets; in hfi1_vnic_update_stats() 85 netdev->stats.tx_packets = stats->netstats.tx_packets; in hfi1_vnic_update_stats() 131 stats->netstats.tx_packets++; in hfi1_vnic_update_tx_counters()
|
| /drivers/net/ethernet/engleder/ |
| A D | tsnep_ethtool.c | 29 u64 tx_packets; member 70 u64 tx_packets; member 195 tsnep_stats.tx_packets += adapter->tx[i].packets; in tsnep_ethtool_get_ethtool_stats() 231 tsnep_tx_queue_stats.tx_packets += adapter->tx[i].packets; in tsnep_ethtool_get_ethtool_stats()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | hv_vhca_stats.c | 12 u64 tx_packets; member 28 data->tx_packets += stats->sq[tc].packets; in mlx5e_hv_vhca_fill_ring_stats()
|
| /drivers/net/ethernet/ti/icssg/ |
| A D | icssg_stats.h | 58 u32 tx_packets; member 136 ICSSG_MIIG_STATS(tx_packets, true),
|
| /drivers/net/hyperv/ |
| A D | netvsc_drv.c | 432 pcpu_stats->tx_packets++; in netvsc_vf_xmit() 1235 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local 1241 tx_packets = stats->tx_packets; in netvsc_get_vf_stats() 1247 tot->tx_packets += tx_packets; in netvsc_get_vf_stats() 1271 this_tot->vf_tx_packets = stats->tx_packets; in netvsc_get_pcpu_stats() 1276 this_tot->tx_packets = this_tot->vf_tx_packets; in netvsc_get_pcpu_stats() 1299 this_tot->tx_packets += packets; in netvsc_get_pcpu_stats() 1331 t->tx_packets += vf_tot.tx_packets; in netvsc_get_stats64() 1351 t->tx_packets += packets; in netvsc_get_stats64() 1423 offsetof(struct netvsc_ethtool_pcpu_stats, tx_packets) }, [all …]
|
| /drivers/net/xen-netback/ |
| A D | interface.c | 279 u64 tx_packets = 0; in xenvif_get_stats() local 291 tx_packets += queue->stats.tx_packets; in xenvif_get_stats() 299 vif->dev->stats.tx_packets = tx_packets; in xenvif_get_stats()
|
| /drivers/net/wireless/virtual/ |
| A D | virt_wifi.c | 217 u32 tx_packets; member 335 sinfo->tx_packets = priv->tx_packets; in virt_wifi_get_station() 430 priv->tx_packets++; in virt_wifi_start_xmit()
|
| /drivers/net/wwan/ |
| A D | mhi_wwan_mbim.c | 56 u64_stats_t tx_packets; member 478 stats->tx_packets = u64_stats_read(&link->tx_packets); in mhi_mbim_ndo_get_stats64() 508 u64_stats_inc(&link->tx_packets); in mhi_mbim_ul_callback()
|
| /drivers/net/ethernet/synopsys/ |
| A D | dwc-xlgmac-net.c | 97 pkt_info->tx_packets = skb_shinfo(skb)->gso_segs; in xlgmac_prep_tso() 98 pkt_info->tx_bytes += (pkt_info->tx_packets - 1) * pkt_info->header_len; in xlgmac_prep_tso() 129 pkt_info->tx_packets = 1; in xlgmac_prep_tx_pkt() 786 s->tx_packets = pstats->txframecount_gb; in xlgmac_get_stats64() 1039 unsigned int tx_packets = 0, tx_bytes = 0; in xlgmac_tx_poll() local 1079 tx_packets += desc_data->tx.packets; in xlgmac_tx_poll() 1094 netdev_tx_completed_queue(txq, tx_packets, tx_bytes); in xlgmac_tx_poll()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| A D | ipoib.c | 136 s.tx_packets += sq_stats->packets; in mlx5i_grp_sw_update_stats() 146 priv->stats.sw.tx_packets = s.tx_packets; in mlx5i_grp_sw_update_stats() 160 stats->tx_packets = sstats->tx_packets; in mlx5i_get_stats()
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_mirror.c | 230 new_stats.tx_packets - old_stats->pkts, in sparx5_mirror_stats() 236 old_stats->pkts = new_stats.tx_packets; in sparx5_mirror_stats()
|
| /drivers/net/fjes/ |
| A D | fjes_main.c | 635 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 636 hw->ep_shm_info[my_epid].net_stats.tx_packets += 1; in fjes_xmit_frame() 645 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 646 hw->ep_shm_info[my_epid].net_stats.tx_packets += 1; in fjes_xmit_frame() 733 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 735 .tx_packets += 1; in fjes_xmit_frame() 750 adapter->stats64.tx_packets += 1; in fjes_xmit_frame() 751 hw->ep_shm_info[my_epid].net_stats.tx_packets += 1; in fjes_xmit_frame()
|
| /drivers/net/ethernet/apm/xgene-v2/ |
| A D | main.h | 43 u64 tx_packets; member
|
| /drivers/net/ethernet/cavium/liquidio/ |
| A D | cn23xx_pf_device.h | 48 u64 tx_packets; member
|
| /drivers/net/ethernet/sfc/ |
| A D | tx.c | 385 tx_queue->tx_packets += segments; in __efx_enqueue_skb() 387 tx_queue->tx_packets++; in __efx_enqueue_skb() 484 tx_queue->tx_packets++; in efx_xdp_tx_buffers()
|
| A D | ef100_rep.c | 73 atomic64_inc(&efv->stats.tx_packets); in efx_ef100_rep_xmit() 132 stats->tx_packets = atomic64_read(&efv->stats.tx_packets); in efx_ef100_rep_get_stats64()
|
| /drivers/net/wireless/intel/iwlegacy/ |
| A D | 3945-rs.c | 185 packet_count = (rs_sta->tx_packets - rs_sta->last_tx_packets) + 1; in il3945_bg_rate_scale_flush() 187 rs_sta->last_tx_packets = rs_sta->tx_packets + 1; in il3945_bg_rate_scale_flush() 462 rs_sta->tx_packets++; in il3945_rs_tx_status() 821 "rate=0x%X flush time %d\n", lq_sta->tx_packets, in il3945_sta_dbgfs_stats_table_read()
|