Lines Matching refs:ah_attr
192 struct rdma_ah_attr ah_attr; in update_sm_ah() local
198 memset(&ah_attr, 0, sizeof ah_attr); in update_sm_ah()
199 ah_attr.type = rdma_ah_find_type(&dev->ib_dev, port_num); in update_sm_ah()
200 rdma_ah_set_dlid(&ah_attr, lid); in update_sm_ah()
201 rdma_ah_set_sl(&ah_attr, sl); in update_sm_ah()
202 rdma_ah_set_port_num(&ah_attr, port_num); in update_sm_ah()
205 &ah_attr, 0); in update_sm_ah()
1468 struct rdma_ah_attr *ah_attr) in fill_in_real_sgid_index() argument
1470 struct ib_global_route *grh = rdma_ah_retrieve_grh(ah_attr); in fill_in_real_sgid_index()
1484 struct rdma_ah_attr ah_attr; in mlx4_ib_multiplex_mad() local
1577 mlx4_ib_query_ah(&ah.ibah, &ah_attr); in mlx4_ib_multiplex_mad()
1578 if (rdma_ah_get_ah_flags(&ah_attr) & IB_AH_GRH) in mlx4_ib_multiplex_mad()
1579 fill_in_real_sgid_index(dev, slave, ctx->port, &ah_attr); in mlx4_ib_multiplex_mad()
1580 dmac = rdma_ah_retrieve_dmac(&ah_attr); in mlx4_ib_multiplex_mad()
1587 rdma_ah_set_sl(&ah_attr, qos); in mlx4_ib_multiplex_mad()
1595 &ah_attr, wc->smac, vlan_id, &tunnel->mad); in mlx4_ib_multiplex_mad()