Searched refs:ptpsq (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 82 #define PTP_WQE_CTR2IDX(val) ((val) & ptpsq->ts_cqe_ctr_mask) 84 static bool mlx5e_ptp_ts_cqe_drop(struct mlx5e_ptpsq *ptpsq, u16 skb_cc, u16 skb_id) in mlx5e_ptp_ts_cqe_drop() argument 86 return (ptpsq->ts_cqe_ctr_mask && (skb_cc != skb_id)); in mlx5e_ptp_ts_cqe_drop() 89 static void mlx5e_ptp_skb_fifo_ts_cqe_resync(struct mlx5e_ptpsq *ptpsq, u16 skb_cc, u16 skb_id) in mlx5e_ptp_skb_fifo_ts_cqe_resync() argument 94 ptpsq->cq_stats->resync_event++; in mlx5e_ptp_skb_fifo_ts_cqe_resync() 97 skb = mlx5e_skb_fifo_pop(&ptpsq->skb_fifo); in mlx5e_ptp_skb_fifo_ts_cqe_resync() 100 ptpsq->cq_stats->resync_cqe++; in mlx5e_ptp_skb_fifo_ts_cqe_resync() 101 skb_cc = PTP_WQE_CTR2IDX(ptpsq->skb_fifo_cc); in mlx5e_ptp_skb_fifo_ts_cqe_resync() 105 static void mlx5e_ptp_handle_ts_cqe(struct mlx5e_ptpsq *ptpsq, in mlx5e_ptp_handle_ts_cqe() argument 110 u16 skb_cc = PTP_WQE_CTR2IDX(ptpsq->skb_fifo_cc); in mlx5e_ptp_handle_ts_cqe() [all …]
|
D | ptp.h | 32 struct mlx5e_ptpsq ptpsq[MLX5E_MAX_NUM_TC]; member 74 if (!sq->ptpsq) in mlx5e_ptpsq_fifo_has_room() 77 return mlx5e_skb_fifo_has_room(&sq->ptpsq->skb_fifo); in mlx5e_ptpsq_fifo_has_room()
|
D | reporter_tx.c | 223 struct mlx5e_ptpsq *ptpsq, int tc) in mlx5e_tx_reporter_build_diagnose_output_ptpsq() argument 235 err = mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, &ptpsq->txqsq, tc); in mlx5e_tx_reporter_build_diagnose_output_ptpsq() 243 err = mlx5e_health_cq_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_build_diagnose_output_ptpsq() 295 struct mlx5e_ptpsq *ptpsq) in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() argument 303 err = mlx5e_health_cq_common_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() 331 generic_ptpsq = &ptp_ch->ptpsq[0]; in mlx5e_tx_reporter_diagnose_common_config() 392 &ptp_ch->ptpsq[tc], in mlx5e_tx_reporter_diagnose() 519 struct mlx5e_txqsq *sq = &ptp_ch->ptpsq[tc].txqsq; in mlx5e_tx_reporter_dump_all_sqs()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 397 if (unlikely(sq->ptpsq)) { in mlx5e_txwqe_complete() 399 mlx5e_skb_fifo_push(&sq->ptpsq->skb_fifo, skb); in mlx5e_txwqe_complete() 401 !mlx5e_skb_fifo_has_room(&sq->ptpsq->skb_fifo)) { in mlx5e_txwqe_complete() 645 static void mlx5e_cqe_ts_id_eseg(struct mlx5e_ptpsq *ptpsq, struct sk_buff *skb, in mlx5e_cqe_ts_id_eseg() argument 648 if (ptpsq->ts_cqe_ctr_mask && unlikely(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)) in mlx5e_cqe_ts_id_eseg() 649 eseg->flow_table_metadata = cpu_to_be32(ptpsq->skb_fifo_pc & in mlx5e_cqe_ts_id_eseg() 650 ptpsq->ts_cqe_ctr_mask); in mlx5e_cqe_ts_id_eseg() 659 if (unlikely(sq->ptpsq)) in mlx5e_txwqe_build_eseg() 660 mlx5e_cqe_ts_id_eseg(sq->ptpsq, skb, eseg); in mlx5e_txwqe_build_eseg() 758 if (sq->ptpsq) in mlx5e_consume_skb() [all …]
|
D | en.h | 463 struct mlx5e_ptpsq *ptpsq; member
|
D | en_rep.c | 444 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()
|
D | en_main.c | 2866 struct mlx5e_txqsq *sq = &c->ptpsq[tc].txqsq; in mlx5e_build_txq_maps()
|