Searched refs:to_mah (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_ah.c105 struct mlx5_ib_ah *ah = to_mah(ibah);
128 kfree(to_mah(ah));
H A Dmlx5_ib.h781 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) function
H A Dmlx5_ib_qp.c3006 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av));
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c167 struct mlx4_ib_ah *ah = to_mah(ibah);
200 kfree(to_mah(ah));
H A Dmlx4_ib_qp.c2305 struct mlx4_ib_ah *ah = to_mah(wr->ah);
2434 struct mlx4_ib_ah *ah = to_mah(wr->ah);
2775 memcpy(dseg->av, &to_mah(wr->ah)->av, sizeof (struct mlx4_av));
2778 dseg->vlan = to_mah(wr->ah)->av.eth.vlan;
2779 memcpy(dseg->mac, to_mah(wr->ah)->av.eth.mac, 6);
2787 union mlx4_ext_av *av = &to_mah(wr->ah)->av;
2810 struct mlx4_ib_ah *ah = to_mah(wr->ah);
2956 struct mlx4_ib_ah *ah = to_mah(ud_wr(wr)->ah);
H A Dmlx4_ib_mad.c1367 to_mah(ah)->av.ib.gid_index = sgid_index;
1369 to_mah(ah)->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF);
1412 memcpy(to_mah(ah)->av.eth.s_mac, s_mac, 6);
1415 to_mah(ah)->av.eth.vlan = cpu_to_be16(vlan_id);
H A Dmlx4_ib.h704 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) function
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_provider.h321 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) function
H A Dmthca_av.c294 struct mthca_ah *ah = to_mah(ibah);
H A Dmthca_qp.c1488 mthca_ah_grh_present(to_mah(wr->ah)), 0, 0, 0,
1491 err = mthca_read_ah(dev, to_mah(wr->ah), &sqp->ud_header);
1587 useg->lkey = cpu_to_be32(to_mah(wr->ah)->key);
1588 useg->av_addr = cpu_to_be64(to_mah(wr->ah)->avdma);
1597 memcpy(useg->av, to_mah(wr->ah)->av, MTHCA_AV_SIZE);
H A Dmthca_provider.c433 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah));
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dqp.c178 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av));
181 dseg->vlan = htobe16(to_mah(wr->wr.ud.ah)->vlan);
182 memcpy(dseg->mac, to_mah(wr->wr.ud.ah)->mac, 6);
H A Dmlx4.h341 static inline struct mlx4_ah *to_mah(struct ibv_ah *ibah) function
H A Dverbs.c1252 free(to_mah(ah));
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dmlx5.h524 static inline struct mlx5_ah *to_mah(struct ibv_ah *ibah) function
H A Dqp.c212 memcpy(&dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof dseg->av);
H A Dverbs.c1720 struct mlx5_ah *mah = to_mah(ah);

Completed in 203 milliseconds