Home
last modified time | relevance | path

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

12345678910>>...24

/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c275 unsigned int *rx_packets, in i40e_handle_xdp_result_zc() argument
283 *rx_packets = 1; in i40e_handle_xdp_result_zc()
307 *rx_packets = 0; in i40e_handle_xdp_result_zc()
313 *rx_packets = 0; in i40e_handle_xdp_result_zc()
347 unsigned int rx_packets; in i40e_clean_rx_irq_zc() local
382 i40e_handle_xdp_result_zc(rx_ring, bi, rx_desc, &rx_packets, in i40e_clean_rx_irq_zc()
386 total_rx_packets += rx_packets; in i40e_clean_rx_irq_zc()
/linux-5.19.10/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c20 u64 rx_packets; member
46 u64 rx_packets; member
177 tsnep_stats.rx_packets += adapter->rx[i].packets; in tsnep_ethtool_get_ethtool_stats()
199 tsnep_rx_queue_stats.rx_packets = adapter->rx[i].packets; in tsnep_ethtool_get_ethtool_stats()
/linux-5.19.10/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-5.19.10/drivers/net/can/
Dvcan.c76 stats->rx_packets++; in vcan_rx()
108 stats->rx_packets++; in vcan_tx()
/linux-5.19.10/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-5.19.10/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()
Dthunderbolt.c120 u64 rx_packets; member
761 unsigned int rx_packets = 0; in tbnet_poll() local
763 while (rx_packets < budget) { in tbnet_poll()
832 rx_packets++; in tbnet_poll()
842 net->stats.rx_packets += rx_packets; in tbnet_poll()
847 if (rx_packets >= budget) in tbnet_poll()
850 napi_complete_done(napi, rx_packets); in tbnet_poll()
854 return rx_packets; in tbnet_poll()
1181 stats->rx_packets = net->stats.rx_packets; in tbnet_get_stats64()
/linux-5.19.10/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()
165 rx_packets += oq->stats.packets; in octep_get_ethtool_stats()
170 data[i++] = rx_packets; in octep_get_ethtool_stats()
/linux-5.19.10/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-5.19.10/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-5.19.10/include/linux/
Dif_link.h10 __u64 rx_packets; member
/linux-5.19.10/include/uapi/linux/
Dmpls.h66 __u64 rx_packets; /* total packets received */ member
Dhdlcdrv.h47 unsigned long rx_packets; member
/linux-5.19.10/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()
866 p[0] = net_stats->rx_packets; in hns_get_ethtool_stats()
/linux-5.19.10/drivers/net/ethernet/apm/xgene-v2/
Dmain.h44 u64 rx_packets; member
/linux-5.19.10/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_pf_device.h47 u64 rx_packets; member
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c123 s.rx_packets += rq_stats->packets; in mlx5i_grp_sw_update_stats()
137 priv->stats.sw.rx_packets = s.rx_packets; in mlx5i_grp_sw_update_stats()
151 stats->rx_packets = sstats->rx_packets; in mlx5i_get_stats()
/linux-5.19.10/drivers/net/xen-netback/
Dinterface.c288 u64 rx_packets = 0; in xenvif_get_stats() local
300 rx_packets += queue->stats.rx_packets; in xenvif_get_stats()
308 vif->dev->stats.rx_packets = rx_packets; in xenvif_get_stats()
/linux-5.19.10/drivers/net/hyperv/
Dnetvsc_drv.c1263 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local
1268 rx_packets = stats->rx_packets; in netvsc_get_vf_stats()
1274 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1298 this_tot->vf_rx_packets = stats->rx_packets; in netvsc_get_pcpu_stats()
1303 this_tot->rx_packets = this_tot->vf_rx_packets; in netvsc_get_pcpu_stats()
1337 this_tot->rx_packets += packets; in netvsc_get_pcpu_stats()
1358 t->rx_packets += vf_tot.rx_packets; in netvsc_get_stats64()
1390 t->rx_packets += packets; in netvsc_get_stats64()
1447 offsetof(struct netvsc_ethtool_pcpu_stats, rx_packets) },
1463 { "vf_rx_packets", offsetof(struct netvsc_vf_pcpu_stats, rx_packets) },
[all …]
/linux-5.19.10/net/mac802154/
Drx.c92 sdata->dev->stats.rx_packets++; in ieee802154_subif_frame()
243 sdata->dev->stats.rx_packets++; in ieee802154_monitors_rx()

12345678910>>...24