Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c86 struct sk_buff *skb = mlx5e_skb_fifo_pop(&ptpsq->skb_fifo); in mlx5e_ptp_handle_ts_cqe()
248 ptpsq->skb_fifo.fifo = kvzalloc_node(array_size(wq_sz, sizeof(*ptpsq->skb_fifo.fifo)), in mlx5e_ptp_alloc_traffic_db()
250 if (!ptpsq->skb_fifo.fifo) in mlx5e_ptp_alloc_traffic_db()
253 ptpsq->skb_fifo.pc = &ptpsq->skb_fifo_pc; in mlx5e_ptp_alloc_traffic_db()
254 ptpsq->skb_fifo.cc = &ptpsq->skb_fifo_cc; in mlx5e_ptp_alloc_traffic_db()
255 ptpsq->skb_fifo.mask = wq_sz - 1; in mlx5e_ptp_alloc_traffic_db()
260 static void mlx5e_ptp_drain_skb_fifo(struct mlx5e_skb_fifo *skb_fifo) in mlx5e_ptp_drain_skb_fifo() argument
262 while (*skb_fifo->pc != *skb_fifo->cc) { in mlx5e_ptp_drain_skb_fifo()
263 struct sk_buff *skb = mlx5e_skb_fifo_pop(skb_fifo); in mlx5e_ptp_drain_skb_fifo()
269 static void mlx5e_ptp_free_traffic_db(struct mlx5e_skb_fifo *skb_fifo) in mlx5e_ptp_free_traffic_db() argument
[all …]
Dptp.h19 struct mlx5e_skb_fifo skb_fifo; member
76 return mlx5e_skb_fifo_has_room(&sq->ptpsq->skb_fifo); in mlx5e_ptpsq_fifo_has_room()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c481 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()
668 mlx5e_skb_fifo_push(&sq->db.skb_fifo, skb); in mlx5e_sq_xmit_mpwqe()
807 struct sk_buff *skb = mlx5e_skb_fifo_pop(&sq->db.skb_fifo); in mlx5e_tx_wi_consume_fifo_skbs()
933 dev_kfree_skb_any(mlx5e_skb_fifo_pop(&sq->db.skb_fifo)); in mlx5e_tx_wi_kfree_fifo_skbs()
Den_main.c1090 kvfree(sq->db.skb_fifo.fifo); in mlx5e_free_txqsq_db()
1102 sq->db.skb_fifo.fifo = kvzalloc_node(array_size(df_sz, in mlx5e_alloc_txqsq_db()
1103 sizeof(*sq->db.skb_fifo.fifo)), in mlx5e_alloc_txqsq_db()
1108 if (!sq->db.dma_fifo || !sq->db.skb_fifo.fifo || !sq->db.wqe_info) { in mlx5e_alloc_txqsq_db()
1115 sq->db.skb_fifo.pc = &sq->skb_fifo_pc; in mlx5e_alloc_txqsq_db()
1116 sq->db.skb_fifo.cc = &sq->skb_fifo_cc; in mlx5e_alloc_txqsq_db()
1117 sq->db.skb_fifo.mask = df_sz - 1; in mlx5e_alloc_txqsq_db()
Den.h391 struct mlx5e_skb_fifo skb_fifo; member