Home
last modified time | relevance | path

Searched defs:ibdev (Results 1 – 25 of 97) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_mad.c208 struct qib_ibdev *ibdev = container_of(rdi, struct qib_ibdev, rdi); in qib_cap_mask_chg() local
268 struct ib_device *ibdev) in subn_get_nodedescription()
278 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
313 static int subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_guidinfo()
454 static int subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_portinfo()
596 static int subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_pkeytable()
620 static int subn_set_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_set_guidinfo()
653 static int subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_set_portinfo()
1039 static int subn_set_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, in subn_set_pkeytable()
1057 static int subn_get_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_sl_to_vl()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c134 struct mlx4_ib_dev *ibdev = to_mdev(device); in mlx4_ib_get_netdev() local
162 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids_v1()
195 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids_v1_v2()
240 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids()
258 struct mlx4_ib_dev *ibdev = to_mdev(attr->device); in mlx4_ib_add_gid() local
351 struct mlx4_ib_dev *ibdev = to_mdev(attr->device); in mlx4_ib_del_gid() local
401 int mlx4_ib_gid_index_to_real_index(struct mlx4_ib_dev *ibdev, in mlx4_ib_gid_index_to_real_index()
437 static int mlx4_ib_query_device(struct ib_device *ibdev, in mlx4_ib_query_device()
657 static int ib_link_query_port(struct ib_device *ibdev, u8 port, in ib_link_query_port()
753 static int eth_link_query_port(struct ib_device *ibdev, u8 port, in eth_link_query_port()
[all …]
Dcm.c144 static union ib_gid gid_from_req_msg(struct ib_device *ibdev, struct ib_mad *mad) in gid_from_req_msg()
153 id_map_find_by_sl_id(struct ib_device *ibdev, u32 slave_id, u32 sl_cm_id) in id_map_find_by_sl_id()
198 static void sl_id_map_add(struct ib_device *ibdev, struct id_map_entry *new) in sl_id_map_add()
231 id_map_alloc(struct ib_device *ibdev, int slave_id, u32 sl_cm_id) in id_map_alloc()
264 id_map_get(struct ib_device *ibdev, int *pv_cm_id, int slave_id, int sl_cm_id) in id_map_get()
281 static void schedule_delayed(struct ib_device *ibdev, struct id_map_entry *id) in schedule_delayed()
301 int mlx4_ib_multiplex_cm_handler(struct ib_device *ibdev, int port, int slave_id, in mlx4_ib_multiplex_cm_handler()
425 int mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, in mlx4_ib_demux_cm_handler()
Dmad.c220 static void smp_snoop(struct ib_device *ibdev, u8 port_num, const struct ib_mad *mad, in smp_snoop()
416 static int mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, in mlx4_ib_demux_sa_handler()
432 int mlx4_ib_find_real_gid(struct ib_device *ibdev, u8 port, __be64 guid) in mlx4_ib_find_real_gid()
681 static int mlx4_ib_demux_mad(struct ib_device *ibdev, u8 port, in mlx4_ib_demux_mad()
821 static int ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in ib_process_mad()
935 static int iboe_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in iboe_process_mad()
982 int mlx4_ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in mlx4_ib_process_mad()
1338 static int mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, in mlx4_ib_multiplex_sa_handler()
1977 static int create_pv_resources(struct ib_device *ibdev, int slave, int port, in create_pv_resources()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c65 int pvrdma_query_device(struct ib_device *ibdev, in pvrdma_query_device()
128 int pvrdma_query_port(struct ib_device *ibdev, u8 port, in pvrdma_query_port()
186 int pvrdma_query_gid(struct ib_device *ibdev, u8 port, int index, in pvrdma_query_gid()
208 int pvrdma_query_pkey(struct ib_device *ibdev, u8 port, u16 index, in pvrdma_query_pkey()
234 enum rdma_link_layer pvrdma_port_link_layer(struct ib_device *ibdev, in pvrdma_port_link_layer()
240 int pvrdma_modify_device(struct ib_device *ibdev, int mask, in pvrdma_modify_device()
277 int pvrdma_modify_port(struct ib_device *ibdev, u8 port, int mask, in pvrdma_modify_port()
315 struct ib_device *ibdev = uctx->device; in pvrdma_alloc_ucontext() local
429 struct ib_device *ibdev = ibpd->device; in pvrdma_alloc_pd() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dprovider.c78 struct ib_device *ibdev = ucontext->device; in c4iw_alloc_ucontext() local
211 struct ib_device *ibdev = pd->device; in c4iw_allocate_pd() local
240 static int c4iw_query_gid(struct ib_device *ibdev, u8 port, int index, in c4iw_query_gid()
255 static int c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in c4iw_query_device()
298 static int c4iw_query_port(struct ib_device *ibdev, u8 port, in c4iw_query_port()
379 static struct rdma_hw_stats *c4iw_alloc_stats(struct ib_device *ibdev, in c4iw_alloc_stats()
391 static int c4iw_get_mib(struct ib_device *ibdev, in c4iw_get_mib()
422 static int c4iw_port_immutable(struct ib_device *ibdev, u8 port_num, in c4iw_port_immutable()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c219 int mlx5_ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in mlx5_ib_process_mad()
311 int mlx5_query_mad_ifc_smp_attr_node_info(struct ib_device *ibdev, in mlx5_query_mad_ifc_smp_attr_node_info()
331 int mlx5_query_mad_ifc_system_image_guid(struct ib_device *ibdev, in mlx5_query_mad_ifc_system_image_guid()
353 int mlx5_query_mad_ifc_max_pkeys(struct ib_device *ibdev, in mlx5_query_mad_ifc_max_pkeys()
375 int mlx5_query_mad_ifc_vendor_id(struct ib_device *ibdev, in mlx5_query_mad_ifc_vendor_id()
447 int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index, in mlx5_query_mad_ifc_pkey()
476 int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u8 port, int index, in mlx5_query_mad_ifc_gids()
516 int mlx5_query_mad_ifc_port(struct ib_device *ibdev, u8 port, in mlx5_query_mad_ifc_port()
Dmain.c116 static int get_port_state(struct ib_device *ibdev, in get_port_state()
165 struct mlx5_ib_dev *ibdev; in mlx5_netdev_event() local
244 struct mlx5_ib_dev *ibdev = to_mdev(device); in mlx5_ib_get_netdev() local
269 struct mlx5_core_dev *mlx5_ib_get_native_port_mdev(struct mlx5_ib_dev *ibdev, in mlx5_ib_get_native_port_mdev()
305 void mlx5_ib_put_native_port_mdev(struct mlx5_ib_dev *ibdev, u8 port_num) in mlx5_ib_put_native_port_mdev()
621 static int mlx5_get_vport_access_method(struct ib_device *ibdev) in mlx5_get_vport_access_method()
663 static int mlx5_query_system_image_guid(struct ib_device *ibdev, in mlx5_query_system_image_guid()
695 static int mlx5_query_max_pkeys(struct ib_device *ibdev, in mlx5_query_max_pkeys()
716 static int mlx5_query_vendor_id(struct ib_device *ibdev, in mlx5_query_vendor_id()
780 static int mlx5_ib_query_device(struct ib_device *ibdev, in mlx5_ib_query_device()
[all …]
Dib_rep.c13 struct mlx5_ib_dev *ibdev; in mlx5_ib_set_vport_rep() local
34 struct mlx5_ib_dev *ibdev; in mlx5_ib_vport_rep_load() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.c61 static int mthca_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in mthca_query_device()
129 static int mthca_query_port(struct ib_device *ibdev, in mthca_query_port()
178 static int mthca_modify_device(struct ib_device *ibdev, in mthca_modify_device()
196 static int mthca_modify_port(struct ib_device *ibdev, in mthca_modify_port()
225 static int mthca_query_pkey(struct ib_device *ibdev, in mthca_query_pkey()
254 static int mthca_query_gid(struct ib_device *ibdev, u8 port, in mthca_query_gid()
297 struct ib_device *ibdev = uctx->device; in mthca_alloc_ucontext() local
358 struct ib_device *ibdev = ibpd->device; in mthca_alloc_pd() local
605 struct ib_device *ibdev = ibcq->device; in mthca_create_cq() local
1049 static int mthca_port_immutable(struct ib_device *ibdev, u8 port_num, in mthca_port_immutable()
Dmthca_mad.c107 static void smp_snoop(struct ib_device *ibdev, in smp_snoop()
199 int mthca_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in mthca_process_mad()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c583 u8 *data, struct ib_device *ibdev, in __subn_get_opa_nodedesc()
604 struct ib_device *ibdev, u8 port, in __subn_get_opa_nodeinfo()
643 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
797 struct ib_device *ibdev, u8 port, in __subn_get_opa_portinfo()
1022 struct ib_device *ibdev, u8 port, in __subn_get_opa_pkeytable()
1352 struct ib_device *ibdev, u8 port, in __subn_set_opa_portinfo()
1721 struct ib_device *ibdev, u8 port, in __subn_set_opa_pkeytable()
1828 struct ib_device *ibdev, u8 port, in __subn_get_opa_sl_to_sc()
1851 struct ib_device *ibdev, u8 port, in __subn_set_opa_sl_to_sc()
1880 struct ib_device *ibdev, u8 port, in __subn_get_opa_sc_to_sl()
[all …]
Dverbs.c655 struct ib_device *ibdev = ibqp->device; in hfi1_wait_kmem() local
1516 u8 ah_to_sc(struct ib_device *ibdev, struct rdma_ah_attr *ah) in ah_to_sc()
1523 static int hfi1_check_ah(struct ib_device *ibdev, struct rdma_ah_attr *ah_attr) in hfi1_check_ah()
1551 static void hfi1_notify_new_ah(struct ib_device *ibdev, in hfi1_notify_new_ah()
1622 static void hfi1_get_dev_fw_str(struct ib_device *ibdev, char *str) in hfi1_get_dev_fw_str()
1696 static struct rdma_hw_stats *alloc_hw_stats(struct ib_device *ibdev, in alloc_hw_stats()
1760 static int get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, in get_hw_stats()
1809 struct ib_device *ibdev = &dev->rdi.ibdev; in hfi1_register_ib_device() local
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_hw_counters.c27 int rxe_ib_get_hw_stats(struct ib_device *ibdev, in rxe_ib_get_hw_stats()
43 struct rdma_hw_stats *rxe_ib_alloc_hw_stats(struct ib_device *ibdev, in rxe_ib_alloc_hw_stats()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dvt.c119 static int rvt_query_device(struct ib_device *ibdev, in rvt_query_device()
154 static int rvt_query_port(struct ib_device *ibdev, u8 port_num, in rvt_query_port()
189 static int rvt_modify_port(struct ib_device *ibdev, u8 port_num, in rvt_modify_port()
228 static int rvt_query_pkey(struct ib_device *ibdev, u8 port_num, u16 index, in rvt_query_pkey()
260 static int rvt_query_gid(struct ib_device *ibdev, u8 port_num, in rvt_query_gid()
304 static int rvt_get_port_immutable(struct ib_device *ibdev, u8 port_num, in rvt_get_port_immutable()
Dpd.c62 struct ib_device *ibdev = ibpd->device; in rvt_alloc_pd() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dhw_counters.c115 int bnxt_re_ib_get_hw_stats(struct ib_device *ibdev, in bnxt_re_ib_get_hw_stats()
237 struct rdma_hw_stats *bnxt_re_ib_alloc_hw_stats(struct ib_device *ibdev, in bnxt_re_ib_alloc_hw_stats()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_srq.c84 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_srqc() local
185 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_srq_buf() local
219 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_srq_idx() local
291 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_srq() local
Dhns_roce_mr.c72 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_mr_key() local
116 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_mr_pbl() local
151 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_mr_free() local
309 struct ib_device *ibdev = &hr_dev->ib_dev; in rereg_mr_trans() local
485 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_map_mr_sg() local
744 struct ib_device *ibdev = &hr_dev->ib_dev; in mtr_alloc_bufs() local
820 struct ib_device *ibdev = &hr_dev->ib_dev; in mtr_get_pages() local
846 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_mtr_map() local
1018 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_mtr_create() local
Dhns_roce_qp.c472 struct ib_device *ibdev = &hr_dev->ib_dev; in set_user_sq_size() local
552 struct ib_device *ibdev = &hr_dev->ib_dev; in set_kernel_sq_size() local
651 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_qp_buf() local
730 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_qp_db() local
805 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_kernel_wrid() local
845 struct ib_device *ibdev = &hr_dev->ib_dev; in set_qp_param() local
911 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_qp_common() local
1028 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_qp() local
Dhns_roce_cq.c46 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_cqc() local
148 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_cq_buf() local
248 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_cq() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c278 int usnic_ib_query_device(struct ib_device *ibdev, in usnic_ib_query_device()
335 int usnic_ib_query_port(struct ib_device *ibdev, u8 port, in usnic_ib_query_port()
423 int usnic_ib_query_gid(struct ib_device *ibdev, u8 port, int index, in usnic_ib_query_gid()
639 struct ib_device *ibdev = uctx->device; in usnic_ib_alloc_ucontext() local
Dusnic_ib_main.c225 struct ib_device *ibdev; in usnic_ib_netdevice_event() local
290 struct ib_device *ibdev; in usnic_ib_inetaddr_event() local
306 static int usnic_port_immutable(struct ib_device *ibdev, u8 port_num, in usnic_port_immutable()
/kernel/linux/linux-5.10/drivers/nvme/host/
Drdma.c176 static void nvme_rdma_free_qe(struct ib_device *ibdev, struct nvme_rdma_qe *qe, in nvme_rdma_free_qe()
183 static int nvme_rdma_alloc_qe(struct ib_device *ibdev, struct nvme_rdma_qe *qe, in nvme_rdma_alloc_qe()
200 static void nvme_rdma_free_ring(struct ib_device *ibdev, in nvme_rdma_free_ring()
211 static struct nvme_rdma_qe *nvme_rdma_alloc_ring(struct ib_device *ibdev, in nvme_rdma_alloc_ring()
426 struct ib_device *ibdev; in nvme_rdma_destroy_queue_ib() local
452 static int nvme_rdma_get_max_fr_pages(struct ib_device *ibdev, bool pi_support) in nvme_rdma_get_max_fr_pages()
464 static int nvme_rdma_create_cq(struct ib_device *ibdev, in nvme_rdma_create_cq()
497 struct ib_device *ibdev; in nvme_rdma_create_queue_ib() local
722 struct ib_device *ibdev = ctrl->device->dev; in nvme_rdma_alloc_io_queues() local
1290 struct ib_device *ibdev = dev->dev; in nvme_rdma_unmap_data() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_verbs.c113 static inline struct efa_dev *to_edev(struct ib_device *ibdev) in to_edev()
188 int efa_query_device(struct ib_device *ibdev, in efa_query_device()
250 int efa_query_port(struct ib_device *ibdev, u8 port, in efa_query_port()
322 int efa_query_gid(struct ib_device *ibdev, u8 port, int index, in efa_query_gid()
332 int efa_query_pkey(struct ib_device *ibdev, u8 port, u16 index, in efa_query_pkey()
1022 struct ib_device *ibdev = ibcq->device; in efa_create_cq() local
1615 int efa_get_port_immutable(struct ib_device *ibdev, u8 port_num, in efa_get_port_immutable()
1900 struct rdma_hw_stats *efa_alloc_hw_stats(struct ib_device *ibdev, u8 port_num) in efa_alloc_hw_stats()
1907 int efa_get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, in efa_get_hw_stats()
1976 enum rdma_link_layer efa_port_link_layer(struct ib_device *ibdev, in efa_port_link_layer()

1234