Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_gsi.c214 int qp_index; in mlx5_ib_gsi_destroy_qp() local
231 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() argument
278 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() argument
317 ret = ib_query_pkey(device, gsi->port_num, qp_index, &pkey); in setup_qp()
320 gsi->port_num, qp_index); in setup_qp()
[all …]
/freebsd/contrib/ofed/libibverbs/examples/
H A Dsrq_pingpong.c575 static int pp_post_send(struct pingpong_context *ctx, int qp_index) in pp_post_send() argument
591 return ibv_post_send(ctx->qp[qp_index], &wr, &bad_wr); in pp_post_send()