Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dah.c45 struct mlx4_ib_ah *ah = to_mah(ib_ah); in create_ib_ah()
80 struct mlx4_ib_ah *ah = to_mah(ib_ah); in create_iboe_ah()
170 struct mlx4_ib_ah *mah = to_mah(ah); in mlx4_ib_create_ah_slave()
196 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah()
Dqp.c2888 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_sriov_qp0_header()
3037 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_mlx_header()
3368 memcpy(dseg->av, &to_mah(wr->ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
3371 dseg->vlan = to_mah(wr->ah)->av.eth.vlan; in set_datagram_seg()
3372 memcpy(dseg->mac, to_mah(wr->ah)->av.eth.mac, 6); in set_datagram_seg()
3380 union mlx4_ext_av *av = &to_mah(wr->ah)->av; in set_tunnel_datagram_seg()
3404 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_tunnel_header()
3549 struct mlx4_ib_ah *ah = to_mah(ud_wr(wr)->ah); in _mlx4_ib_post_send()
Dmlx4_ib.h711 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dah.c75 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_create_ah()
106 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_query_ah()
Dqp.c4148 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_provider.h319 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) in to_mah() function
Dmthca_av.c294 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_query()
Dmthca_qp.c1509 mthca_ah_grh_present(to_mah(wr->ah)), 0, 0, 0, in build_mlx_header()
1512 err = mthca_read_ah(dev, to_mah(wr->ah), &sqp->ud_header); in build_mlx_header()
1608 useg->lkey = cpu_to_be32(to_mah(wr->ah)->key); in set_tavor_ud_seg()
1609 useg->av_addr = cpu_to_be64(to_mah(wr->ah)->avdma); in set_tavor_ud_seg()
1618 memcpy(useg->av, to_mah(wr->ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
Dmthca_provider.c395 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_create()
403 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()
/Linux-v5.4/include/linux/mlx5/
Dqp.h320 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c631 struct mlx5_ib_ah *mah = to_mah(address); in mlx5i_xmit()