Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/infiniband/core/
Dsa_query.c2044 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local
2054 new_ah = kmalloc(sizeof(*new_ah), GFP_KERNEL); in update_sm_ah()
2055 if (!new_ah) in update_sm_ah()
2058 kref_init(&new_ah->ref); in update_sm_ah()
2059 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; in update_sm_ah()
2061 new_ah->pkey_index = 0; in update_sm_ah()
2063 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah()
2095 new_ah->ah = rdma_create_ah(port->agent->qp->pd, &ah_attr, in update_sm_ah()
2097 if (IS_ERR(new_ah->ah)) { in update_sm_ah()
2099 kfree(new_ah); in update_sm_ah()
[all …]
/linux-6.12.1/drivers/infiniband/hw/irdma/
Dverbs.c4525 struct irdma_ah *new_ah) in irdma_ah_exists() argument
4528 u32 key = new_ah->sc_ah.ah_info.dest_ip_addr[0] ^ in irdma_ah_exists()
4529 new_ah->sc_ah.ah_info.dest_ip_addr[1] ^ in irdma_ah_exists()
4530 new_ah->sc_ah.ah_info.dest_ip_addr[2] ^ in irdma_ah_exists()
4531 new_ah->sc_ah.ah_info.dest_ip_addr[3]; in irdma_ah_exists()
4535 new_ah->sc_ah.ah_info.ah_idx = ah->sc_ah.ah_info.ah_idx; in irdma_ah_exists()
4536 new_ah->sc_ah.ah_info.ah_valid = ah->sc_ah.ah_info.ah_valid; in irdma_ah_exists()
4537 if (!memcmp(&ah->sc_ah.ah_info, &new_ah->sc_ah.ah_info, in irdma_ah_exists()
4540 new_ah->parent_ah = ah; in irdma_ah_exists()
/linux-6.12.1/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()