/linux-6.3-rc2/arch/s390/appldata/ |
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-6.3-rc2/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_common.c | 383 u32 id_rx, id_rx_prev, rx_packets, rx_drops; in fm10k_update_hw_stats_rx_q() local 394 rx_packets = fm10k_read_hw_stats_32b(hw, FM10K_QPRC(idx), in fm10k_update_hw_stats_rx_q() 395 &q->rx_packets); in fm10k_update_hw_stats_rx_q() 397 if (rx_packets) in fm10k_update_hw_stats_rx_q() 414 q->rx_packets.count += rx_packets; in fm10k_update_hw_stats_rx_q() 420 fm10k_update_hw_base_32b(&q->rx_packets, rx_packets); in fm10k_update_hw_stats_rx_q()
|
/linux-6.3-rc2/net/l2tp/ |
A D | l2tp_eth.c | 44 atomic_long_t rx_packets; member 99 stats->rx_packets = (unsigned long)atomic_long_read(&priv->rx_packets); in l2tp_eth_get_stats64() 149 atomic_long_inc(&priv->rx_packets); in l2tp_eth_dev_recv()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_xsk.c | 323 unsigned int *rx_packets, in i40e_handle_xdp_result_zc() argument 331 *rx_packets = 1; in i40e_handle_xdp_result_zc() 355 *rx_packets = 0; in i40e_handle_xdp_result_zc() 361 *rx_packets = 0; in i40e_handle_xdp_result_zc() 401 unsigned int rx_packets; in i40e_clean_rx_irq_zc() local 436 i40e_handle_xdp_result_zc(rx_ring, bi, rx_desc, &rx_packets, in i40e_clean_rx_irq_zc() 440 total_rx_packets += rx_packets; in i40e_clean_rx_irq_zc()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_police.c | 177 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_add() 226 new_stats.rx_packets - old_stats->pkts, in lan966x_police_port_stats() 232 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_stats()
|
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-6.3-rc2/drivers/net/can/ |
A D | vcan.c | 76 stats->rx_packets++; in vcan_rx() 110 stats->rx_packets++; in vcan_tx()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
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-6.3-rc2/drivers/net/ |
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-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/ |
A D | octep_ethtool.c | 137 u64 rx_packets, rx_bytes; in octep_get_ethtool_stats() local 142 rx_packets = 0; in octep_get_ethtool_stats() 150 rx_packets = 0; in octep_get_ethtool_stats() 165 rx_packets += oq->stats.packets; in octep_get_ethtool_stats() 170 data[i++] = rx_packets; in octep_get_ethtool_stats()
|
/linux-6.3-rc2/drivers/net/thunderbolt/ |
A D | main.c | 124 u64 rx_packets; member 807 unsigned int rx_packets = 0; in tbnet_poll() local 809 while (rx_packets < budget) { in tbnet_poll() 882 rx_packets++; in tbnet_poll() 893 net->stats.rx_packets += rx_packets; in tbnet_poll() 898 if (rx_packets >= budget) in tbnet_poll() 901 napi_complete_done(napi, rx_packets); in tbnet_poll() 905 return rx_packets; in tbnet_poll() 1246 stats->rx_packets = net->stats.rx_packets; in tbnet_get_stats64()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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-6.3-rc2/drivers/net/ethernet/engleder/ |
A D | tsnep_ethtool.c | 21 u64 rx_packets; member 49 u64 rx_packets; member 181 tsnep_stats.rx_packets += adapter->rx[i].packets; in tsnep_ethtool_get_ethtool_stats() 204 tsnep_rx_queue_stats.rx_packets = adapter->rx[i].packets; in tsnep_ethtool_get_ethtool_stats()
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
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-6.3-rc2/include/linux/ |
A D | if_link.h | 10 __u64 rx_packets; member
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | mpls.h | 66 __u64 rx_packets; /* total packets received */ member
|
A D | hdlcdrv.h | 47 unsigned long rx_packets; member
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_ethtool.c | 431 ndev->stats.rx_packets++; in __lb_other_process() 451 unsigned long rx_packets = ndev->stats.rx_packets; in __lb_clean_rings() local 460 ret = (int)(ndev->stats.rx_packets - rx_packets); in __lb_clean_rings() 461 ndev->stats.rx_packets = rx_packets; in __lb_clean_rings() 863 p[0] = net_stats->rx_packets; in hns_get_ethtool_stats()
|
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene-v2/ |
A D | main.h | 44 u64 rx_packets; member
|
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/ |
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-6.3-rc2/drivers/net/ethernet/cavium/liquidio/ |
A D | cn23xx_pf_device.h | 47 u64 rx_packets; member
|
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | ctl.c | 42 struct ctl_pkg *rx_packets[TB_CTL_RX_PKG_COUNT]; member 647 ctl->rx_packets[i] = tb_ctl_pkg_alloc(ctl); in tb_ctl_alloc() 648 if (!ctl->rx_packets[i]) in tb_ctl_alloc() 650 ctl->rx_packets[i]->frame.callback = tb_ctl_rx_callback; in tb_ctl_alloc() 682 tb_ctl_pkg_free(ctl->rx_packets[i]); in tb_ctl_free() 700 tb_ctl_rx_submit(ctl->rx_packets[i]); in tb_ctl_start()
|
/linux-6.3-rc2/drivers/net/wwan/ |
A D | mhi_wwan_mbim.c | 51 u64_stats_t rx_packets; member 332 u64_stats_inc(&link->rx_packets); in mhi_mbim_rx() 460 stats->rx_packets = u64_stats_read(&link->rx_packets); in mhi_mbim_ndo_get_stats64()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | ef100_rep.h | 20 atomic64_t rx_packets, tx_packets; member
|
/linux-6.3-rc2/drivers/net/xen-netback/ |
A D | interface.c | 276 u64 rx_packets = 0; in xenvif_get_stats() local 288 rx_packets += queue->stats.rx_packets; in xenvif_get_stats() 296 vif->dev->stats.rx_packets = rx_packets; in xenvif_get_stats()
|