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.c62 void mlx5e_ptpsq_track_metadata(struct mlx5e_ptpsq *ptpsq, u8 metadata) in mlx5e_ptpsq_track_metadata() argument
64 mlx5e_ptp_port_ts_cqe_list_add(ptpsq->ts_cqe_pending_list, metadata); in mlx5e_ptpsq_track_metadata()
150 static void mlx5e_ptpsq_mark_ts_cqes_undelivered(struct mlx5e_ptpsq *ptpsq, in mlx5e_ptpsq_mark_ts_cqes_undelivered() argument
153 struct mlx5e_ptp_port_ts_cqe_list *cqe_list = ptpsq->ts_cqe_pending_list; in mlx5e_ptpsq_mark_ts_cqes_undelivered()
155 struct mlx5e_ptp_metadata_map *metadata_map = &ptpsq->metadata_map; in mlx5e_ptpsq_mark_ts_cqes_undelivered()
172 ptpsq->cq_stats->lost_cqe++; in mlx5e_ptpsq_mark_ts_cqes_undelivered()
177 #define PTP_WQE_CTR2IDX(val) ((val) & ptpsq->ts_cqe_ctr_mask)
179 static void mlx5e_ptp_handle_ts_cqe(struct mlx5e_ptpsq *ptpsq, in mlx5e_ptp_handle_ts_cqe() argument
185 struct mlx5e_ptp_port_ts_cqe_list *pending_cqe_list = ptpsq->ts_cqe_pending_list; in mlx5e_ptp_handle_ts_cqe()
188 struct mlx5e_txqsq *sq = &ptpsq->txqsq; in mlx5e_ptp_handle_ts_cqe()
[all …]
H A Dreporter_tx.c168 struct mlx5e_ptpsq *ptpsq = ctx; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() local
175 if (!test_bit(MLX5E_SQ_STATE_RECOVERING, &ptpsq->txqsq.state)) in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
178 priv = ptpsq->txqsq.priv; in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
262 struct mlx5e_ptpsq *ptpsq, int tc) in mlx5e_tx_reporter_build_diagnose_output_ptpsq() argument
266 mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, &ptpsq->txqsq, tc); in mlx5e_tx_reporter_build_diagnose_output_ptpsq()
268 mlx5e_health_cq_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_build_diagnose_output_ptpsq()
291 struct mlx5e_ptpsq *ptpsq) in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() argument
294 mlx5e_health_cq_common_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_diagnose_generic_tx_port_ts()
313 generic_ptpsq = &ptp_ch->ptpsq[0]; in mlx5e_tx_reporter_diagnose_common_config()
354 &ptp_ch->ptpsq[tc], in mlx5e_tx_reporter_diagnose()
[all …]
H A Dptp.h52 struct mlx5e_ptpsq ptpsq[MLX5_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);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h458 struct mlx5e_ptpsq *ptpsq; member
H A Den_rep.c610 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()
H A Den_stats.c1201 ptp->ptpsq[i].cq_stats; in mlx5e_stats_ts_get()
H A Den_main.c3153 struct mlx5e_txqsq *sq = &c->ptpsq[tc].txqsq; in mlx5e_build_txq_maps()