Searched refs:to_mah (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | ah.c | 67 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_query_ah() 90 kfree(to_mah(ah)); in mlx5_ib_destroy_ah()
|
D | mlx5_ib.h | 516 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
|
D | qp.c | 1853 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/ |
D | ah.c | 147 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah() 180 kfree(to_mah(ah)); in mlx4_ib_destroy_ah()
|
D | qp.c | 2041 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()
|
D | mad.c | 1210 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()
|
D | mlx4_ib.h | 633 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
|
/linux-4.1.27/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_av.c | 294 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_query()
|
D | mthca_qp.c | 1488 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()
|
D | mthca_provider.c | 428 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()
|