/Linux-v5.15/drivers/infiniband/sw/rdmavt/ |
D | ah.c | 58 int rvt_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, in rvt_create_ah() argument 61 struct rvt_ah *ah = ibah_to_rvtah(ibah); in rvt_create_ah() 62 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_create_ah() 65 if (rvt_check_ah(ibah->device, init_attr->ah_attr)) in rvt_create_ah() 80 dev->driver_f.notify_new_ah(ibah->device, in rvt_create_ah() 92 int rvt_destroy_ah(struct ib_ah *ibah, u32 destroy_flags) in rvt_destroy_ah() argument 94 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_destroy_ah() 95 struct rvt_ah *ah = ibah_to_rvtah(ibah); in rvt_destroy_ah() 113 int rvt_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in rvt_modify_ah() argument 115 struct rvt_ah *ah = ibah_to_rvtah(ibah); in rvt_modify_ah() [all …]
|
D | ah.h | 13 int rvt_destroy_ah(struct ib_ah *ibah, u32 destroy_flags); 14 int rvt_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr); 15 int rvt_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
|
D | mad.c | 121 rdma_destroy_ah(&rvp->sm_ah->ibah, in rvt_free_mad_agents()
|
/Linux-v5.15/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 158 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()
|
D | ocrdma.h | 354 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()
|
/Linux-v5.15/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 55 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() 95 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in hns_roce_query_ah() argument 97 struct hns_roce_ah *ah = to_hr_ah(ibah); in hns_roce_query_ah()
|
D | hns_roce_device.h | 549 struct ib_ah ibah; member 1022 static inline struct hns_roce_ah *to_hr_ah(struct ib_ah *ibah) in to_hr_ah() argument 1024 return container_of(ibah, struct hns_roce_ah, ibah); in to_hr_ah() 1166 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
|
/Linux-v5.15/drivers/infiniband/hw/mlx5/ |
D | ah.c | 93 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()
|
/Linux-v5.15/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 110 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()
|
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 | 382 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() 1103 INIT_RDMA_OBJ_SIZE(ib_ah, mthca_ah, ibah),
|
/Linux-v5.15/drivers/infiniband/hw/efa/ |
D | efa.h | 113 struct ib_ah ibah; member 150 int efa_create_ah(struct ib_ah *ibah, 153 int efa_destroy_ah(struct ib_ah *ibah, u32 flags);
|
D | efa_verbs.c | 153 static inline struct efa_ah *to_eah(struct ib_ah *ibah) in to_eah() argument 155 return container_of(ibah, struct efa_ah, ibah); in to_eah() 1825 .pdn = to_epd(ah->ibah.pd)->pdn, in efa_ah_destroy() 1831 int efa_create_ah(struct ib_ah *ibah, in efa_create_ah() argument 1836 struct efa_dev *dev = to_edev(ibah->device); in efa_create_ah() 1840 struct efa_ah *ah = to_eah(ibah); in efa_create_ah() 1859 params.pdn = to_epd(ibah->pd)->pdn; in efa_create_ah() 1889 int efa_destroy_ah(struct ib_ah *ibah, u32 flags) in efa_destroy_ah() argument 1891 struct efa_dev *dev = to_edev(ibah->pd->device); in efa_destroy_ah() 1892 struct efa_ah *ah = to_eah(ibah); in efa_destroy_ah()
|
/Linux-v5.15/include/rdma/ |
D | rdma_vt.h | 162 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()
|
/Linux-v5.15/include/linux/mlx5/ |
D | qp.h | 327 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()
|
/Linux-v5.15/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 159 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 …]
|
D | rxe_verbs.h | 47 struct ib_ah ibah; member 444 return ah ? container_of(ah, struct rxe_ah, ibah) : NULL; in to_rah()
|
/Linux-v5.15/drivers/infiniband/hw/mlx4/ |
D | ah.c | 197 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()
|
D | mlx4_ib.h | 389 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); 831 if (rdma_port_get_link_layer(ah->ibah.device, port) == IB_LINK_LAYER_ETHERNET) in mlx4_ib_ah_grh_present()
|
/Linux-v5.15/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_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()
|
/Linux-v5.15/drivers/infiniband/hw/qedr/ |
D | verbs.h | 75 int qedr_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, 77 int qedr_destroy_ah(struct ib_ah *ibah, u32 flags);
|
D | qedr.h | 463 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()
|
/Linux-v5.15/drivers/infiniband/hw/irdma/ |
D | main.h | 377 static inline struct irdma_ah *to_iwah(struct ib_ah *ibah) in to_iwah() argument 379 return container_of(ibah, struct irdma_ah, ibah); in to_iwah()
|
D | verbs.h | 40 struct ib_ah ibah; member
|