Home
last modified time | relevance | path

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

/Linux-v5.15/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()
/Linux-v5.15/drivers/infiniband/core/
Dsa_query.c2017 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local
2027 new_ah = kmalloc(sizeof(*new_ah), GFP_KERNEL); in update_sm_ah()
2028 if (!new_ah) in update_sm_ah()
2031 kref_init(&new_ah->ref); in update_sm_ah()
2032 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; in update_sm_ah()
2034 new_ah->pkey_index = 0; in update_sm_ah()
2036 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah()
2068 new_ah->ah = rdma_create_ah(port->agent->qp->pd, &ah_attr, in update_sm_ah()
2070 if (IS_ERR(new_ah->ah)) { in update_sm_ah()
2072 kfree(new_ah); in update_sm_ah()
[all …]
/Linux-v5.15/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()