Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c309 struct mlx5dr_send_ring *send_ring) in dr_handle_pending_wc() argument
314 if (send_ring->pending_wqe < send_ring->signal_th) in dr_handle_pending_wc()
318 if (send_ring->pending_wqe >= in dr_handle_pending_wc()
319 dmn->send_ring->signal_th * TH_NUMS_TO_DRAIN) in dr_handle_pending_wc()
323 ne = dr_poll_cq(send_ring->cq, 1); in dr_handle_pending_wc()
327 send_ring->pending_wqe -= send_ring->signal_th; in dr_handle_pending_wc()
328 } while (is_drain && send_ring->pending_wqe); in dr_handle_pending_wc()
333 static void dr_fill_data_segs(struct mlx5dr_send_ring *send_ring, in dr_fill_data_segs() argument
336 send_ring->pending_wqe++; in dr_fill_data_segs()
338 if (send_ring->pending_wqe % send_ring->signal_th == 0) in dr_fill_data_segs()
[all …]
Ddr_types.h674 struct mlx5dr_send_ring *send_ring; member
1081 struct mlx5dr_send_ring *send_ring);
Ddr_domain.c115 mlx5dr_send_ring_free(dmn, dmn->send_ring); in dr_domain_uninit_resources()