/Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
D | ah.c | 101 int rvt_create_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr, in rvt_create_ah() argument 104 struct rvt_ah *ah = ibah_to_rvtah(ibah); in rvt_create_ah() 105 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_create_ah() 108 if (rvt_check_ah(ibah->device, ah_attr)) in rvt_create_ah() 123 dev->driver_f.notify_new_ah(ibah->device, ah_attr, ah); in rvt_create_ah() 136 void rvt_destroy_ah(struct ib_ah *ibah, u32 destroy_flags) in rvt_destroy_ah() argument 138 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_destroy_ah() 139 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 …]
|
D | ah.h | 55 void 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);
|
D | mad.c | 163 rdma_destroy_ah(&rvp->sm_ah->ibah, in rvt_free_mad_agents()
|
D | vt.c | 431 INIT_RDMA_OBJ_SIZE(ib_ah, rvt_ah, ibah),
|
/Linux-v5.4/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 158 int ocrdma_create_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr, u32 flags, 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() 168 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_create_ah() 217 void ocrdma_destroy_ah(struct ib_ah *ibah, u32 flags) in ocrdma_destroy_ah() argument 219 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); in ocrdma_destroy_ah() 220 struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device); in ocrdma_destroy_ah() 225 int ocrdma_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in ocrdma_query_ah() argument 227 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); in ocrdma_query_ah() 231 attr->type = ibah->type; in ocrdma_query_ah()
|
D | ocrdma.h | 356 struct ib_ah ibah; member 488 static inline struct ocrdma_ah *get_ocrdma_ah(struct ib_ah *ibah) in get_ocrdma_ah() argument 490 return container_of(ibah, struct ocrdma_ah, ibah); in get_ocrdma_ah()
|
D | ocrdma_main.c | 184 INIT_RDMA_OBJ_SIZE(ib_ah, ocrdma_ah, ibah),
|
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | ah.c | 71 int mlx5_ib_create_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr, in mlx5_ib_create_ah() argument 75 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_create_ah() 76 struct mlx5_ib_dev *dev = to_mdev(ibah->device); in mlx5_ib_create_ah() 104 int mlx5_ib_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in mlx5_ib_query_ah() argument 106 struct mlx5_ib_ah *ah = to_mah(ibah); in mlx5_ib_query_ah() 110 ah_attr->type = ibah->type; in mlx5_ib_query_ah()
|
/Linux-v5.4/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 42 int hns_roce_create_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr, in hns_roce_create_ah() argument 45 struct hns_roce_dev *hr_dev = to_hr_dev(ibah->device); in hns_roce_create_ah() 48 struct hns_roce_ah *ah = to_hr_ah(ibah); in hns_roce_create_ah() 85 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in hns_roce_query_ah() argument 87 struct hns_roce_ah *ah = to_hr_ah(ibah); in hns_roce_query_ah()
|
D | hns_roce_device.h | 590 struct ib_ah ibah; member 1065 static inline struct hns_roce_ah *to_hr_ah(struct ib_ah *ibah) in to_hr_ah() argument 1067 return container_of(ibah, struct hns_roce_ah, ibah); in to_hr_ah() 1183 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
|
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 128 struct ib_ah ibah; member 319 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) in to_mah() argument 321 return container_of(ibah, struct mthca_ah, ibah); in to_mah()
|
D | mthca_av.c | 284 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()
|
D | mthca_provider.c | 391 static int mthca_ah_create(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr, in mthca_ah_create() argument 395 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_create() 397 return mthca_create_ah(to_mdev(ibah->device), to_mpd(ibah->pd), ah_attr, in mthca_ah_create() 1182 INIT_RDMA_OBJ_SIZE(ib_ah, mthca_ah, ibah),
|
/Linux-v5.4/drivers/infiniband/hw/efa/ |
D | efa.h | 113 struct ib_ah ibah; member 150 int efa_create_ah(struct ib_ah *ibah, 154 void efa_destroy_ah(struct ib_ah *ibah, u32 flags);
|
D | efa_verbs.c | 145 static inline struct efa_ah *to_eah(struct ib_ah *ibah) in to_eah() argument 147 return container_of(ibah, struct efa_ah, ibah); in to_eah() 1675 .pdn = to_epd(ah->ibah.pd)->pdn, in efa_ah_destroy() 1681 int efa_create_ah(struct ib_ah *ibah, in efa_create_ah() argument 1686 struct efa_dev *dev = to_edev(ibah->device); in efa_create_ah() 1690 struct efa_ah *ah = to_eah(ibah); in efa_create_ah() 1709 params.pdn = to_epd(ibah->pd)->pdn; in efa_create_ah() 1739 void efa_destroy_ah(struct ib_ah *ibah, u32 flags) in efa_destroy_ah() argument 1741 struct efa_dev *dev = to_edev(ibah->pd->device); in efa_destroy_ah() 1742 struct efa_ah *ah = to_eah(ibah); in efa_destroy_ah()
|
/Linux-v5.4/include/rdma/ |
D | rdma_vt.h | 204 struct ib_ah ibah; member 509 static inline struct rvt_ah *ibah_to_rvtah(struct ib_ah *ibah) in ibah_to_rvtah() argument 511 return container_of(ibah, struct rvt_ah, ibah); in ibah_to_rvtah()
|
/Linux-v5.4/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 194 static int rxe_create_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr, in rxe_create_ah() argument 199 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_create_ah() 200 struct rxe_ah *ah = to_rah(ibah); in rxe_create_ah() 214 static int rxe_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_modify_ah() argument 217 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_modify_ah() 218 struct rxe_ah *ah = to_rah(ibah); in rxe_modify_ah() 228 static int rxe_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_query_ah() argument 230 struct rxe_ah *ah = to_rah(ibah); in rxe_query_ah() 233 attr->type = ibah->type; in rxe_query_ah() 238 static void rxe_destroy_ah(struct ib_ah *ibah, u32 flags) in rxe_destroy_ah() argument [all …]
|
D | rxe_verbs.h | 74 struct ib_ah ibah; member 440 return ah ? container_of(ah, struct rxe_ah, ibah) : NULL; in to_rah()
|
/Linux-v5.4/drivers/infiniband/hw/qedr/ |
D | verbs.h | 74 int qedr_create_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr, u32 flags, 76 void qedr_destroy_ah(struct ib_ah *ibah, u32 flags);
|
D | qedr.h | 445 struct ib_ah ibah; member 563 static inline struct qedr_ah *get_qedr_ah(struct ib_ah *ibah) in get_qedr_ah() argument 565 return container_of(ibah, struct qedr_ah, ibah); in get_qedr_ah()
|
/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | ah.c | 194 int mlx4_ib_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in mlx4_ib_query_ah() argument 196 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah() 200 ah_attr->type = ibah->type; in mlx4_ib_query_ah()
|
D | mlx4_ib.h | 370 struct ib_ah ibah; member 711 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() argument 713 return container_of(ibah, struct mlx4_ib_ah, ibah); in to_mah() 758 int mlx4_ib_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr); 815 if (rdma_port_get_link_layer(ah->ibah.device, port) == IB_LINK_LAYER_ETHERNET) in mlx4_ib_ah_grh_present()
|
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma.h | 161 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()
|
D | pvrdma_verbs.c | 512 int pvrdma_create_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr, in pvrdma_create_ah() argument 515 struct pvrdma_dev *dev = to_vdev(ibah->device); in pvrdma_create_ah() 516 struct pvrdma_ah *ah = to_vah(ibah); in pvrdma_create_ah() 531 ah->av.port_pd = to_vpd(ibah->pd)->pd_handle | (port_num << 24); in pvrdma_create_ah()
|
/Linux-v5.4/include/linux/mlx5/ |
D | qp.h | 316 struct ib_ah ibah; member 320 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() argument 322 return container_of(ibah, struct mlx5_ib_ah, ibah); in to_mah()
|