/linux-6.6.21/arch/s390/appldata/ |
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.6.21/drivers/net/ethernet/intel/fm10k/ |
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.6.21/net/l2tp/ |
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.6.21/drivers/net/ethernet/microchip/lan966x/ |
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()
|
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.6.21/drivers/net/can/ |
D | vcan.c | 76 stats->rx_packets++; in vcan_rx() 110 stats->rx_packets++; in vcan_tx()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 351 unsigned int *rx_packets, in i40e_handle_xdp_result_zc() argument 358 *rx_packets = 1; in i40e_handle_xdp_result_zc() 382 *rx_packets = 0; in i40e_handle_xdp_result_zc() 388 *rx_packets = 0; in i40e_handle_xdp_result_zc() 458 unsigned int rx_packets; in i40e_clean_rx_irq_zc() local 505 i40e_handle_xdp_result_zc(rx_ring, first, rx_desc, &rx_packets, in i40e_clean_rx_irq_zc() 510 total_rx_packets += rx_packets; in i40e_clean_rx_irq_zc()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
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.6.21/drivers/net/ |
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.6.21/drivers/net/ethernet/marvell/octeon_ep/ |
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() 168 rx_packets += oq->stats.packets; in octep_get_ethtool_stats() 173 data[i++] = rx_packets; in octep_get_ethtool_stats()
|
/linux-6.6.21/drivers/net/thunderbolt/ |
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() 883 rx_packets++; in tbnet_poll() 894 net->stats.rx_packets += rx_packets; in tbnet_poll() 899 if (rx_packets >= budget) in tbnet_poll() 902 napi_complete_done(napi, rx_packets); in tbnet_poll() 906 return rx_packets; in tbnet_poll() 1248 stats->rx_packets = net->stats.rx_packets; in tbnet_get_stats64()
|
/linux-6.6.21/drivers/net/ethernet/ti/icssg/ |
D | icssg_stats.h | 17 u32 rx_packets; member 95 ICSSG_STATS(rx_packets, true),
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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.6.21/drivers/net/ethernet/engleder/ |
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.6.21/drivers/infiniband/hw/hfi1/ |
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.6.21/include/linux/ |
D | if_link.h | 10 __u64 rx_packets; member
|
/linux-6.6.21/include/uapi/linux/ |
D | mpls.h | 66 __u64 rx_packets; /* total packets received */ member
|
D | hdlcdrv.h | 47 unsigned long rx_packets; member
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/ |
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.6.21/drivers/net/ethernet/apm/xgene-v2/ |
D | main.h | 45 u64 rx_packets; member
|
/linux-6.6.21/drivers/net/wireless/marvell/libertas/ |
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.6.21/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_device.h | 47 u64 rx_packets; member
|
/linux-6.6.21/drivers/thunderbolt/ |
D | ctl.c | 42 struct ctl_pkg *rx_packets[TB_CTL_RX_PKG_COUNT]; member 654 ctl->rx_packets[i] = tb_ctl_pkg_alloc(ctl); in tb_ctl_alloc() 655 if (!ctl->rx_packets[i]) in tb_ctl_alloc() 657 ctl->rx_packets[i]->frame.callback = tb_ctl_rx_callback; in tb_ctl_alloc() 689 tb_ctl_pkg_free(ctl->rx_packets[i]); in tb_ctl_free() 707 tb_ctl_rx_submit(ctl->rx_packets[i]); in tb_ctl_start()
|
/linux-6.6.21/drivers/net/wwan/ |
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.6.21/drivers/net/ethernet/sfc/ |
D | ef100_rep.h | 20 atomic64_t rx_packets, tx_packets; member
|