Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/libmlx5/
H A Dverbs.c773 static int sq_overhead(enum ibv_qp_type qp_type) in sq_overhead() function
831 size = sq_overhead(attr->qp_type); in mlx5_calc_send_wqe()
904 qp->max_inline_data = wqe_size - sq_overhead(attr->qp_type) - in mlx5_calc_sq_size()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c279 static int sq_overhead(struct ib_qp_init_attr *attr) in sq_overhead() function
334 size = sq_overhead(attr); in calc_send_wqe()
367 max_sge = (wqe_size - sq_overhead(attr)) / in get_send_sge()
370 return min_t(int, max_sge, wqe_size - sq_overhead(attr) / in get_send_sge()
394 qp->max_inline_data = wqe_size - sq_overhead(attr) - in calc_sq_size()