Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/rdmavt/
H A 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/drivers/infiniband/hw/mthca/
H A 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()
H A Dmthca_dev.h356 struct ib_ah *sm_ah[MTHCA_MAX_PORTS]; member
/linux/drivers/infiniband/core/
H A Dsa_query.c92 struct ib_sa_sm_ah *sm_ah; member
114 struct ib_sa_sm_ah *sm_ah; member
1124 kfree(sm_ah); in free_sm_ah()
1186 src_path_mask = port->sm_ah ? port->sm_ah->src_path_mask : 0x7f; in get_src_path_mask()
1273 if (!query->port->sm_ah) { in alloc_mad()
1278 query->sm_ah = query->port->sm_ah; in alloc_mad()
2104 if (port->sm_ah) in update_sm_ah()
2106 port->sm_ah = new_ah; in update_sm_ah()
2129 if (port->sm_ah) in ib_sa_event()
2131 port->sm_ah = NULL; in ib_sa_event()
[all …]
/linux/include/rdma/
H A Drdma_vt.h100 struct rvt_ah *sm_ah; member
/linux/drivers/infiniband/hw/qib/
H A 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/drivers/infiniband/hw/mlx4/
H A 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()
H A 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()
H A Dmlx4_ib.h621 struct ib_ah *sm_ah[MLX4_MAX_PORTS]; member
/linux/drivers/infiniband/hw/hfi1/
H A 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()