Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dah.c67 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_query_ah()
90 kfree(to_mah(ah)); in mlx5_ib_destroy_ah()
Dmlx5_ib.h516 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
Dqp.c1853 memcpy(&dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dah.c147 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah()
180 kfree(to_mah(ah)); in mlx4_ib_destroy_ah()
Dqp.c2041 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_sriov_qp0_header()
2163 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_mlx_header()
2483 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
2486 dseg->vlan = to_mah(wr->wr.ud.ah)->av.eth.vlan; in set_datagram_seg()
2487 memcpy(dseg->mac, to_mah(wr->wr.ud.ah)->av.eth.mac, 6); in set_datagram_seg()
2495 union mlx4_ext_av *av = &to_mah(wr->wr.ud.ah)->av; in set_tunnel_datagram_seg()
2518 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_tunnel_header()
Dmad.c1210 to_mah(ah)->av.ib.gid_index = sgid_index; in mlx4_ib_send_to_wire()
1212 to_mah(ah)->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); in mlx4_ib_send_to_wire()
1255 memcpy(to_mah(ah)->av.eth.s_mac, s_mac, 6); in mlx4_ib_send_to_wire()
Dmlx4_ib.h633 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
/linux-4.1.27/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.c1488 mthca_ah_grh_present(to_mah(wr->wr.ud.ah)), 0, in build_mlx_header()
1491 err = mthca_read_ah(dev, to_mah(wr->wr.ud.ah), &sqp->ud_header); in build_mlx_header()
1587 useg->lkey = cpu_to_be32(to_mah(wr->wr.ud.ah)->key); in set_tavor_ud_seg()
1588 useg->av_addr = cpu_to_be64(to_mah(wr->wr.ud.ah)->avdma); in set_tavor_ud_seg()
1597 memcpy(useg->av, to_mah(wr->wr.ud.ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
Dmthca_provider.c428 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()