Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
172 struct mlx4_ib_ah *mah = to_mah(ah); in mlx4_ib_create_ah_slave()
199 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah()
Dqp.c2829 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_sriov_qp0_header()
2982 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_mlx_header()
3328 memcpy(dseg->av, &to_mah(wr->ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
3331 dseg->vlan = to_mah(wr->ah)->av.eth.vlan; in set_datagram_seg()
3332 memcpy(dseg->mac, to_mah(wr->ah)->av.eth.mac, 6); in set_datagram_seg()
3340 union mlx4_ext_av *av = &to_mah(wr->ah)->av; in set_tunnel_datagram_seg()
3364 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_tunnel_header()
3509 struct mlx4_ib_ah *ah = to_mah(ud_wr(wr)->ah); in _mlx4_ib_post_send()
Dmlx4_ib.h733 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dah.c98 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_create_ah()
129 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_query_ah()
Dgsi.c443 struct mlx5_ib_ah *ah = to_mah(wr->ah); in get_tx_qp()
Dwr.c155 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.h296 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.c1508 mthca_ah_grh_present(to_mah(wr->ah)), 0, 0, 0, in build_mlx_header()
1511 err = mthca_read_ah(dev, to_mah(wr->ah), &sqp->ud_header); in build_mlx_header()
1607 useg->lkey = cpu_to_be32(to_mah(wr->ah)->key); in set_tavor_ud_seg()
1608 useg->av_addr = cpu_to_be64(to_mah(wr->ah)->avdma); in set_tavor_ud_seg()
1617 memcpy(useg->av, to_mah(wr->ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
Dmthca_provider.c387 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_create()
395 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()
/kernel/linux/linux-5.10/include/linux/mlx5/
Dqp.h332 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c664 struct mlx5_ib_ah *mah = to_mah(address); in mlx5i_xmit()