Home
last modified time | relevance | path

Searched refs:rx_packets (Results 1 – 25 of 603) sorted by relevance

12345678910>>...25

/linux-6.6.21/arch/s390/appldata/
Dappldata_net_sum.c42 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/
Dfm10k_common.c383 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/
Dl2tp_eth.c44 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/
Dlan966x_police.c174 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()
Dlan966x_mirror.c116 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/
Dvcan.c76 stats->rx_packets++; in vcan_rx()
110 stats->rx_packets++; in vcan_tx()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c351 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/
Dnfp_net_repr.c53 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/
Dmhi_net.c20 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/
Doctep_ethtool.c137 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/
Dmain.c124 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/
Dicssg_stats.h17 u32 rx_packets; member
95 ICSSG_STATS(rx_packets, true),
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhv_vhca_stats.c10 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/
Dtsnep_ethtool.c21 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/
Dvnic_main.c70 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/
Dif_link.h10 __u64 rx_packets; member
/linux-6.6.21/include/uapi/linux/
Dmpls.h66 __u64 rx_packets; /* total packets received */ member
Dhdlcdrv.h47 unsigned long rx_packets; member
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c431 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/
Dmain.h45 u64 rx_packets; member
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Drx.c147 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/
Dcn23xx_pf_device.h47 u64 rx_packets; member
/linux-6.6.21/drivers/thunderbolt/
Dctl.c42 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/
Dmhi_wwan_mbim.c51 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/
Def100_rep.h20 atomic64_t rx_packets, tx_packets; member

12345678910>>...25