Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c60 struct vdpasim_cq_stats cq_stats; member
189 u64_stats_update_begin(&net->cq_stats.syncp); in vdpasim_handle_cvq()
190 net->cq_stats.requests += requests; in vdpasim_handle_cvq()
191 net->cq_stats.errors += errors; in vdpasim_handle_cvq()
192 net->cq_stats.successes += successes; in vdpasim_handle_cvq()
193 u64_stats_update_end(&net->cq_stats.syncp); in vdpasim_handle_cvq()
376 start = u64_stats_fetch_begin(&net->cq_stats.syncp); in vdpasim_net_get_stats()
377 cq_requests = net->cq_stats.requests; in vdpasim_net_get_stats()
378 cq_successes = net->cq_stats.successes; in vdpasim_net_get_stats()
379 cq_errors = net->cq_stats.errors; in vdpasim_net_get_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dptp.h35 struct mlx5e_ptp_cq_stats *cq_stats; member
150 struct mlx5e_ptp_cq_stats *cq_stats);
H A Dptp.c84 struct mlx5e_ptp_cq_stats *cq_stats) in mlx5e_skb_cb_hwtstamp_tx() argument
94 cq_stats->abort++; in mlx5e_skb_cb_hwtstamp_tx()
95 cq_stats->abort_abs_diff_ns += diff; in mlx5e_skb_cb_hwtstamp_tx()
105 struct mlx5e_ptp_cq_stats *cq_stats) in mlx5e_skb_cb_hwtstamp_handler() argument
123 mlx5e_skb_cb_hwtstamp_tx(skb, cq_stats); in mlx5e_skb_cb_hwtstamp_handler()
198 ptpsq->cq_stats->late_cqe++; in mlx5e_ptp_handle_ts_cqe()
204 ptpsq->cq_stats->err_cqe++; in mlx5e_ptp_handle_ts_cqe()
210 hwtstamp, ptpsq->cq_stats); in mlx5e_ptp_handle_ts_cqe()
211 ptpsq->cq_stats->cqe++; in mlx5e_ptp_handle_ts_cqe()
581 ptpsq->cq_stats = &c->priv->ptp_stats.cq[tc]; in mlx5e_ptp_open_tx_cqs()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c757 hwts.hwtstamp, sq->ptpsq->cq_stats); in mlx5e_consume_skb()