Home
last modified time | relevance | path

Searched refs:ibah (Results 1 – 25 of 39) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/
H A Dah.c100 int rvt_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, in rvt_create_ah() argument
103 struct rvt_ah *ah = ibah_to_rvtah(ibah); in rvt_create_ah()
104 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_create_ah()
107 if (rvt_check_ah(ibah->device, init_attr->ah_attr)) in rvt_create_ah()
122 dev->driver_f.notify_new_ah(ibah->device, in rvt_create_ah()
135 int rvt_destroy_ah(struct ib_ah *ibah, u32 destroy_flags) in rvt_destroy_ah() argument
137 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_destroy_ah()
138 struct rvt_ah *ah = ibah_to_rvtah(ibah); in rvt_destroy_ah()
156 int rvt_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in rvt_modify_ah() argument
158 struct rvt_ah *ah = ibah_to_rvtah(ibah); in rvt_modify_ah()
[all …]
H A Dah.h55 int rvt_destroy_ah(struct ib_ah *ibah, u32 destroy_flags);
56 int rvt_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
57 int rvt_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
H A Dmad.c163 rdma_destroy_ah(&rvp->sm_ah->ibah, in rvt_free_mad_agents()
H A Dvt.c419 INIT_RDMA_OBJ_SIZE(ib_ah, rvt_ah, ibah),
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c158 int ocrdma_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, in ocrdma_create_ah() argument
163 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); in ocrdma_create_ah()
167 struct ocrdma_pd *pd = get_ocrdma_pd(ibah->pd); in ocrdma_create_ah()
169 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_create_ah()
218 int ocrdma_destroy_ah(struct ib_ah *ibah, u32 flags) in ocrdma_destroy_ah() argument
220 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); in ocrdma_destroy_ah()
221 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_destroy_ah()
227 int ocrdma_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in ocrdma_query_ah() argument
229 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); in ocrdma_query_ah()
233 attr->type = ibah->type; in ocrdma_query_ah()
H A Docrdma.h354 struct ib_ah ibah; member
486 static inline struct ocrdma_ah *get_ocrdma_ah(struct ib_ah *ibah) in get_ocrdma_ah() argument
488 return container_of(ibah, struct ocrdma_ah, ibah); in get_ocrdma_ah()
H A Docrdma_main.c183 INIT_RDMA_OBJ_SIZE(ib_ah, ocrdma_ah, ibah),
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_ah.c55 int hns_roce_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, in hns_roce_create_ah() argument
60 struct hns_roce_dev *hr_dev = to_hr_dev(ibah->device); in hns_roce_create_ah()
61 struct hns_roce_ah *ah = to_hr_ah(ibah); in hns_roce_create_ah()
92 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in hns_roce_query_ah() argument
94 struct hns_roce_ah *ah = to_hr_ah(ibah); in hns_roce_query_ah()
H A Dhns_roce_device.h554 struct ib_ah ibah; member
1031 static inline struct hns_roce_ah *to_hr_ah(struct ib_ah *ibah) in to_hr_ah() argument
1033 return container_of(ibah, struct hns_roce_ah, ibah); in to_hr_ah()
1196 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dah.c93 int mlx5_ib_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, in mlx5_ib_create_ah() argument
98 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_create_ah()
99 struct mlx5_ib_dev *dev = to_mdev(ibah->device); in mlx5_ib_create_ah()
127 int mlx5_ib_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in mlx5_ib_query_ah() argument
129 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_query_ah()
133 ah_attr->type = ibah->type; in mlx5_ib_query_ah()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_provider.h110 struct ib_ah ibah; member
296 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) in to_mah() argument
298 return container_of(ibah, struct mthca_ah, ibah); in to_mah()
H A Dmthca_av.c284 header->grh.source_gid = ah->ibah.sgid_attr->gid; in mthca_read_ah()
292 int mthca_ah_query(struct ib_ah *ibah, struct rdma_ah_attr *attr) in mthca_ah_query() argument
294 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_query()
295 struct mthca_dev *dev = to_mdev(ibah->device); in mthca_ah_query()
303 attr->type = ibah->type; in mthca_ah_query()
H A Dmthca_provider.c382 static int mthca_ah_create(struct ib_ah *ibah, in mthca_ah_create() argument
387 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_create()
389 return mthca_create_ah(to_mdev(ibah->device), to_mpd(ibah->pd), in mthca_ah_create()
1115 INIT_RDMA_OBJ_SIZE(ib_ah, mthca_ah, ibah),
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/efa/
H A Defa.h114 struct ib_ah ibah; member
152 int efa_create_ah(struct ib_ah *ibah,
155 int efa_destroy_ah(struct ib_ah *ibah, u32 flags);
H A Defa_verbs.c143 static inline struct efa_ah *to_eah(struct ib_ah *ibah) in to_eah() argument
145 return container_of(ibah, struct efa_ah, ibah); in to_eah()
1819 .pdn = to_epd(ah->ibah.pd)->pdn, in efa_ah_destroy()
1825 int efa_create_ah(struct ib_ah *ibah, in efa_create_ah() argument
1830 struct efa_dev *dev = to_edev(ibah->device); in efa_create_ah()
1834 struct efa_ah *ah = to_eah(ibah); in efa_create_ah()
1853 params.pdn = to_epd(ibah->pd)->pdn; in efa_create_ah()
1883 int efa_destroy_ah(struct ib_ah *ibah, u32 flags) in efa_destroy_ah() argument
1885 struct efa_dev *dev = to_edev(ibah->pd->device); in efa_destroy_ah()
1886 struct efa_ah *ah = to_eah(ibah); in efa_destroy_ah()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe_verbs.c159 static int rxe_create_ah(struct ib_ah *ibah, in rxe_create_ah() argument
165 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_create_ah()
166 struct rxe_ah *ah = to_rah(ibah); in rxe_create_ah()
180 static int rxe_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_modify_ah() argument
183 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_modify_ah()
184 struct rxe_ah *ah = to_rah(ibah); in rxe_modify_ah()
194 static int rxe_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_query_ah() argument
196 struct rxe_ah *ah = to_rah(ibah); in rxe_query_ah()
199 attr->type = ibah->type; in rxe_query_ah()
204 static int rxe_destroy_ah(struct ib_ah *ibah, u32 flags) in rxe_destroy_ah() argument
[all …]
H A Drxe_verbs.h47 struct ib_ah ibah; member
408 return ah ? container_of(ah, struct rxe_ah, ibah) : NULL; in to_rah()
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Dqp.h327 struct ib_ah ibah; member
332 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() argument
334 return container_of(ibah, struct mlx5_ib_ah, ibah); in to_mah()
/OK3568_Linux_fs/kernel/include/rdma/
H A Drdma_vt.h162 struct ib_ah ibah; member
467 static inline struct rvt_ah *ibah_to_rvtah(struct ib_ah *ibah) in ibah_to_rvtah() argument
469 return container_of(ibah, struct rvt_ah, ibah); in ibah_to_rvtah()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma.h161 struct ib_ah ibah; member
294 static inline struct pvrdma_ah *to_vah(struct ib_ah *ibah) in to_vah() argument
296 return container_of(ibah, struct pvrdma_ah, ibah); in to_vah()
H A Dpvrdma_verbs.c512 int pvrdma_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, in pvrdma_create_ah() argument
516 struct pvrdma_dev *dev = to_vdev(ibah->device); in pvrdma_create_ah()
517 struct pvrdma_ah *ah = to_vah(ibah); in pvrdma_create_ah()
532 ah->av.port_pd = to_vpd(ibah->pd)->pd_handle | (port_num << 24); in pvrdma_create_ah()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dah.c197 int mlx4_ib_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in mlx4_ib_query_ah() argument
199 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah()
203 ah_attr->type = ibah->type; in mlx4_ib_query_ah()
H A Dmlx4_ib.h389 struct ib_ah ibah; member
733 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() argument
735 return container_of(ibah, struct mlx4_ib_ah, ibah); in to_mah()
779 int mlx4_ib_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
832 if (rdma_port_get_link_layer(ah->ibah.device, port) == IB_LINK_LAYER_ETHERNET) in mlx4_ib_ah_grh_present()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qedr/
H A Dverbs.h74 int qedr_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr,
76 int qedr_destroy_ah(struct ib_ah *ibah, u32 flags);
H A Dqedr.h463 struct ib_ah ibah; member
598 static inline struct qedr_ah *get_qedr_ah(struct ib_ah *ibah) in get_qedr_ah() argument
600 return container_of(ibah, struct qedr_ah, ibah); in get_qedr_ah()

12