Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dmad.c120 if (rvp->sm_ah) { in rvt_free_mad_agents()
121 rdma_destroy_ah(&rvp->sm_ah->ibah, in rvt_free_mad_agents()
123 rvp->sm_ah = NULL; in rvt_free_mad_agents()
/linux-6.1.9/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
/linux-6.1.9/drivers/infiniband/core/
Dsa_query.c92 struct ib_sa_sm_ah *sm_ah; member
114 struct ib_sa_sm_ah *sm_ah; member
1129 struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref); in free_sm_ah() local
1131 rdma_destroy_ah(sm_ah->ah, 0); in free_sm_ah()
1132 kfree(sm_ah); in free_sm_ah()
1194 src_path_mask = port->sm_ah ? port->sm_ah->src_path_mask : 0x7f; in get_src_path_mask()
1281 if (!query->port->sm_ah) { in alloc_mad()
1285 kref_get(&query->port->sm_ah->ref); in alloc_mad()
1286 query->sm_ah = query->port->sm_ah; in alloc_mad()
1293 if ((rdma_query_ah(query->sm_ah->ah, &ah_attr) < 0) || in alloc_mad()
[all …]
/linux-6.1.9/include/rdma/
Drdma_vt.h100 struct rvt_ah *sm_ah; member
/linux-6.1.9/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()
/linux-6.1.9/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()
406 if ((send_buf->ah = dev->sm_ah[port_num - 1])) in forward_trap()
1073 if (dev->sm_ah[p]) in mlx4_ib_mad_cleanup()
1074 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
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dmad.c332 if (!ibp->rvp.sm_ah) { in send_trap()
342 ibp->rvp.sm_ah = ibah_to_rvtah(ah); in send_trap()
348 send_buf->ah = &ibp->rvp.sm_ah->ibah; in send_trap()
1414 if (ibp->rvp.sm_ah) { in __subn_set_opa_portinfo()
1416 hfi1_modify_qp0_ah(ibp, ibp->rvp.sm_ah, smlid); in __subn_set_opa_portinfo()
1418 rdma_ah_set_sl(&ibp->rvp.sm_ah->attr, msl); in __subn_set_opa_portinfo()