/Linux-v6.1/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-v6.1/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-v6.1/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 53 int hns_roce_create_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *init_attr, in hns_roce_create_ah() argument 58 struct hns_roce_dev *hr_dev = to_hr_dev(ibah->device); in hns_roce_create_ah() 59 struct hns_roce_ah *ah = to_hr_ah(ibah); in hns_roce_create_ah() 93 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr) in hns_roce_query_ah() argument 95 struct hns_roce_ah *ah = to_hr_ah(ibah); in hns_roce_query_ah()
|
D | hns_roce_device.h | 512 struct ib_ah ibah; member 985 static inline struct hns_roce_ah *to_hr_ah(struct ib_ah *ibah) in to_hr_ah() argument 987 return container_of(ibah, struct hns_roce_ah, ibah); in to_hr_ah() 1135 int hns_roce_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr);
|
/Linux-v6.1/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-v6.1/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 | 374 static int mthca_ah_create(struct ib_ah *ibah, in mthca_ah_create() argument 379 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_create() 381 return mthca_create_ah(to_mdev(ibah->device), to_mpd(ibah->pd), in mthca_ah_create() 1095 INIT_RDMA_OBJ_SIZE(ib_ah, mthca_ah, ibah),
|
/Linux-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 156 static int rxe_create_ah(struct ib_ah *ibah, in rxe_create_ah() argument 161 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_create_ah() 162 struct rxe_ah *ah = to_rah(ibah); in rxe_create_ah() 206 static int rxe_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_modify_ah() argument 209 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_modify_ah() 210 struct rxe_ah *ah = to_rah(ibah); in rxe_modify_ah() 220 static int rxe_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_query_ah() argument 222 struct rxe_ah *ah = to_rah(ibah); in rxe_query_ah() 225 attr->type = ibah->type; in rxe_query_ah() 230 static int rxe_destroy_ah(struct ib_ah *ibah, u32 flags) in rxe_destroy_ah() argument [all …]
|
D | rxe_verbs.h | 46 struct ib_ah ibah; member 430 return ah ? container_of(ah, struct rxe_ah, ibah) : NULL; in to_rah() 460 return to_rpd(ah->ibah.pd); in rxe_ah_pd()
|
/Linux-v6.1/drivers/infiniband/hw/efa/ |
D | efa.h | 123 struct ib_ah ibah; member 169 int efa_create_ah(struct ib_ah *ibah, 172 int efa_destroy_ah(struct ib_ah *ibah, u32 flags);
|
D | efa_verbs.c | 157 static inline struct efa_ah *to_eah(struct ib_ah *ibah) in to_eah() argument 159 return container_of(ibah, struct efa_ah, ibah); in to_eah() 1951 .pdn = to_epd(ah->ibah.pd)->pdn, in efa_ah_destroy() 1957 int efa_create_ah(struct ib_ah *ibah, in efa_create_ah() argument 1962 struct efa_dev *dev = to_edev(ibah->device); in efa_create_ah() 1966 struct efa_ah *ah = to_eah(ibah); in efa_create_ah() 1985 params.pdn = to_epd(ibah->pd)->pdn; in efa_create_ah() 2015 int efa_destroy_ah(struct ib_ah *ibah, u32 flags) in efa_destroy_ah() argument 2017 struct efa_dev *dev = to_edev(ibah->pd->device); in efa_destroy_ah() 2018 struct efa_ah *ah = to_eah(ibah); in efa_destroy_ah()
|
/Linux-v6.1/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-v6.1/include/linux/mlx5/ |
D | qp.h | 335 struct ib_ah ibah; member 340 static inline struct mlx5_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() argument 342 return container_of(ibah, struct mlx5_ib_ah, ibah); in to_mah()
|
/Linux-v6.1/drivers/infiniband/hw/qedr/ |
D | verbs.h | 74 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);
|
D | qedr.h | 464 struct ib_ah ibah; member 599 static inline struct qedr_ah *get_qedr_ah(struct ib_ah *ibah) in get_qedr_ah() argument 601 return container_of(ibah, struct qedr_ah, ibah); in get_qedr_ah()
|
/Linux-v6.1/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-v6.1/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-v6.1/drivers/infiniband/hw/irdma/ |
D | main.h | 378 static inline struct irdma_ah *to_iwah(struct ib_ah *ibah) in to_iwah() argument 380 return container_of(ibah, struct irdma_ah, ibah); in to_iwah()
|
D | verbs.c | 4195 static int irdma_setup_ah(struct ib_ah *ibah, struct rdma_ah_init_attr *attr) in irdma_setup_ah() argument 4197 struct irdma_pd *pd = to_iwpd(ibah->pd); in irdma_setup_ah() 4198 struct irdma_ah *ah = container_of(ibah, struct irdma_ah, ibah); in irdma_setup_ah() 4201 struct irdma_device *iwdev = to_iwdev(ibah->pd->device); in irdma_setup_ah() 4313 static int irdma_destroy_ah(struct ib_ah *ibah, u32 ah_flags) in irdma_destroy_ah() argument 4315 struct irdma_device *iwdev = to_iwdev(ibah->device); in irdma_destroy_ah() 4316 struct irdma_ah *ah = to_iwah(ibah); in irdma_destroy_ah() 4346 static int irdma_create_user_ah(struct ib_ah *ibah, in irdma_create_user_ah() argument 4351 struct irdma_ah *ah = container_of(ibah, struct irdma_ah, ibah); in irdma_create_user_ah() 4352 struct irdma_device *iwdev = to_iwdev(ibah->pd->device); in irdma_create_user_ah() [all …]
|