Home
last modified time | relevance | path

Searched refs:new_ah (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A 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()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A 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 in update_sm_ah()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A 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 in update_sm_ah()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dverbs.c4374 * @new_ah: AH to check for
4379 struct irdma_ah *new_ah) in irdma_ah_exists()
4382 u32 key = new_ah->sc_ah.ah_info.dest_ip_addr[0] ^ in irdma_ah_exists()
4383 new_ah->sc_ah.ah_info.dest_ip_addr[1] ^ in irdma_ah_exists()
4384 new_ah->sc_ah.ah_info.dest_ip_addr[2] ^ in irdma_ah_exists()
4385 new_ah->sc_ah.ah_info.dest_ip_addr[3]; in irdma_ah_exists()
4389 new_ah->sc_ah.ah_info.ah_idx = ah->sc_ah.ah_info.ah_idx; in irdma_ah_exists()
4390 new_ah->sc_ah.ah_info.ah_valid = ah->sc_ah.ah_info.ah_valid; in irdma_ah_exists()
4391 if (!memcmp(&ah->sc_ah.ah_info, &new_ah->sc_ah.ah_info, in irdma_ah_exists()
4394 new_ah in irdma_ah_exists()
4378 irdma_ah_exists(struct irdma_device *iwdev, struct irdma_ah *new_ah) irdma_ah_exists() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A 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()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A 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()

Completed in 19 milliseconds