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