Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_mad.c78 struct ib_ah *new_ah; in update_sm_ah() local
91 new_ah = rdma_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
93 if (IS_ERR(new_ah)) in update_sm_ah()
99 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()
/drivers/infiniband/core/
Dsa_query.c2214 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local
2224 new_ah = kmalloc(sizeof(*new_ah), GFP_KERNEL); in update_sm_ah()
2225 if (!new_ah) in update_sm_ah()
2228 kref_init(&new_ah->ref); in update_sm_ah()
2229 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; in update_sm_ah()
2231 new_ah->pkey_index = 0; in update_sm_ah()
2233 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah()
2265 new_ah->ah = rdma_create_ah(port->agent->qp->pd, &ah_attr, in update_sm_ah()
2267 if (IS_ERR(new_ah->ah)) { in update_sm_ah()
2269 kfree(new_ah); in update_sm_ah()
[all …]
/drivers/infiniband/hw/mlx4/
Dmad.c191 struct ib_ah *new_ah; in update_sm_ah() local
204 new_ah = rdma_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
206 if (IS_ERR(new_ah)) in update_sm_ah()
212 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()