Searched refs:sq_overhead (Results 1 – 2 of 2) sorted by relevance
773 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()
279 static int sq_overhead(struct ib_qp_init_attr *attr) in sq_overhead() function334 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()