Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/infiniband/core/
Dsa_query.c2105 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local
2115 new_ah = kmalloc(sizeof(*new_ah), GFP_KERNEL); in update_sm_ah()
2116 if (!new_ah) in update_sm_ah()
2119 kref_init(&new_ah->ref); in update_sm_ah()
2120 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; in update_sm_ah()
2122 new_ah->pkey_index = 0; in update_sm_ah()
2124 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah()
2156 new_ah->ah = rdma_create_ah(port->agent->qp->pd, &ah_attr, in update_sm_ah()
2158 if (IS_ERR(new_ah->ah)) { in update_sm_ah()
2160 kfree(new_ah); in update_sm_ah()
[all …]
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c4208 struct irdma_ah *new_ah) in irdma_ah_exists() argument
4211 u32 key = new_ah->sc_ah.ah_info.dest_ip_addr[0] ^ in irdma_ah_exists()
4212 new_ah->sc_ah.ah_info.dest_ip_addr[1] ^ in irdma_ah_exists()
4213 new_ah->sc_ah.ah_info.dest_ip_addr[2] ^ in irdma_ah_exists()
4214 new_ah->sc_ah.ah_info.dest_ip_addr[3]; in irdma_ah_exists()
4218 new_ah->sc_ah.ah_info.ah_idx = ah->sc_ah.ah_info.ah_idx; in irdma_ah_exists()
4219 new_ah->sc_ah.ah_info.ah_valid = ah->sc_ah.ah_info.ah_valid; in irdma_ah_exists()
4220 if (!memcmp(&ah->sc_ah.ah_info, &new_ah->sc_ah.ah_info, in irdma_ah_exists()
4223 new_ah->parent_ah = ah; in irdma_ah_exists()
/linux-6.1.9/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()