Lines Matching full:cap
42 struct ib_qp_cap cap; member
77 wr = &gsi->outstanding_wrs[index % gsi->cap.max_send_wr]; in generate_completions()
141 gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr, in mlx5_ib_gsi_create_qp()
162 gsi->cap = init_attr->cap; in mlx5_ib_gsi_create_qp()
167 gsi->cq = ib_alloc_cq(pd->device, gsi, init_attr->cap.max_send_wr, 0, in mlx5_ib_gsi_create_qp()
179 hw_init_attr.cap.max_send_wr = 0; in mlx5_ib_gsi_create_qp()
180 hw_init_attr.cap.max_send_sge = 0; in mlx5_ib_gsi_create_qp()
181 hw_init_attr.cap.max_inline_data = 0; in mlx5_ib_gsi_create_qp()
255 .cap = { in create_gsi_ud_qp()
256 .max_send_wr = gsi->cap.max_send_wr, in create_gsi_ud_qp()
257 .max_send_sge = gsi->cap.max_send_sge, in create_gsi_ud_qp()
258 .max_inline_data = gsi->cap.max_inline_data, in create_gsi_ud_qp()
403 qp_init_attr->cap = gsi->cap; in mlx5_ib_gsi_query_qp()
416 if (gsi->outstanding_pi == gsi->outstanding_ci + gsi->cap.max_send_wr) { in mlx5_ib_add_outstanding_wr()
422 gsi->cap.max_send_wr]; in mlx5_ib_add_outstanding_wr()
507 gsi->cap.max_send_wr; in mlx5_ib_gsi_post_send()