Lines Matching refs:ib_ah
43 static void create_ib_ah(struct ib_ah *ib_ah, struct rdma_ah_attr *ah_attr) in create_ib_ah() argument
45 struct mlx4_ib_ah *ah = to_mah(ib_ah); in create_ib_ah()
46 struct mlx4_dev *dev = to_mdev(ib_ah->device)->dev; in create_ib_ah()
48 ah->av.ib.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_ib_ah()
77 static int create_iboe_ah(struct ib_ah *ib_ah, struct rdma_ah_attr *ah_attr) in create_iboe_ah() argument
79 struct mlx4_ib_dev *ibdev = to_mdev(ib_ah->device); in create_iboe_ah()
80 struct mlx4_ib_ah *ah = to_mah(ib_ah); in create_iboe_ah()
118 ah->av.eth.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_iboe_ah()
144 int mlx4_ib_create_ah(struct ib_ah *ib_ah, struct rdma_ah_init_attr *init_attr, in mlx4_ib_create_ah() argument
160 return create_iboe_ah(ib_ah, ah_attr); in mlx4_ib_create_ah()
163 create_ib_ah(ib_ah, ah_attr); in mlx4_ib_create_ah()
167 int mlx4_ib_create_ah_slave(struct ib_ah *ah, struct rdma_ah_attr *ah_attr, in mlx4_ib_create_ah_slave()
197 int mlx4_ib_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in mlx4_ib_query_ah()