Searched refs:qp_index (Results 1 – 2 of 2) sorted by relevance
214 int qp_index; in mlx5_ib_gsi_destroy_qp() local231 for (qp_index = 0; qp_index < gsi->num_qps; ++qp_index) { in mlx5_ib_gsi_destroy_qp()232 if (!gsi->tx_qps[qp_index]) in mlx5_ib_gsi_destroy_qp()234 WARN_ON_ONCE(ib_destroy_qp(gsi->tx_qps[qp_index])); in mlx5_ib_gsi_destroy_qp()235 gsi->tx_qps[qp_index] = NULL; in mlx5_ib_gsi_destroy_qp()269 u16 qp_index) in modify_to_rts() argument278 attr.pkey_index = qp_index; in modify_to_rts()308 static void setup_qp(struct mlx5_ib_gsi_qp *gsi, u16 qp_index) in setup_qp() argument317 ret = ib_query_pkey(device, gsi->port_num, qp_index, &pkey); in setup_qp()320 gsi->port_num, qp_index); in setup_qp()[all …]
575 static int pp_post_send(struct pingpong_context *ctx, int qp_index) in pp_post_send() argument591 return ibv_post_send(ctx->qp[qp_index], &wr, &bad_wr); in pp_post_send()