Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dptp.c198 ptpsq->cq_stats->late_cqe++; in mlx5e_ptp_handle_ts_cqe()
204 ptpsq->cq_stats->err_cqe++; in mlx5e_ptp_handle_ts_cqe()
211 ptpsq->cq_stats->cqe++; in mlx5e_ptp_handle_ts_cqe()
219 queue_work(ptpsq->txqsq.priv->wq, &ptpsq->report_unhealthy_work); in mlx5e_ptp_handle_ts_cqe()
257 mlx5e_txqsq_wake(&ptpsq->txqsq); in mlx5e_ptp_poll_ts_cq()
319 struct mlx5e_ptpsq *ptpsq) in mlx5e_ptp_alloc_txqsq() argument
339 sq->ptpsq = ptpsq; in mlx5e_ptp_alloc_txqsq()
441 kvfree(ptpsq->metadata_map.data); in mlx5e_ptp_free_traffic_db()
449 struct mlx5e_ptpsq *ptpsq = in mlx5e_ptpsq_unhealthy_work() local
465 txqsq, tc, ptpsq); in mlx5e_ptp_open_txqsq()
[all …]
H A Dreporter_tx.c169 struct mlx5e_ptpsq *ptpsq = ctx; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() local
179 priv = ptpsq->txqsq.priv; in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
302 struct mlx5e_ptpsq *ptpsq, int tc) in mlx5e_tx_reporter_build_diagnose_output_ptpsq() argument
322 err = mlx5e_health_cq_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_build_diagnose_output_ptpsq()
374 struct mlx5e_ptpsq *ptpsq) in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() argument
410 generic_ptpsq = &ptp_ch->ptpsq[0]; in mlx5e_tx_reporter_diagnose_common_config()
471 &ptp_ch->ptpsq[tc], in mlx5e_tx_reporter_diagnose()
560 struct mlx5e_ptpsq *ptpsq = ctx; in mlx5e_tx_reporter_ptpsq_unhealthy_dump() local
674 struct mlx5e_txqsq *txqsq = &ptpsq->txqsq; in mlx5e_reporter_tx_ptpsq_unhealthy()
675 struct mlx5e_cq *ts_cq = &ptpsq->ts_cq; in mlx5e_reporter_tx_ptpsq_unhealthy()
[all …]
H A Dptp.h52 struct mlx5e_ptpsq ptpsq[MLX5E_MAX_NUM_TC]; member
117 static inline bool mlx5e_ptpsq_metadata_freelist_empty(struct mlx5e_ptpsq *ptpsq) in mlx5e_ptpsq_metadata_freelist_empty() argument
121 if (likely(!ptpsq)) in mlx5e_ptpsq_metadata_freelist_empty()
124 freelist = &ptpsq->metadata_freelist; in mlx5e_ptpsq_metadata_freelist_empty()
141 void mlx5e_ptpsq_track_metadata(struct mlx5e_ptpsq *ptpsq, u8 metadata);
H A Dhealth.h21 void mlx5e_reporter_tx_ptpsq_unhealthy(struct mlx5e_ptpsq *ptpsq);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c401 if (unlikely(sq->ptpsq && in mlx5e_txwqe_complete()
405 mlx5e_ptp_metadata_fifo_pop(&sq->ptpsq->metadata_freelist); in mlx5e_txwqe_complete()
408 mlx5e_ptp_metadata_map_put(&sq->ptpsq->metadata_map, skb, in mlx5e_txwqe_complete()
412 mlx5e_ptpsq_track_metadata(sq->ptpsq, metadata_index); in mlx5e_txwqe_complete()
414 mlx5e_ptpsq_metadata_freelist_empty(sq->ptpsq)) { in mlx5e_txwqe_complete()
663 cpu_to_be32(mlx5e_ptp_metadata_fifo_peek(&ptpsq->metadata_freelist)); in mlx5e_cqe_ts_id_eseg()
672 if (unlikely(sq->ptpsq)) in mlx5e_txwqe_build_eseg()
673 mlx5e_cqe_ts_id_eseg(sq->ptpsq, skb, eseg); in mlx5e_txwqe_build_eseg()
756 if (sq->ptpsq) in mlx5e_consume_skb()
758 hwts.hwtstamp, sq->ptpsq->cq_stats); in mlx5e_consume_skb()
[all …]
H A Den.h466 struct mlx5e_ptpsq *ptpsq; member
H A Den_rep.c550 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()
H A Den_main.c2921 struct mlx5e_txqsq *sq = &c->ptpsq[tc].txqsq; in mlx5e_build_txq_maps()