Home
last modified time | relevance | path

Searched refs:skb_cc (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c84 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
96 while (skb_cc != skb_id) { 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()
110 u16 skb_cc = PTP_WQE_CTR2IDX(ptpsq->skb_fifo_cc); in mlx5e_ptp_handle_ts_cqe() local
121 if (mlx5e_ptp_ts_cqe_drop(ptpsq, skb_cc, skb_id)) in mlx5e_ptp_handle_ts_cqe()
122 mlx5e_ptp_skb_fifo_ts_cqe_resync(ptpsq, skb_cc, skb_id); in mlx5e_ptp_handle_ts_cqe()