Searched refs:to_mah (Results 1 – 8 of 8) sorted by relevance
/drivers/infiniband/hw/mlx4/ |
D | ah.c | 168 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah() 197 kfree(to_mah(ah)); in mlx4_ib_destroy_ah()
|
D | qp.c | 1642 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_sriov_qp0_header() 1748 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_mlx_header() 2053 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg() 2056 dseg->vlan = to_mah(wr->wr.ud.ah)->av.eth.vlan; in set_datagram_seg() 2057 memcpy(dseg->mac, to_mah(wr->wr.ud.ah)->av.eth.mac, 6); in set_datagram_seg() 2064 union mlx4_ext_av *av = &to_mah(wr->wr.ud.ah)->av; in set_tunnel_datagram_seg() 2085 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_tunnel_header()
|
D | mlx4_ib.h | 575 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
|
D | mad.c | 1125 to_mah(ah)->av.ib.gid_index = sgid_index; in mlx4_ib_send_to_wire() 1127 to_mah(ah)->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); in mlx4_ib_send_to_wire()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 319 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) in to_mah() function
|
D | mthca_qp.c | 1487 mthca_ah_grh_present(to_mah(wr->wr.ud.ah)), 0, in build_mlx_header() 1490 err = mthca_read_ah(dev, to_mah(wr->wr.ud.ah), &sqp->ud_header); in build_mlx_header() 1586 useg->lkey = cpu_to_be32(to_mah(wr->wr.ud.ah)->key); in set_tavor_ud_seg() 1587 useg->av_addr = cpu_to_be64(to_mah(wr->wr.ud.ah)->avdma); in set_tavor_ud_seg() 1596 memcpy(useg->av, to_mah(wr->wr.ud.ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
|
D | mthca_av.c | 294 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_query()
|
D | mthca_provider.c | 428 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()
|