Home
last modified time | relevance | path

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

12345678910>>...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()
/drivers/net/
Difb.c44 u64 rx_packets; member
140 packets = txp->rx_packets; in ifb_stats64()
143 stats->rx_packets += packets; in ifb_stats64()
244 txp->rx_packets++; in ifb_xmit()
Dthunderbolt.c120 u64 rx_packets; member
745 unsigned int rx_packets = 0; in tbnet_poll() local
747 while (rx_packets < budget) { in tbnet_poll()
816 rx_packets++; in tbnet_poll()
826 net->stats.rx_packets += rx_packets; in tbnet_poll()
831 if (rx_packets >= budget) in tbnet_poll()
834 napi_complete_done(napi, rx_packets); in tbnet_poll()
838 return rx_packets; in tbnet_poll()
1152 stats->rx_packets = net->stats.rx_packets; in tbnet_get_stats64()
Dvsockmon.c60 dev_lstats_read(dev, &stats->rx_packets, &stats->rx_bytes); in vsockmon_get_stats64()
Dnlmon.c57 stats->rx_packets = packets; in nlmon_get_stats64()
/drivers/net/can/
Dvcan.c76 stats->rx_packets++; in vcan_rx()
107 stats->rx_packets++; in vcan_tx()
/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()
141 rpkts = repr_stats->rx_packets; in nfp_repr_get_host_stats64()
148 stats->rx_packets += rpkts; in nfp_repr_get_host_stats64()
Dnfp_net_repr.h34 u64 rx_packets; member
/drivers/infiniband/hw/hfi1/
Dvnic_main.c112 stats->netstats.rx_packets += qnstats->rx_packets; in hfi1_vnic_update_stats()
134 netdev->stats.rx_packets = stats->netstats.rx_packets; in hfi1_vnic_update_stats()
202 stats->netstats.rx_packets++; in hfi1_vnic_update_rx_counters()
Dipoib.h138 netstats->rx_packets += packets; in hfi1_ipoib_update_rx_netstats()
/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()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c432 ndev->stats.rx_packets++; in __lb_other_process()
452 unsigned long rx_packets = ndev->stats.rx_packets; in __lb_clean_rings() local
461 ret = (int)(ndev->stats.rx_packets - rx_packets); in __lb_clean_rings()
462 ndev->stats.rx_packets = rx_packets; in __lb_clean_rings()
855 p[0] = net_stats->rx_packets; in hns_get_ethtool_stats()
/drivers/thunderbolt/
Dctl.c31 struct ctl_pkg *rx_packets[TB_CTL_RX_PKG_COUNT]; member
637 ctl->rx_packets[i] = tb_ctl_pkg_alloc(ctl); in tb_ctl_alloc()
638 if (!ctl->rx_packets[i]) in tb_ctl_alloc()
640 ctl->rx_packets[i]->frame.callback = tb_ctl_rx_callback; in tb_ctl_alloc()
671 tb_ctl_pkg_free(ctl->rx_packets[i]); in tb_ctl_free()
688 tb_ctl_rx_submit(ctl->rx_packets[i]); in tb_ctl_start()
/drivers/net/hyperv/
Dnetvsc_drv.c1286 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local
1291 rx_packets = stats->rx_packets; in netvsc_get_vf_stats()
1297 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1321 this_tot->vf_rx_packets = stats->rx_packets; in netvsc_get_pcpu_stats()
1326 this_tot->rx_packets = this_tot->vf_rx_packets; in netvsc_get_pcpu_stats()
1359 this_tot->rx_packets += packets; in netvsc_get_pcpu_stats()
1380 t->rx_packets += vf_tot.rx_packets; in netvsc_get_stats64()
1411 t->rx_packets += packets; in netvsc_get_stats64()
1468 offsetof(struct netvsc_ethtool_pcpu_stats, rx_packets) },
1484 { "vf_rx_packets", offsetof(struct netvsc_vf_pcpu_stats, rx_packets) },
[all …]
/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()
/drivers/net/xen-netback/
Dinterface.c276 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()
/drivers/net/ethernet/apm/xgene-v2/
Dmain.h44 u64 rx_packets; member
/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_pf_device.h47 u64 rx_packets; member
/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c202 src_node->stats.rx_packets++; in mwifiex_uap_queue_bridged_pkt()
212 priv->stats.rx_packets++; in mwifiex_uap_queue_bridged_pkt()
306 src_node->stats.rx_packets++; in mwifiex_uap_recv_packet()
/drivers/net/wireless/mediatek/mt76/
Dtestmode.c396 u64 rx_packets = 0; in mt76_testmode_dump_stats() local
401 rx_packets += td->rx_stats.packets[i]; in mt76_testmode_dump_stats()
408 nla_put_u64_64bit(msg, MT76_TM_STATS_ATTR_RX_PACKETS, rx_packets, in mt76_testmode_dump_stats()
/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c36 u64 rx_packets; member
354 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in mlxsw_sx_port_get_stats64() local
363 rx_packets = p->rx_packets; in mlxsw_sx_port_get_stats64()
369 stats->rx_packets += rx_packets; in mlxsw_sx_port_get_stats64()
1344 pcpu_stats->rx_packets++; in mlxsw_sx_rx_listener_func()
/drivers/net/ethernet/mellanox/mlx4/
Den_port.c168 dev->stats.rx_packets = packets; in mlx4_en_fold_software_stats()
298 stats->rx_packets = p_stats->rx_packets_phy; in mlx4_en_DUMP_ETH_STATS()
392 priv->pf_stats.rx_packets = be64_to_cpu(tmp_counter_stats.rx_frames); in mlx4_en_DUMP_ETH_STATS()
Dmlx4_stats.h28 unsigned long rx_packets; member
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c214 dev->stats.rx_packets++; in monitor_rx()
491 local->apdevstats.rx_packets++; in hostap_rx_frame_mgmt()
739 iface->stats.rx_packets++; in hostap_80211_rx()
1021 local->apdevstats.rx_packets++; in hostap_80211_rx()
1065 dev->stats.rx_packets++; in hostap_80211_rx()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c88 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_packets) },
144 s->rx_packets = stats64.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
193 vport_stats->rx_packets = vf_stats.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
195 vport_stats->tx_packets = vf_stats.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()

12345678910>>...21