Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c97 skb = mlx5e_skb_fifo_pop(&ptpsq->skb_fifo); in mlx5e_ptp_skb_fifo_ts_cqe_resync()
116 skb = mlx5e_skb_fifo_pop(&ptpsq->skb_fifo); in mlx5e_ptp_handle_ts_cqe()
124 skb = mlx5e_skb_fifo_pop(&ptpsq->skb_fifo); in mlx5e_ptp_handle_ts_cqe()
276 ptpsq->skb_fifo.fifo = kvzalloc_node(array_size(wq_sz, sizeof(*ptpsq->skb_fifo.fifo)), in mlx5e_ptp_alloc_traffic_db()
278 if (!ptpsq->skb_fifo.fifo) in mlx5e_ptp_alloc_traffic_db()
281 ptpsq->skb_fifo.pc = &ptpsq->skb_fifo_pc; in mlx5e_ptp_alloc_traffic_db()
282 ptpsq->skb_fifo.cc = &ptpsq->skb_fifo_cc; in mlx5e_ptp_alloc_traffic_db()
283 ptpsq->skb_fifo.mask = wq_sz - 1; in mlx5e_ptp_alloc_traffic_db()
290 static void mlx5e_ptp_drain_skb_fifo(struct mlx5e_skb_fifo *skb_fifo) in mlx5e_ptp_drain_skb_fifo() argument
292 while (*skb_fifo->pc != *skb_fifo->cc) { in mlx5e_ptp_drain_skb_fifo()
[all …]
Dptp.h19 struct mlx5e_skb_fifo skb_fifo; member
77 return mlx5e_skb_fifo_has_room(&sq->ptpsq->skb_fifo); in mlx5e_ptpsq_fifo_has_room()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c399 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()
612 mlx5e_skb_fifo_push(&sq->db.skb_fifo, skb); in mlx5e_sq_xmit_mpwqe()
774 struct sk_buff *skb = mlx5e_skb_fifo_pop(&sq->db.skb_fifo); in mlx5e_tx_wi_consume_fifo_skbs()
895 dev_kfree_skb_any(mlx5e_skb_fifo_pop(&sq->db.skb_fifo)); in mlx5e_tx_wi_kfree_fifo_skbs()
Den_main.c1416 kvfree(sq->db.skb_fifo.fifo); in mlx5e_free_txqsq_db()
1428 sq->db.skb_fifo.fifo = kvzalloc_node(array_size(df_sz, in mlx5e_alloc_txqsq_db()
1429 sizeof(*sq->db.skb_fifo.fifo)), in mlx5e_alloc_txqsq_db()
1434 if (!sq->db.dma_fifo || !sq->db.skb_fifo.fifo || !sq->db.wqe_info) { in mlx5e_alloc_txqsq_db()
1441 sq->db.skb_fifo.pc = &sq->skb_fifo_pc; in mlx5e_alloc_txqsq_db()
1442 sq->db.skb_fifo.cc = &sq->skb_fifo_cc; in mlx5e_alloc_txqsq_db()
1443 sq->db.skb_fifo.mask = df_sz - 1; in mlx5e_alloc_txqsq_db()
Den.h439 struct mlx5e_skb_fifo skb_fifo; member