Searched refs:to_mah (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/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 | 496 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
|
D | qp.c | 1841 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | ah.c | 160 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah() 193 kfree(to_mah(ah)); in mlx4_ib_destroy_ah()
|
D | qp.c | 2150 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_sriov_qp0_header() 2272 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_mlx_header() 2592 memcpy(dseg->av, &to_mah(wr->ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg() 2595 dseg->vlan = to_mah(wr->ah)->av.eth.vlan; in set_datagram_seg() 2596 memcpy(dseg->mac, to_mah(wr->ah)->av.eth.mac, 6); in set_datagram_seg() 2604 union mlx4_ext_av *av = &to_mah(wr->ah)->av; in set_tunnel_datagram_seg() 2627 struct mlx4_ib_ah *ah = to_mah(wr->ah); in build_tunnel_header()
|
D | mad.c | 1229 to_mah(ah)->av.ib.gid_index = sgid_index; in mlx4_ib_send_to_wire() 1231 to_mah(ah)->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); in mlx4_ib_send_to_wire() 1274 memcpy(to_mah(ah)->av.eth.s_mac, s_mac, 6); in mlx4_ib_send_to_wire() 1277 to_mah(ah)->av.eth.vlan = cpu_to_be16(vlan_id); in mlx4_ib_send_to_wire()
|
D | mlx4_ib.h | 680 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
|
/linux-4.4.14/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->ah)), 0, in build_mlx_header() 1491 err = mthca_read_ah(dev, to_mah(wr->ah), &sqp->ud_header); in build_mlx_header() 1587 useg->lkey = cpu_to_be32(to_mah(wr->ah)->key); in set_tavor_ud_seg() 1588 useg->av_addr = cpu_to_be64(to_mah(wr->ah)->avdma); in set_tavor_ud_seg() 1597 memcpy(useg->av, to_mah(wr->ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
|
D | mthca_provider.c | 432 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()
|