Searched refs:new_ah (Results 1 – 3 of 3) sorted by relevance
78 struct ib_ah *new_ah; in update_sm_ah() local91 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()
2017 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local2027 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 …]
191 struct ib_ah *new_ah; in update_sm_ah() local204 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()