Home
last modified time | relevance | path

Searched refs:sm_ah (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmad.c162 if (rvp->sm_ah) { in rvt_free_mad_agents()
163 rdma_destroy_ah(&rvp->sm_ah->ibah, in rvt_free_mad_agents()
165 rvp->sm_ah = NULL; in rvt_free_mad_agents()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c97 if (dev->sm_ah[port_num - 1]) in update_sm_ah()
98 rdma_destroy_ah(dev->sm_ah[port_num - 1], 0); in update_sm_ah()
99 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()
188 if ((send_buf->ah = dev->sm_ah[port_num - 1])) in forward_trap()
337 if (dev->sm_ah[p]) in mthca_free_agents()
338 rdma_destroy_ah(dev->sm_ah[p], in mthca_free_agents()
Dmthca_dev.h356 struct ib_ah *sm_ah[MTHCA_MAX_PORTS]; member
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dsa_query.c92 struct ib_sa_sm_ah *sm_ah; member
113 struct ib_sa_sm_ah *sm_ah; member
1144 struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref); in free_sm_ah() local
1146 rdma_destroy_ah(sm_ah->ah, 0); in free_sm_ah()
1147 kfree(sm_ah); in free_sm_ah()
1211 src_path_mask = port->sm_ah ? port->sm_ah->src_path_mask : 0x7f; in get_src_path_mask()
1298 if (!query->port->sm_ah) { in alloc_mad()
1302 kref_get(&query->port->sm_ah->ref); in alloc_mad()
1303 query->sm_ah = query->port->sm_ah; in alloc_mad()
1310 if ((rdma_query_ah(query->sm_ah->ah, &ah_attr) < 0) || in alloc_mad()
[all …]
/kernel/linux/linux-5.10/include/rdma/
Drdma_vt.h100 struct rvt_ah *sm_ah; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c210 if (dev->sm_ah[port_num - 1]) in update_sm_ah()
211 rdma_destroy_ah(dev->sm_ah[port_num - 1], 0); in update_sm_ah()
212 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()
405 if ((send_buf->ah = dev->sm_ah[port_num - 1])) in forward_trap()
1071 if (dev->sm_ah[p]) in mlx4_ib_mad_cleanup()
1072 rdma_destroy_ah(dev->sm_ah[p], 0); in mlx4_ib_mad_cleanup()
Dmcg.c216 if (!dev->sm_ah[ctx->port - 1]) { in send_mad_to_wire()
221 mlx4_ib_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr); in send_mad_to_wire()
240 rdma_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr); in send_mad_to_slave()
Dmlx4_ib.h620 struct ib_ah *sm_ah[MLX4_MAX_PORTS]; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_mad.c104 if (!ibp->rvp.sm_ah) { in qib_send_trap()
113 ibp->rvp.sm_ah = ibah_to_rvtah(ah); in qib_send_trap()
119 send_buf->ah = &ibp->rvp.sm_ah->ibah; in qib_send_trap()
715 if (ibp->rvp.sm_ah) { in subn_set_portinfo()
717 rdma_ah_set_dlid(&ibp->rvp.sm_ah->attr, in subn_set_portinfo()
720 rdma_ah_set_sl(&ibp->rvp.sm_ah->attr, msl); in subn_set_portinfo()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c374 if (!ibp->rvp.sm_ah) { in send_trap()
384 ibp->rvp.sm_ah = ibah_to_rvtah(ah); in send_trap()
390 send_buf->ah = &ibp->rvp.sm_ah->ibah; in send_trap()
1456 if (ibp->rvp.sm_ah) { in __subn_set_opa_portinfo()
1458 hfi1_modify_qp0_ah(ibp, ibp->rvp.sm_ah, smlid); in __subn_set_opa_portinfo()
1460 rdma_ah_set_sl(&ibp->rvp.sm_ah->attr, msl); in __subn_set_opa_portinfo()