| /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/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 | 20 u64_stats_t rx_packets; member 108 stats->rx_packets = u64_stats_read(&mhi_netdev->stats.rx_packets); in mhi_ndo_get_stats64() 225 u64_stats_inc(&mhi_netdev->stats.rx_packets); in mhi_net_dl_callback()
|
| /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/meta/fbnic/ |
| H A D | fbnic_netdev.c | 390 u64 rx_bytes, rx_packets, rx_dropped = 0, rx_errors = 0; in fbnic_get_stats64() local 441 rx_packets = stats->packets; in fbnic_get_stats64() 467 stats64->rx_packets = rx_packets; in fbnic_get_stats64() 484 rx_packets = stats->packets; in fbnic_get_stats64() 490 stats64->rx_packets += rx_packets; in fbnic_get_stats64()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_repr.c | 48 stats->rx_packets++; in ice_repr_inc_rx_stats() 75 stats->rx_packets = eth_stats->rx_unicast + eth_stats->rx_broadcast + in ice_repr_get_stats64() 188 rpkts = repr_stats->rx_packets; in ice_repr_sp_stats64() 195 stats->rx_packets += rpkts; in ice_repr_sp_stats64()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | vnic_main.c | 70 stats->netstats.rx_packets += qnstats->rx_packets; in hfi1_vnic_update_stats() 92 netdev->stats.rx_packets = stats->netstats.rx_packets; in hfi1_vnic_update_stats() 160 stats->netstats.rx_packets++; in hfi1_vnic_update_rx_counters()
|
| /linux/drivers/thunderbolt/ |
| H A D | ctl.c | 45 struct ctl_pkg *rx_packets[TB_CTL_RX_PKG_COUNT]; member 684 ctl->rx_packets[i] = tb_ctl_pkg_alloc(ctl); in tb_ctl_alloc() 685 if (!ctl->rx_packets[i]) in tb_ctl_alloc() 687 ctl->rx_packets[i]->frame.callback = tb_ctl_rx_callback; in tb_ctl_alloc() 719 tb_ctl_pkg_free(ctl->rx_packets[i]); in tb_ctl_free() 737 tb_ctl_rx_submit(ctl->rx_packets[i]); in tb_ctl_start()
|
| /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/include/linux/ |
| H A D | if_link.h | 10 __u64 rx_packets; member
|
| /linux/drivers/net/wwan/ |
| H A D | mhi_wwan_mbim.c | 53 u64_stats_t rx_packets; member 344 u64_stats_inc(&link->rx_packets); in mhi_mbim_rx() 472 stats->rx_packets = u64_stats_read(&link->rx_packets); in mhi_mbim_ndo_get_stats64()
|
| /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/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/include/uapi/linux/ |
| H A D | mpls.h | 66 __u64 rx_packets; /* total packets received */ member
|
| H A D | hdlcdrv.h | 47 unsigned long rx_packets; member
|
| /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/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/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/renesas/ |
| H A D | ravb_main.c | 804 int rx_packets = 0; in ravb_rx_gbeth() local 820 if (rx_packets == budget || desc->die_dt == DT_FEMPTY) in ravb_rx_gbeth() 925 rx_packets++; in ravb_rx_gbeth() 944 stats->rx_packets += rx_packets; in ravb_rx_gbeth() 945 return rx_packets; in ravb_rx_gbeth() 981 int rx_packets = 0; in ravb_rx_rcar() local 990 if (rx_packets == budget || desc->die_dt == DT_FEMPTY) in ravb_rx_rcar() 1042 rx_packets++; in ravb_rx_rcar() 1055 stats->rx_packets += rx_packets; in ravb_rx_rcar() 1056 return rx_packets; in ravb_rx_rcar() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ef100_rep.h | 20 atomic64_t rx_packets, tx_packets; member
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | uap_txrx.c | 190 src_node->stats.rx_packets++; in mwifiex_uap_queue_bridged_pkt() 200 priv->stats.rx_packets++; in mwifiex_uap_queue_bridged_pkt() 294 src_node->stats.rx_packets++; in mwifiex_uap_recv_packet()
|