Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx5/
Dgsi.c59 struct ib_qp **tx_qps; member
139 gsi->tx_qps = kcalloc(num_qps, sizeof(*gsi->tx_qps), GFP_KERNEL); in mlx5_ib_gsi_create_qp()
140 if (!gsi->tx_qps) { in mlx5_ib_gsi_create_qp()
207 kfree(gsi->tx_qps); in mlx5_ib_gsi_create_qp()
236 if (!gsi->tx_qps[qp_index]) in mlx5_ib_gsi_destroy_qp()
238 WARN_ON_ONCE(ib_destroy_qp(gsi->tx_qps[qp_index])); in mlx5_ib_gsi_destroy_qp()
239 gsi->tx_qps[qp_index] = NULL; in mlx5_ib_gsi_destroy_qp()
245 kfree(gsi->tx_qps); in mlx5_ib_gsi_destroy_qp()
335 qp = gsi->tx_qps[qp_index]; in setup_qp()
355 WARN_ON_ONCE(gsi->tx_qps[qp_index]); in setup_qp()
[all …]