Searched refs:ptpsq (Results 1 - 8 of 8) sorted by relevance
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | ptp.c | 62 void mlx5e_ptpsq_track_metadata(struct mlx5e_ptpsq *ptpsq, u8 metadata) argument 64 mlx5e_ptp_port_ts_cqe_list_add(ptpsq->ts_cqe_pending_list, metadata); 150 static void mlx5e_ptpsq_mark_ts_cqes_undelivered(struct mlx5e_ptpsq *ptpsq, argument 153 struct mlx5e_ptp_port_ts_cqe_list *cqe_list = ptpsq->ts_cqe_pending_list; 155 struct mlx5e_ptp_metadata_map *metadata_map = &ptpsq->metadata_map; 176 #define PTP_WQE_CTR2IDX(val) ((val) & ptpsq->ts_cqe_ctr_mask) 178 static void mlx5e_ptp_handle_ts_cqe(struct mlx5e_ptpsq *ptpsq, argument 184 struct mlx5e_ptp_port_ts_cqe_list *pending_cqe_list = ptpsq->ts_cqe_pending_list; 187 struct mlx5e_txqsq *sq = &ptpsq->txqsq; 197 ptpsq 224 struct mlx5e_ptpsq *ptpsq = container_of(cq, struct mlx5e_ptpsq, ts_cq); local 315 mlx5e_ptp_alloc_txqsq(struct mlx5e_ptp *c, int txq_ix, struct mlx5e_params *params, struct mlx5e_sq_param *param, struct mlx5e_txqsq *sq, int tc, struct mlx5e_ptpsq *ptpsq) argument 371 mlx5e_ptp_alloc_traffic_db(struct mlx5e_ptpsq *ptpsq, int numa) argument 438 mlx5e_ptp_free_traffic_db(struct mlx5e_ptpsq *ptpsq) argument 449 struct mlx5e_ptpsq *ptpsq = local 455 mlx5e_ptp_open_txqsq(struct mlx5e_ptp *c, u32 tisn, int txq_ix, struct mlx5e_ptp_params *cparams, int tc, struct mlx5e_ptpsq *ptpsq) argument 494 mlx5e_ptp_close_txqsq(struct mlx5e_ptpsq *ptpsq) argument 579 struct mlx5e_ptpsq *ptpsq = &c->ptpsq[tc]; local [all...] |
H A D | ptp.h | 52 struct mlx5e_ptpsq ptpsq[MLX5_MAX_NUM_TC]; member in struct:mlx5e_ptp 117 static inline bool mlx5e_ptpsq_metadata_freelist_empty(struct mlx5e_ptpsq *ptpsq) argument 121 if (likely(!ptpsq)) 124 freelist = &ptpsq->metadata_freelist; 141 void mlx5e_ptpsq_track_metadata(struct mlx5e_ptpsq *ptpsq, u8 metadata);
|
H A D | reporter_tx.c | 166 struct mlx5e_ptpsq *ptpsq = ctx; local 173 if (!test_bit(MLX5E_SQ_STATE_RECOVERING, &ptpsq->txqsq.state)) 176 priv = ptpsq->txqsq.priv; 260 struct mlx5e_ptpsq *ptpsq, int tc) 264 mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, &ptpsq->txqsq, tc); 266 mlx5e_health_cq_diag_fmsg(&ptpsq->ts_cq, fmsg); 289 struct mlx5e_ptpsq *ptpsq) 292 mlx5e_health_cq_common_diag_fmsg(&ptpsq->ts_cq, fmsg); 311 generic_ptpsq = &ptp_ch->ptpsq[0]; 352 &ptp_ch->ptpsq[t 259 mlx5e_tx_reporter_build_diagnose_output_ptpsq(struct devlink_fmsg *fmsg, struct mlx5e_ptpsq *ptpsq, int tc) argument 288 mlx5e_tx_reporter_diagnose_generic_tx_port_ts(struct devlink_fmsg *fmsg, struct mlx5e_ptpsq *ptpsq) argument 408 struct mlx5e_ptpsq *ptpsq = ctx; local 504 mlx5e_reporter_tx_ptpsq_unhealthy(struct mlx5e_ptpsq *ptpsq) argument [all...] |
H A D | health.h | 21 void mlx5e_reporter_tx_ptpsq_unhealthy(struct mlx5e_ptpsq *ptpsq);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 397 if (unlikely(sq->ptpsq && 401 mlx5e_ptp_metadata_fifo_pop(&sq->ptpsq->metadata_freelist); 404 mlx5e_ptp_metadata_map_put(&sq->ptpsq->metadata_map, skb, 408 mlx5e_ptpsq_track_metadata(sq->ptpsq, metadata_index); 410 mlx5e_ptpsq_metadata_freelist_empty(sq->ptpsq)) { 654 static void mlx5e_cqe_ts_id_eseg(struct mlx5e_ptpsq *ptpsq, struct sk_buff *skb, argument 659 cpu_to_be32(mlx5e_ptp_metadata_fifo_peek(&ptpsq->metadata_freelist)); 668 if (unlikely(sq->ptpsq)) 669 mlx5e_cqe_ts_id_eseg(sq->ptpsq, skb, eseg); 752 if (sq->ptpsq) [all...] |
H A D | en.h | 474 struct mlx5e_ptpsq *ptpsq; member in struct:mlx5e_txqsq
|
H A D | en_rep.c | 574 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn;
|
H A D | en_main.c | 3025 struct mlx5e_txqsq *sq = &c->ptpsq[tc].txqsq;
|
Completed in 248 milliseconds