Lines Matching refs:tx_qps
107 gsi->tx_qps = kcalloc(num_qps, sizeof(*gsi->tx_qps), GFP_KERNEL); in mlx5_ib_create_gsi()
108 if (!gsi->tx_qps) in mlx5_ib_create_gsi()
181 kfree(gsi->tx_qps); in mlx5_ib_create_gsi()
206 if (!gsi->tx_qps[qp_index]) in mlx5_ib_destroy_gsi()
208 WARN_ON_ONCE(ib_destroy_qp(gsi->tx_qps[qp_index])); in mlx5_ib_destroy_gsi()
209 gsi->tx_qps[qp_index] = NULL; in mlx5_ib_destroy_gsi()
215 kfree(gsi->tx_qps); in mlx5_ib_destroy_gsi()
309 qp = gsi->tx_qps[qp_index]; in setup_qp()
332 WARN_ON_ONCE(gsi->tx_qps[qp_index]); in setup_qp()
333 gsi->tx_qps[qp_index] = qp; in setup_qp()
455 return gsi->tx_qps[qp_index]; in get_tx_qp()