Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/ofed/libmlx5/
Dverbs.c757 static int sq_overhead(enum ibv_qp_type qp_type) in sq_overhead() function
815 size = sq_overhead(attr->qp_type); in mlx5_calc_send_wqe()
888 qp->max_inline_data = wqe_size - sq_overhead(attr->qp_type) - in mlx5_calc_sq_size()
/freebsd-12-stable/sys/dev/mlx5/mlx5_ib/
Dmlx5_ib_qp.c277 static int sq_overhead(struct ib_qp_init_attr *attr) in sq_overhead() function
332 size = sq_overhead(attr); in calc_send_wqe()
365 max_sge = (wqe_size - sq_overhead(attr)) / in get_send_sge()
368 return min_t(int, max_sge, wqe_size - sq_overhead(attr) / in get_send_sge()
392 qp->max_inline_data = wqe_size - sq_overhead(attr) - in calc_sq_size()