Home
last modified time | relevance | path

Searched refs:to_mah (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c48 struct mlx4_ib_ah *ah = to_mah(ib_ah); in create_ib_ah()
78 struct mlx4_ib_ah *ah = to_mah(ib_ah); in create_iboe_ah()
157 struct mlx4_ib_ah *mah = to_mah(ah); in mlx4_ib_create_ah_slave()
180 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah()
H A Dmlx4_ib_qp.c2305 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_sriov_qp0_header()
2434 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_mlx_header()
2775 memcpy(dseg->av, &to_mah(wr->ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
2778 dseg->vlan = to_mah(wr->ah)->av.eth.vlan; in set_datagram_seg()
2779 memcpy(dseg->mac, to_mah(wr->ah)->av.eth.mac, 6); in set_datagram_seg()
2787 union mlx4_ext_av *av = &to_mah(wr->ah)->av; in set_tunnel_datagram_seg()
2810 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_tunnel_header()
2956 struct mlx4_ib_ah *ah = to_mah(ud_wr(wr)->ah); in mlx4_ib_post_send()
H A Dmlx4_ib.h699 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_ah.c65 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_create_ah()
101 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_query_ah()
H A Dmlx5_ib.h883 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
H A Dmlx5_ib_qp.c3115 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg()
/freebsd/contrib/ofed/libmlx4/
H A Dqp.c178 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
181 dseg->vlan = htobe16(to_mah(wr->wr.ud.ah)->vlan); in set_datagram_seg()
182 memcpy(dseg->mac, to_mah(wr->wr.ud.ah)->mac, 6); in set_datagram_seg()
H A Dmlx4.h341 static inline struct mlx4_ah *to_mah(struct ibv_ah *ibah) in to_mah() function
H A Dverbs.c1268 free(to_mah(ah)); in mlx4_destroy_ah()
/freebsd/sys/dev/mthca/
H A Dmthca_provider.h321 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) in to_mah() function
H A Dmthca_av.c294 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_query()
H A Dmthca_qp.c1494 mthca_ah_grh_present(to_mah(wr->ah)), 0, 0, 0, in build_mlx_header()
1497 err = mthca_read_ah(dev, to_mah(wr->ah), &sqp->ud_header); in build_mlx_header()
1593 useg->lkey = cpu_to_be32(to_mah(wr->ah)->key); in set_tavor_ud_seg()
1594 useg->av_addr = cpu_to_be64(to_mah(wr->ah)->avdma); in set_tavor_ud_seg()
1603 memcpy(useg->av, to_mah(wr->ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
H A Dmthca_provider.c394 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_create()
402 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.h524 static inline struct mlx5_ah *to_mah(struct ibv_ah *ibah) in to_mah() function
H A Dqp.c212 memcpy(&dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof dseg->av); in set_datagram_seg()
H A Dverbs.c1746 struct mlx5_ah *mah = to_mah(ah); in mlx5_destroy_ah()