Home
last modified time | relevance | path

Searched refs:tx_packets (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/linux/arch/s390/appldata/
H A Dappldata_net_sum.c43 u64 tx_packets; /* total packets transmitted */ member
64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local
72 tx_packets = 0; in appldata_get_net_sum_data()
88 tx_packets += stats->tx_packets; in appldata_get_net_sum_data()
102 net_data->tx_packets = tx_packets; in appldata_get_net_sum_data()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_common.c332 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()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c76 u64 tx_packets; member
516 u8 prio_bitmap, u64 *tx_packets, in mlxsw_sp_qdisc_bstats_per_priority_get() argument
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
548 &tx_packets, &tx_bytes); in mlxsw_sp_qdisc_collect_tc_stats()
550 *p_tx_packets += tx_packets; in mlxsw_sp_qdisc_collect_tc_stats()
560 u64 tx_bytes, u64 tx_packets, in mlxsw_sp_qdisc_update_stats() argument
567 tx_packets -= stats_base->tx_packets; in mlxsw_sp_qdisc_update_stats()
571 _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); in mlxsw_sp_qdisc_update_stats()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c41 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()
/linux/drivers/net/
H A Dmhi_net.c23 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()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mirror.c128 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()
/linux/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c54 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()
/linux/net/sched/
H A Dsch_teql.c58 unsigned long tx_packets; member
319 master->tx_packets++; in teql_master_xmit()
408 stats->tx_packets = m->tx_packets; in teql_master_stats64()
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c29 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhv_vhca_stats.c12 u64 tx_packets; member
28 data->tx_packets += stats->sq[tc].packets; in mlx5e_hv_vhca_fill_ring_stats()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_stats.h58 u32 tx_packets; member
136 ICSSG_MIIG_STATS(tx_packets, true),
/linux/include/linux/
H A Dif_link.h11 __u64 tx_packets; member
/linux/drivers/net/wireless/virtual/
H A Dvirt_wifi.c217 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()
/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c56 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()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c465 pcpu_stats->tx_packets++; in netvsc_vf_xmit()
1268 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local
1274 tx_packets = stats->tx_packets; in netvsc_get_vf_stats()
1280 tot->tx_packets += tx_packets; in netvsc_get_vf_stats()
1304 this_tot->vf_tx_packets = stats->tx_packets; in netvsc_get_pcpu_stats()
1309 this_tot->tx_packets = this_tot->vf_tx_packets; in netvsc_get_pcpu_stats()
1332 this_tot->tx_packets += packets; in netvsc_get_pcpu_stats()
1364 t->tx_packets += vf_tot.tx_packets; in netvsc_get_stats64()
1384 t->tx_packets += packets; in netvsc_get_stats64()
1456 offsetof(struct netvsc_ethtool_pcpu_stats, tx_packets) },
[all …]
/linux/drivers/net/xen-netback/
H A Dinterface.c279 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()
/linux/include/uapi/linux/
H A Dmpls.h67 __u64 tx_packets; /* total packets transmitted */ member
H A Dhdlcdrv.h45 unsigned long tx_packets; member
/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmain.h43 u64 tx_packets; member
/linux/drivers/net/netdevsim/
H A Dnetdev.c94 ns->tx_packets++; in nsim_start_xmit()
134 stats->tx_packets = ns->tx_packets; in nsim_get_stats64()
585 stats->packets = rtstats.tx_packets - !!rtstats.tx_packets; in nsim_get_queue_stats_tx()
599 tx->packets = !!rtstats.tx_packets; in nsim_get_base_stats()
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-net.c97 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()
785 s->tx_packets = pstats->txframecount_gb; in xlgmac_get_stats64()
1038 unsigned int tx_packets = 0, tx_bytes = 0; in xlgmac_tx_poll() local
1078 tx_packets += desc_data->tx.packets; in xlgmac_tx_poll()
1093 netdev_tx_completed_queue(txq, tx_packets, tx_bytes); in xlgmac_tx_poll()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_mirror.c230 new_stats.tx_packets - old_stats->pkts, in sparx5_mirror_stats()
236 old_stats->pkts = new_stats.tx_packets; in sparx5_mirror_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c133 s.tx_packets += sq_stats->packets; in mlx5i_grp_sw_update_stats()
143 priv->stats.sw.tx_packets = s.tx_packets; in mlx5i_grp_sw_update_stats()
157 stats->tx_packets = sstats->tx_packets; in mlx5i_get_stats()
/linux/include/net/
H A Dfq.h59 u32 tx_packets; member
/linux/drivers/net/ethernet/sfc/
H A Def100_rep.h20 atomic64_t rx_packets, tx_packets; member

12345678910>>...18