Searched refs:ptpsq (Results 1 – 8 of 8) sorted by relevance
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | ptp.c | 62 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() 176 #define PTP_WQE_CTR2IDX(val) ((val) & ptpsq->ts_cqe_ctr_mask) 178 static void mlx5e_ptp_handle_ts_cqe(struct mlx5e_ptpsq *ptpsq, in mlx5e_ptp_handle_ts_cqe() argument 182 struct mlx5e_ptp_port_ts_cqe_list *pending_cqe_list = ptpsq->ts_cqe_pending_list; in mlx5e_ptp_handle_ts_cqe() 185 struct mlx5e_txqsq *sq = &ptpsq->txqsq; in mlx5e_ptp_handle_ts_cqe() 195 ptpsq->metadata_map.undelivered_counter--; in mlx5e_ptp_handle_ts_cqe() [all …]
|
| D | reporter_tx.c | 169 struct mlx5e_ptpsq *ptpsq = ctx; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() local 176 if (!test_bit(MLX5E_SQ_STATE_RECOVERING, &ptpsq->txqsq.state)) in mlx5e_tx_reporter_ptpsq_unhealthy_recover() 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 314 err = mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, &ptpsq->txqsq, tc); in mlx5e_tx_reporter_build_diagnose_output_ptpsq() 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 382 err = mlx5e_health_cq_common_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() 410 generic_ptpsq = &ptp_ch->ptpsq[0]; in mlx5e_tx_reporter_diagnose_common_config() 471 &ptp_ch->ptpsq[tc], in mlx5e_tx_reporter_diagnose() [all …]
|
| D | ptp.h | 52 struct mlx5e_ptpsq ptpsq[MLX5E_MAX_NUM_TC]; member 111 static inline bool mlx5e_ptpsq_metadata_freelist_empty(struct mlx5e_ptpsq *ptpsq) in mlx5e_ptpsq_metadata_freelist_empty() argument 115 if (likely(!ptpsq)) in mlx5e_ptpsq_metadata_freelist_empty() 118 freelist = &ptpsq->metadata_freelist; in mlx5e_ptpsq_metadata_freelist_empty() 135 void mlx5e_ptpsq_track_metadata(struct mlx5e_ptpsq *ptpsq, u8 metadata);
|
| D | health.h | 21 void mlx5e_reporter_tx_ptpsq_unhealthy(struct mlx5e_ptpsq *ptpsq);
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tx.c | 397 if (unlikely(sq->ptpsq && in mlx5e_txwqe_complete() 402 mlx5e_ptpsq_track_metadata(sq->ptpsq, metadata_index); in mlx5e_txwqe_complete() 403 mlx5e_ptp_metadata_map_put(&sq->ptpsq->metadata_map, skb, in mlx5e_txwqe_complete() 406 mlx5e_ptpsq_metadata_freelist_empty(sq->ptpsq)) { in mlx5e_txwqe_complete() 498 if (unlikely(sq->ptpsq && (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP))) in mlx5e_sq_xmit_wqe() 499 mlx5e_ptp_metadata_fifo_push(&sq->ptpsq->metadata_freelist, in mlx5e_sq_xmit_wqe() 653 static void mlx5e_cqe_ts_id_eseg(struct mlx5e_ptpsq *ptpsq, struct sk_buff *skb, in mlx5e_cqe_ts_id_eseg() argument 658 cpu_to_be32(mlx5e_ptp_metadata_fifo_pop(&ptpsq->metadata_freelist)); in mlx5e_cqe_ts_id_eseg() 667 if (unlikely(sq->ptpsq)) in mlx5e_txwqe_build_eseg() 668 mlx5e_cqe_ts_id_eseg(sq->ptpsq, skb, eseg); in mlx5e_txwqe_build_eseg() [all …]
|
| D | en.h | 466 struct mlx5e_ptpsq *ptpsq; member
|
| D | en_rep.c | 546 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()
|
| D | en_main.c | 2920 struct mlx5e_txqsq *sq = &c->ptpsq[tc].txqsq; in mlx5e_build_txq_maps()
|