| /linux/arch/s390/appldata/ |
| H A D | appldata_net_sum.c | 42 u64 rx_packets; /* total packets received */ member 64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local 71 rx_packets = 0; in appldata_get_net_sum_data() 87 rx_packets += stats->rx_packets; in appldata_get_net_sum_data() 101 net_data->rx_packets = rx_packets; in appldata_get_net_sum_data()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_police.c | 174 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_add() 217 new_stats.rx_packets - old_stats->pkts, in lan966x_police_port_stats() 223 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_stats()
|
| H A D | lan966x_mirror.c | 116 new_stats.rx_packets - old_stats->pkts, in lan966x_mirror_port_stats() 122 old_stats->pkts = new_stats.rx_packets; in lan966x_mirror_port_stats()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_xsk.c | 347 unsigned int *rx_packets, in i40e_handle_xdp_result_zc() argument 354 *rx_packets = 1; in i40e_handle_xdp_result_zc() 378 *rx_packets = 0; in i40e_handle_xdp_result_zc() 384 *rx_packets = 0; in i40e_handle_xdp_result_zc() 428 unsigned int rx_packets; in i40e_clean_rx_irq_zc() local 476 i40e_handle_xdp_result_zc(rx_ring, first, rx_desc, &rx_packets, in i40e_clean_rx_irq_zc() 481 total_rx_packets += rx_packets; in i40e_clean_rx_irq_zc()
|
| /linux/drivers/net/can/ |
| H A D | vcan.c | 76 stats->rx_packets++; in vcan_rx() 110 stats->rx_packets++; in vcan_tx()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.c | 53 stats->rx_packets++; in nfp_repr_inc_rx_stats() 68 stats->rx_packets = readq(mem + NFP_MAC_STATS_RX_FRAMES_RECEIVED_OK); in nfp_repr_phy_port_get_stats64() 84 stats->rx_packets = readq(port->vnic + NFP_NET_CFG_STATS_TX_FRAMES); in nfp_repr_vnic_get_stats64() 142 rpkts = repr_stats->rx_packets; in nfp_repr_get_host_stats64() 149 stats->rx_packets += rpkts; in nfp_repr_get_host_stats64()
|
| /linux/drivers/net/ |
| H A D | mhi_net.c | 19 u64_stats_t rx_packets; member 107 stats->rx_packets = u64_stats_read(&mhi_netdev->stats.rx_packets); in mhi_ndo_get_stats64() 224 u64_stats_inc(&mhi_netdev->stats.rx_packets); in mhi_net_dl_callback()
|
| /linux/drivers/net/netdevsim/ |
| H A D | psp.c | 80 atomic64_inc(&peer_ns->psp.rx_packets); in nsim_do_psp() 199 stats->rx_packets = atomic64_read(&ns->psp.rx_packets); in nsim_get_stats()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_repr.c | 49 stats->rx_packets++; in ice_repr_inc_rx_stats() 76 stats->rx_packets = eth_stats->rx_unicast + eth_stats->rx_broadcast + in ice_repr_get_stats64() 189 rpkts = repr_stats->rx_packets; in ice_repr_sp_stats64() 196 stats->rx_packets += rpkts; in ice_repr_sp_stats64()
|
| H A D | ice_repr.h | 11 u64 rx_packets; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | hv_vhca_stats.c | 10 u64 rx_packets; member 24 data->rx_packets = stats->rq.packets; in mlx5e_hv_vhca_fill_ring_stats()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 403 u64 rx_bytes, rx_packets, rx_dropped = 0, rx_errors = 0; in fbnic_get_stats64() local 454 rx_packets = stats->packets; in fbnic_get_stats64() 480 stats64->rx_packets = rx_packets; in fbnic_get_stats64() 497 rx_packets = stats->packets; in fbnic_get_stats64() 503 stats64->rx_packets += rx_packets; in fbnic_get_stats64()
|
| /linux/drivers/net/thunderbolt/ |
| H A D | main.c | 126 u64 rx_packets; member 830 unsigned int rx_packets = 0; in tbnet_poll() local 832 while (rx_packets < budget) { in tbnet_poll() 906 rx_packets++; in tbnet_poll() 917 net->stats.rx_packets += rx_packets; in tbnet_poll() 922 if (rx_packets >= budget) in tbnet_poll() 925 napi_complete_done(napi, rx_packets); in tbnet_poll() 929 return rx_packets; in tbnet_poll() 1275 stats->rx_packets = net->stats.rx_packets; in tbnet_get_stats64()
|
| /linux/include/linux/ |
| H A D | if_link.h | 10 __u64 rx_packets; member
|
| /linux/include/uapi/linux/ |
| H A D | mpls.h | 66 __u64 rx_packets; /* total packets received */ member
|
| /linux/drivers/net/ethernet/apm/xgene-v2/ |
| H A D | main.h | 45 u64 rx_packets; member
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | cn23xx_pf_device.h | 47 u64 rx_packets; member
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | rx.c | 147 dev->stats.rx_packets++; in lbs_process_rxed_packet() 262 dev->stats.rx_packets++; in process_rxed_802_11_packet()
|
| /linux/drivers/net/wwan/ |
| H A D | mhi_wwan_mbim.c | 52 u64_stats_t rx_packets; member 343 u64_stats_inc(&link->rx_packets); in mhi_mbim_rx() 471 stats->rx_packets = u64_stats_read(&link->rx_packets); in mhi_mbim_ndo_get_stats64()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ef100_rep.h | 20 atomic64_t rx_packets, tx_packets; member
|
| /linux/drivers/net/xen-netback/ |
| H A D | interface.c | 277 u64 rx_packets = 0; in xenvif_get_stats() local 289 rx_packets += queue->stats.rx_packets; in xenvif_get_stats() 297 vif->dev->stats.rx_packets = rx_packets; in xenvif_get_stats()
|
| /linux/drivers/net/hyperv/ |
| H A D | netvsc_drv.c | 1235 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local 1240 rx_packets = stats->rx_packets; in netvsc_get_vf_stats() 1246 tot->rx_packets += rx_packets; in netvsc_get_vf_stats() 1270 this_tot->vf_rx_packets = stats->rx_packets; in netvsc_get_pcpu_stats() 1275 this_tot->rx_packets = this_tot->vf_rx_packets; in netvsc_get_pcpu_stats() 1309 this_tot->rx_packets += packets; in netvsc_get_pcpu_stats() 1330 t->rx_packets += vf_tot.rx_packets; in netvsc_get_stats64() 1362 t->rx_packets += packets; in netvsc_get_stats64() 1419 offsetof(struct netvsc_ethtool_pcpu_stats, rx_packets) }, 1435 { "vf_rx_packets", offsetof(struct netvsc_vf_pcpu_stats, rx_packets) }, [all …]
|
| /linux/net/devlink/ |
| H A D | trap.c | 13 u64_stats_t rx_packets; member 164 u64 rx_packets, rx_bytes; in devlink_trap_stats_read() local 170 rx_packets = u64_stats_read(&cpu_stats->rx_packets); in devlink_trap_stats_read() 174 u64_stats_add(&stats->rx_packets, rx_packets); in devlink_trap_stats_read() 193 u64_stats_read(&stats.rx_packets))) in devlink_trap_group_stats_put() 236 u64_stats_read(&stats.rx_packets))) in devlink_trap_stats_put() 1456 u64_stats_inc(&stats->rx_packets); in devlink_trap_stats_update()
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_mirror.c | 218 new_stats.rx_packets - old_stats->pkts, in sparx5_mirror_stats() 224 old_stats->pkts = new_stats.rx_packets; in sparx5_mirror_stats()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A D | ipoib.c | 149 s.rx_packets += rq_stats->packets; in mlx5i_grp_sw_update_stats() 163 priv->stats.sw.rx_packets = s.rx_packets; in mlx5i_grp_sw_update_stats() 177 stats->rx_packets = sstats->rx_packets; in mlx5i_get_stats()
|