Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dgsi.c107 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_inde in setup_qp()
[all...]
H A Dmlx5_ib.h395 /* Protects access to the tx_qps. Post send operations synchronize
400 struct ib_qp **tx_qps; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dgsi.c107 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()
164 kfree(gsi->tx_qps); in mlx5_ib_create_gsi()
186 if (!gsi->tx_qps[qp_index]) in mlx5_ib_destroy_gsi()
188 WARN_ON_ONCE(ib_destroy_qp(gsi->tx_qps[qp_index])); in mlx5_ib_destroy_gsi()
189 gsi->tx_qps[qp_index] = NULL; in mlx5_ib_destroy_gsi()
195 kfree(gsi->tx_qps); in mlx5_ib_destroy_gsi()
287 qp = gsi->tx_qps[qp_index]; in setup_qp()
310 WARN_ON_ONCE(gsi->tx_qps[qp_inde in setup_qp()
[all...]
H A Dmlx5_ib.h486 /* Protects access to the tx_qps. Post send operations synchronize
491 struct ib_qp **tx_qps; member

Completed in 9 milliseconds