Searched refs:ptpsq (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 82 static void mlx5e_ptp_handle_ts_cqe(struct mlx5e_ptpsq *ptpsq, in mlx5e_ptp_handle_ts_cqe() argument 86 struct sk_buff *skb = mlx5e_skb_fifo_pop(&ptpsq->skb_fifo); in mlx5e_ptp_handle_ts_cqe() 87 struct mlx5e_txqsq *sq = &ptpsq->txqsq; in mlx5e_ptp_handle_ts_cqe() 91 ptpsq->cq_stats->err_cqe++; in mlx5e_ptp_handle_ts_cqe() 97 hwtstamp, ptpsq->cq_stats); in mlx5e_ptp_handle_ts_cqe() 98 ptpsq->cq_stats->cqe++; in mlx5e_ptp_handle_ts_cqe() 106 struct mlx5e_ptpsq *ptpsq = container_of(cq, struct mlx5e_ptpsq, ts_cq); in mlx5e_ptp_poll_ts_cq() local 111 if (unlikely(!test_bit(MLX5E_SQ_STATE_ENABLED, &ptpsq->txqsq.state))) in mlx5e_ptp_poll_ts_cq() 121 mlx5e_ptp_handle_ts_cqe(ptpsq, cqe, budget); in mlx5e_ptp_poll_ts_cq() 129 mlx5e_txqsq_wake(&ptpsq->txqsq); in mlx5e_ptp_poll_ts_cq() [all …]
|
D | ptp.h | 31 struct mlx5e_ptpsq ptpsq[MLX5E_MAX_NUM_TC]; member 73 if (!sq->ptpsq) in mlx5e_ptpsq_fifo_has_room() 76 return mlx5e_skb_fifo_has_room(&sq->ptpsq->skb_fifo); in mlx5e_ptpsq_fifo_has_room()
|
D | reporter_tx.c | 220 struct mlx5e_ptpsq *ptpsq, int tc) in mlx5e_tx_reporter_build_diagnose_output_ptpsq() argument 232 err = mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, &ptpsq->txqsq, tc); in mlx5e_tx_reporter_build_diagnose_output_ptpsq() 240 err = mlx5e_health_cq_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_build_diagnose_output_ptpsq() 292 struct mlx5e_ptpsq *ptpsq) in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() argument 300 err = mlx5e_health_cq_common_diag_fmsg(&ptpsq->ts_cq, fmsg); in mlx5e_tx_reporter_diagnose_generic_tx_port_ts() 328 generic_ptpsq = &ptp_ch->ptpsq[0]; in mlx5e_tx_reporter_diagnose_common_config() 389 &ptp_ch->ptpsq[tc], in mlx5e_tx_reporter_diagnose() 516 struct mlx5e_txqsq *sq = &ptp_ch->ptpsq[tc].txqsq; in mlx5e_tx_reporter_dump_all_sqs()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 479 if (unlikely(sq->ptpsq)) { in mlx5e_txwqe_complete() 481 mlx5e_skb_fifo_push(&sq->ptpsq->skb_fifo, skb); in mlx5e_txwqe_complete() 483 !mlx5e_skb_fifo_has_room(&sq->ptpsq->skb_fifo)) { in mlx5e_txwqe_complete() 791 if (sq->ptpsq) in mlx5e_consume_skb() 793 hwts.hwtstamp, sq->ptpsq->cq_stats); in mlx5e_consume_skb()
|
D | en.h | 415 struct mlx5e_ptpsq *ptpsq; member
|
D | en_main.c | 2441 struct mlx5e_txqsq *sq = &c->ptpsq[tc].txqsq; in mlx5e_build_txq_maps()
|