Home
last modified time | relevance | path

Searched refs:rq_stats (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c265 struct mlx5e_rq_stats *rq_stats = &channel_stats->rq; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
269 s->rx_packets += rq_stats->packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
270 s->rx_bytes += rq_stats->bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
271 s->rx_lro_packets += rq_stats->lro_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
272 s->rx_lro_bytes += rq_stats->lro_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
273 s->rx_ecn_mark += rq_stats->ecn_mark; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
274 s->rx_removed_vlan_packets += rq_stats->removed_vlan_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
275 s->rx_csum_none += rq_stats->csum_none; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
276 s->rx_csum_complete += rq_stats->csum_complete; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
277 s->rx_csum_complete_tail += rq_stats->csum_complete_tail; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
[all …]
Den_main.c3630 struct mlx5e_rq_stats *rq_stats = &channel_stats->rq; in mlx5e_fold_sw_stats64() local
3633 s->rx_packets += rq_stats->packets + xskrq_stats->packets; in mlx5e_fold_sw_stats64()
3634 s->rx_bytes += rq_stats->bytes + xskrq_stats->bytes; in mlx5e_fold_sw_stats64()
3635 s->multicast += rq_stats->mcast_packets + xskrq_stats->mcast_packets; in mlx5e_fold_sw_stats64()
/Linux-v5.10/drivers/net/
Dveth.c184 const struct veth_rq_stats *rq_stats = &priv->rq[i].stats; in veth_get_ethtool_stats() local
185 const void *stats_base = (void *)&rq_stats->vs; in veth_get_ethtool_stats()
190 start = u64_stats_fetch_begin_irq(&rq_stats->syncp); in veth_get_ethtool_stats()
195 } while (u64_stats_fetch_retry_irq(&rq_stats->syncp, start)); in veth_get_ethtool_stats()
204 const struct veth_rq_stats *rq_stats = &rcv_priv->rq[i].stats; in veth_get_ethtool_stats() local
205 const void *base = (void *)&rq_stats->vs; in veth_get_ethtool_stats()
211 start = u64_stats_fetch_begin_irq(&rq_stats->syncp); in veth_get_ethtool_stats()
216 } while (u64_stats_fetch_retry_irq(&rq_stats->syncp, start)); in veth_get_ethtool_stats()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c125 struct mlx5e_rq_stats *rq_stats; in mlx5i_grp_sw_update_stats() local
128 rq_stats = &channel_stats->rq; in mlx5i_grp_sw_update_stats()
130 s.rx_packets += rq_stats->packets; in mlx5i_grp_sw_update_stats()
131 s.rx_bytes += rq_stats->bytes; in mlx5i_grp_sw_update_stats()