Home
last modified time | relevance | path

Searched refs:ptpsq (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dptp.c63 void mlx5e_ptpsq_track_metadata(struct mlx5e_ptpsq *ptpsq, u8 metadata) in mlx5e_ptpsq_track_metadata() argument
65 mlx5e_ptp_port_ts_cqe_list_add(ptpsq->ts_cqe_pending_list, metadata); in mlx5e_ptpsq_track_metadata()
85 struct mlx5e_ptpsq *ptpsq) in mlx5e_skb_cb_hwtstamp_tx() argument
95 struct mlx5e_txqsq *sq = &ptpsq->txqsq; in mlx5e_skb_cb_hwtstamp_tx()
97 ptpsq->cq_stats->abort++; in mlx5e_skb_cb_hwtstamp_tx()
98 ptpsq->cq_stats->abort_abs_diff_ns += diff; in mlx5e_skb_cb_hwtstamp_tx()
104 queue_work(sq->priv->wq, &ptpsq->report_unhealthy_work); in mlx5e_skb_cb_hwtstamp_tx()
115 struct mlx5e_ptpsq *ptpsq) in mlx5e_skb_cb_hwtstamp_handler() argument
133 mlx5e_skb_cb_hwtstamp_tx(skb, ptpsq); in mlx5e_skb_cb_hwtstamp_handler()
160 static void mlx5e_ptpsq_mark_ts_cqes_undelivered(struct mlx5e_ptpsq *ptpsq, in mlx5e_ptpsq_mark_ts_cqes_undelivered() argument
[all …]
H A Dreporter_tx.c195 struct mlx5e_ptpsq *ptpsq = ctx; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() local
202 if (!test_bit(MLX5E_SQ_STATE_RECOVERING, &ptpsq->txqsq.state)) in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
205 priv = ptpsq->txqsq.priv; in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
215 if (!test_bit(MLX5E_SQ_STATE_ENABLED, &ptpsq->txqsq.state)) in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
298 struct mlx5e_ptpsq *ptpsq, int tc) in mlx5e_tx_reporter_build_diagnose_output_ptpsq() argument
302 mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, &ptpsq->txqsq, tc); in mlx5e_tx_reporter_build_diagnose_output_ptpsq()
304 mlx5e_health_cq_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_build_diagnose_output_ptpsq()
327 struct mlx5e_ptpsq *ptpsq) in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() argument
330 mlx5e_health_cq_common_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_diagnose_generic_tx_port_ts()
349 generic_ptpsq = &ptp_ch->ptpsq[0]; in mlx5e_tx_reporter_diagnose_common_config()
[all …]
H A Dhealth.h21 void mlx5e_reporter_tx_ptpsq_unhealthy(struct mlx5e_ptpsq *ptpsq);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c398 if (unlikely(sq->ptpsq && in mlx5e_txwqe_complete()
402 mlx5e_ptp_metadata_fifo_pop(&sq->ptpsq->metadata_freelist); in mlx5e_txwqe_complete()
405 mlx5e_ptp_metadata_map_put(&sq->ptpsq->metadata_map, skb, in mlx5e_txwqe_complete()
409 mlx5e_ptpsq_track_metadata(sq->ptpsq, metadata_index); in mlx5e_txwqe_complete()
411 mlx5e_ptpsq_metadata_freelist_empty(sq->ptpsq)) { in mlx5e_txwqe_complete()
627 static void mlx5e_cqe_ts_id_eseg(struct mlx5e_ptpsq *ptpsq, struct sk_buff *skb, in mlx5e_cqe_ts_id_eseg() argument
632 cpu_to_be32(mlx5e_ptp_metadata_fifo_peek(&ptpsq->metadata_freelist)); in mlx5e_cqe_ts_id_eseg()
641 if (unlikely(sq->ptpsq)) in mlx5e_txwqe_build_eseg()
642 mlx5e_cqe_ts_id_eseg(sq->ptpsq, skb, eseg); in mlx5e_txwqe_build_eseg()
725 if (sq->ptpsq) { in mlx5e_consume_skb()
[all …]
H A Den.h464 struct mlx5e_ptpsq *ptpsq; member
H A Den_rep.c613 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()
H A Den_stats.c1189 ptp->ptpsq[i].cq_stats; in mlx5e_stats_ts_get()
H A Den_main.c3272 struct mlx5e_txqsq *sq = &c->ptpsq[tc].txqsq; in mlx5e_build_txq_maps()