Home
last modified time | relevance | path

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

1234

/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()
314 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 …]
/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()
256 struct mlx4_ib_dev *ibdev = to_mdev(device); in mlx4_ib_add_gid() local
334 struct mlx4_ib_dev *ibdev = to_mdev(device); in mlx4_ib_del_gid() local
385 int mlx4_ib_gid_index_to_real_index(struct mlx4_ib_dev *ibdev, in mlx4_ib_gid_index_to_real_index()
432 static int mlx4_ib_query_device(struct ib_device *ibdev, in mlx4_ib_query_device()
608 static int ib_link_query_port(struct ib_device *ibdev, u8 port, in ib_link_query_port()
703 static int eth_link_query_port(struct ib_device *ibdev, u8 port, in eth_link_query_port()
[all …]
Dcm.c135 static union ib_gid gid_from_req_msg(struct ib_device *ibdev, struct ib_mad *mad) in gid_from_req_msg()
144 id_map_find_by_sl_id(struct ib_device *ibdev, u32 slave_id, u32 sl_cm_id) in id_map_find_by_sl_id()
192 static void id_map_find_del(struct ib_device *ibdev, int pv_cm_id) in id_map_find_del()
210 static void sl_id_map_add(struct ib_device *ibdev, struct id_map_entry *new) in sl_id_map_add()
243 id_map_alloc(struct ib_device *ibdev, int slave_id, u32 sl_cm_id) in id_map_alloc()
282 id_map_get(struct ib_device *ibdev, int *pv_cm_id, int slave_id, int sl_cm_id) in id_map_get()
299 static void schedule_delayed(struct ib_device *ibdev, struct id_map_entry *id) in schedule_delayed()
315 int mlx4_ib_multiplex_cm_handler(struct ib_device *ibdev, int port, int slave_id, in mlx4_ib_multiplex_cm_handler()
360 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()
664 static int mlx4_ib_demux_mad(struct ib_device *ibdev, u8 port, in mlx4_ib_demux_mad()
802 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()
983 int mlx4_ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in mlx4_ib_process_mad()
1333 static int mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, in mlx4_ib_multiplex_sa_handler()
1981 static int create_pv_resources(struct ib_device *ibdev, int slave, int port, in create_pv_resources()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c64 int pvrdma_query_device(struct ib_device *ibdev, in pvrdma_query_device()
125 int pvrdma_query_port(struct ib_device *ibdev, u8 port, in pvrdma_query_port()
182 int pvrdma_query_gid(struct ib_device *ibdev, u8 port, int index, in pvrdma_query_gid()
204 int pvrdma_query_pkey(struct ib_device *ibdev, u8 port, u16 index, in pvrdma_query_pkey()
230 enum rdma_link_layer pvrdma_port_link_layer(struct ib_device *ibdev, in pvrdma_port_link_layer()
236 int pvrdma_modify_device(struct ib_device *ibdev, int mask, in pvrdma_modify_device()
273 int pvrdma_modify_port(struct ib_device *ibdev, u8 port, int mask, in pvrdma_modify_port()
309 struct ib_ucontext *pvrdma_alloc_ucontext(struct ib_device *ibdev, in pvrdma_alloc_ucontext()
437 struct ib_pd *pvrdma_alloc_pd(struct ib_device *ibdev, in pvrdma_alloc_pd()
Dpvrdma_main.c128 static int pvrdma_port_immutable(struct ib_device *ibdev, u8 port_num, in pvrdma_port_immutable()
150 static struct net_device *pvrdma_get_netdev(struct ib_device *ibdev, in pvrdma_get_netdev()
606 static int pvrdma_add_gid(struct ib_device *ibdev, in pvrdma_add_gid()
647 static int pvrdma_del_gid(struct ib_device *ibdev, in pvrdma_del_gid()
/drivers/infiniband/hw/mlx5/
Dmad.c74 static int process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in process_mad()
200 static int process_pma_cmd(struct ib_device *ibdev, u8 port_num, in process_pma_cmd()
251 int mlx5_ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, in mlx5_ib_process_mad()
307 int mlx5_query_mad_ifc_smp_attr_node_info(struct ib_device *ibdev, in mlx5_query_mad_ifc_smp_attr_node_info()
327 int mlx5_query_mad_ifc_system_image_guid(struct ib_device *ibdev, in mlx5_query_mad_ifc_system_image_guid()
349 int mlx5_query_mad_ifc_max_pkeys(struct ib_device *ibdev, in mlx5_query_mad_ifc_max_pkeys()
371 int mlx5_query_mad_ifc_vendor_id(struct ib_device *ibdev, in mlx5_query_mad_ifc_vendor_id()
443 int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index, in mlx5_query_mad_ifc_pkey()
472 int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u8 port, int index, in mlx5_query_mad_ifc_gids()
512 int mlx5_query_mad_ifc_port(struct ib_device *ibdev, u8 port, in mlx5_query_mad_ifc_port()
Dmain.c101 static int get_port_state(struct ib_device *ibdev, in get_port_state()
119 struct mlx5_ib_dev *ibdev = container_of(this, struct mlx5_ib_dev, in mlx5_netdev_event() local
179 struct mlx5_ib_dev *ibdev = to_mdev(device); in mlx5_ib_get_netdev() local
431 static int mlx5_get_vport_access_method(struct ib_device *ibdev) in mlx5_get_vport_access_method()
465 static int mlx5_query_system_image_guid(struct ib_device *ibdev, in mlx5_query_system_image_guid()
497 static int mlx5_query_max_pkeys(struct ib_device *ibdev, in mlx5_query_max_pkeys()
518 static int mlx5_query_vendor_id(struct ib_device *ibdev, in mlx5_query_vendor_id()
582 static int mlx5_ib_query_device(struct ib_device *ibdev, in mlx5_ib_query_device()
872 static void translate_active_width(struct ib_device *ibdev, u8 active_width, in translate_active_width()
928 static int translate_max_vl_num(struct ib_device *ibdev, u8 vl_hw_cap, in translate_max_vl_num()
[all …]
/drivers/infiniband/hw/cxgb4/
Dprovider.c84 static int c4iw_process_mad(struct ib_device *ibdev, int mad_flags, in c4iw_process_mad()
121 static struct ib_ucontext *c4iw_alloc_ucontext(struct ib_device *ibdev, in c4iw_alloc_ucontext()
263 static struct ib_pd *c4iw_allocate_pd(struct ib_device *ibdev, in c4iw_allocate_pd()
298 static int c4iw_query_pkey(struct ib_device *ibdev, u8 port, u16 index, in c4iw_query_pkey()
306 static int c4iw_query_gid(struct ib_device *ibdev, u8 port, int index, in c4iw_query_gid()
320 static int c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in c4iw_query_device()
360 static int c4iw_query_port(struct ib_device *ibdev, u8 port, in c4iw_query_port()
460 static struct rdma_hw_stats *c4iw_alloc_stats(struct ib_device *ibdev, in c4iw_alloc_stats()
472 static int c4iw_get_mib(struct ib_device *ibdev, in c4iw_get_mib()
502 static int c4iw_port_immutable(struct ib_device *ibdev, u8 port_num, in c4iw_port_immutable()
/drivers/infiniband/hw/hfi1/
Dmad.c573 u8 *data, struct ib_device *ibdev, in __subn_get_opa_nodedesc()
594 struct ib_device *ibdev, u8 port, in __subn_get_opa_nodeinfo()
633 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
786 struct ib_device *ibdev, u8 port, in __subn_get_opa_portinfo()
1011 struct ib_device *ibdev, u8 port, in __subn_get_opa_pkeytable()
1342 struct ib_device *ibdev, u8 port, in __subn_set_opa_portinfo()
1707 struct ib_device *ibdev, u8 port, in __subn_set_opa_pkeytable()
1814 struct ib_device *ibdev, u8 port, in __subn_get_opa_sl_to_sc()
1837 struct ib_device *ibdev, u8 port, in __subn_set_opa_sl_to_sc()
1866 struct ib_device *ibdev, u8 port, in __subn_get_opa_sc_to_sl()
[all …]
Dverbs.c1566 u8 ah_to_sc(struct ib_device *ibdev, struct rdma_ah_attr *ah) in ah_to_sc()
1573 static int hfi1_check_ah(struct ib_device *ibdev, struct rdma_ah_attr *ah_attr) in hfi1_check_ah()
1601 static void hfi1_notify_new_ah(struct ib_device *ibdev, in hfi1_notify_new_ah()
1673 static void hfi1_get_dev_fw_str(struct ib_device *ibdev, char *str) in hfi1_get_dev_fw_str()
1747 static struct rdma_hw_stats *alloc_hw_stats(struct ib_device *ibdev, in alloc_hw_stats()
1811 static int get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, in get_hw_stats()
1845 struct ib_device *ibdev = &dev->rdi.ibdev; in hfi1_register_ib_device() local
/drivers/infiniband/hw/mthca/
Dmthca_provider.c60 static int mthca_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in mthca_query_device()
137 static int mthca_query_port(struct ib_device *ibdev, in mthca_query_port()
186 static int mthca_modify_device(struct ib_device *ibdev, in mthca_modify_device()
204 static int mthca_modify_port(struct ib_device *ibdev, in mthca_modify_port()
233 static int mthca_query_pkey(struct ib_device *ibdev, in mthca_query_pkey()
262 static int mthca_query_gid(struct ib_device *ibdev, u8 port, in mthca_query_gid()
302 static struct ib_ucontext *mthca_alloc_ucontext(struct ib_device *ibdev, in mthca_alloc_ucontext()
376 static struct ib_pd *mthca_alloc_pd(struct ib_device *ibdev, in mthca_alloc_pd()
651 static struct ib_cq *mthca_create_cq(struct ib_device *ibdev, in mthca_create_cq()
1162 static int mthca_port_immutable(struct ib_device *ibdev, u8 port_num, in mthca_port_immutable()
Dmthca_mad.c106 static void smp_snoop(struct ib_device *ibdev, in smp_snoop()
198 int mthca_process_mad(struct ib_device *ibdev, in mthca_process_mad()
/drivers/infiniband/sw/rdmavt/
Dvt.c123 static int rvt_query_device(struct ib_device *ibdev, in rvt_query_device()
158 static int rvt_query_port(struct ib_device *ibdev, u8 port_num, in rvt_query_port()
193 static int rvt_modify_port(struct ib_device *ibdev, u8 port_num, in rvt_modify_port()
231 static int rvt_query_pkey(struct ib_device *ibdev, u8 port_num, u16 index, in rvt_query_pkey()
263 static int rvt_query_gid(struct ib_device *ibdev, u8 port_num, in rvt_query_gid()
303 static struct ib_ucontext *rvt_alloc_ucontext(struct ib_device *ibdev, in rvt_alloc_ucontext()
324 static int rvt_get_port_immutable(struct ib_device *ibdev, u8 port_num, in rvt_get_port_immutable()
Dpd.c61 struct ib_pd *rvt_alloc_pd(struct ib_device *ibdev, in rvt_alloc_pd()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c86 static int iwch_process_mad(struct ib_device *ibdev, in iwch_process_mad()
114 static struct ib_ucontext *iwch_alloc_ucontext(struct ib_device *ibdev, in iwch_alloc_ucontext()
146 static struct ib_cq *iwch_create_cq(struct ib_device *ibdev, in iwch_create_cq()
422 static struct ib_pd *iwch_allocate_pd(struct ib_device *ibdev, in iwch_allocate_pd()
1039 static int iwch_query_pkey(struct ib_device *ibdev, in iwch_query_pkey()
1047 static int iwch_query_gid(struct ib_device *ibdev, u8 port, in iwch_query_gid()
1082 static int iwch_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in iwch_query_device()
1119 static int iwch_query_port(struct ib_device *ibdev, in iwch_query_port()
1253 static struct rdma_hw_stats *iwch_alloc_stats(struct ib_device *ibdev, in iwch_alloc_stats()
1266 static int iwch_get_mib(struct ib_device *ibdev, struct rdma_hw_stats *stats, in iwch_get_mib()
[all …]
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c248 int usnic_ib_query_device(struct ib_device *ibdev, in usnic_ib_query_device()
306 int usnic_ib_query_port(struct ib_device *ibdev, u8 port, in usnic_ib_query_port()
394 int usnic_ib_query_gid(struct ib_device *ibdev, u8 port, int index, in usnic_ib_query_gid()
423 int usnic_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, in usnic_ib_query_pkey()
433 struct ib_pd *usnic_ib_alloc_pd(struct ib_device *ibdev, in usnic_ib_alloc_pd()
588 struct ib_cq *usnic_ib_create_cq(struct ib_device *ibdev, in usnic_ib_create_cq()
653 struct ib_ucontext *usnic_ib_alloc_ucontext(struct ib_device *ibdev, in usnic_ib_alloc_ucontext()
/drivers/infiniband/hw/bnxt_re/
Dhw_counters.c73 int bnxt_re_ib_get_hw_stats(struct ib_device *ibdev, in bnxt_re_ib_get_hw_stats()
103 struct rdma_hw_stats *bnxt_re_ib_alloc_hw_stats(struct ib_device *ibdev, in bnxt_re_ib_alloc_hw_stats()
Dib_verbs.c121 struct net_device *bnxt_re_get_netdev(struct ib_device *ibdev, u8 port_num) in bnxt_re_get_netdev()
136 int bnxt_re_query_device(struct ib_device *ibdev, in bnxt_re_query_device()
208 int bnxt_re_modify_device(struct ib_device *ibdev, in bnxt_re_modify_device()
227 int bnxt_re_query_port(struct ib_device *ibdev, u8 port_num, in bnxt_re_query_port()
268 int bnxt_re_get_port_immutable(struct ib_device *ibdev, u8 port_num, in bnxt_re_get_port_immutable()
284 int bnxt_re_query_pkey(struct ib_device *ibdev, u8 port_num, in bnxt_re_query_pkey()
296 int bnxt_re_query_gid(struct ib_device *ibdev, u8 port_num, in bnxt_re_query_gid()
310 int bnxt_re_del_gid(struct ib_device *ibdev, u8 port_num, in bnxt_re_del_gid()
361 int bnxt_re_add_gid(struct ib_device *ibdev, u8 port_num, in bnxt_re_add_gid()
402 enum rdma_link_layer bnxt_re_get_link_layer(struct ib_device *ibdev, in bnxt_re_get_link_layer()
[all …]
/drivers/infiniband/sw/rxe/
Drxe_hw_counters.c51 int rxe_ib_get_hw_stats(struct ib_device *ibdev, in rxe_ib_get_hw_stats()
67 struct rdma_hw_stats *rxe_ib_alloc_hw_stats(struct ib_device *ibdev, in rxe_ib_alloc_hw_stats()
/drivers/infiniband/core/
Duverbs_ioctl.c38 static int uverbs_process_attr(struct ib_device *ibdev, in uverbs_process_attr()
127 static int uverbs_uattrs_process(struct ib_device *ibdev, in uverbs_uattrs_process()
209 struct ib_device *ibdev, in uverbs_handle_method()
/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()
199 static void nvme_rdma_free_ring(struct ib_device *ibdev, in nvme_rdma_free_ring()
210 static struct nvme_rdma_qe *nvme_rdma_alloc_ring(struct ib_device *ibdev, in nvme_rdma_alloc_ring()
320 struct ib_device *ibdev = dev->dev; in nvme_rdma_init_request() local
440 struct ib_device *ibdev; in nvme_rdma_destroy_queue_ib() local
455 struct ib_device *ibdev; in nvme_rdma_create_queue_ib() local
639 struct ib_device *ibdev = ctrl->device->dev; in nvme_rdma_alloc_io_queues() local
1065 struct ib_device *ibdev = dev->dev; in nvme_rdma_unmap_data() local
1177 struct ib_device *ibdev = dev->dev; in nvme_rdma_map_data() local
[all …]
/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c55 static int i40iw_query_device(struct ib_device *ibdev, in i40iw_query_device()
93 static int i40iw_query_port(struct ib_device *ibdev, in i40iw_query_port()
127 static struct ib_ucontext *i40iw_alloc_ucontext(struct ib_device *ibdev, in i40iw_alloc_ucontext()
317 static struct ib_pd *i40iw_alloc_pd(struct ib_device *ibdev, in i40iw_alloc_pd()
1128 static struct ib_cq *i40iw_create_cq(struct ib_device *ibdev, in i40iw_create_cq()
2522 static int i40iw_port_immutable(struct ib_device *ibdev, u8 port_num, in i40iw_port_immutable()
2620 static struct rdma_hw_stats *i40iw_alloc_hw_stats(struct ib_device *ibdev, in i40iw_alloc_hw_stats()
2650 static int i40iw_get_hw_stats(struct ib_device *ibdev, in i40iw_get_hw_stats()
2678 static int i40iw_query_gid(struct ib_device *ibdev, in i40iw_query_gid()
2697 static int i40iw_modify_port(struct ib_device *ibdev, in i40iw_modify_port()
[all …]
/drivers/infiniband/hw/nes/
Dnes_verbs.c418 static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in nes_query_device()
473 static int nes_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *props) in nes_query_port()
504 static int nes_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) in nes_query_pkey()
514 static int nes_query_gid(struct ib_device *ibdev, u8 port, in nes_query_gid()
530 static struct ib_ucontext *nes_alloc_ucontext(struct ib_device *ibdev, in nes_alloc_ucontext()
660 static struct ib_pd *nes_alloc_pd(struct ib_device *ibdev, in nes_alloc_pd()
1423 static struct ib_cq *nes_create_cq(struct ib_device *ibdev, in nes_create_cq()
3031 static int nes_process_mad(struct ib_device *ibdev, int mad_flags, in nes_process_mad()
3652 static int nes_port_immutable(struct ib_device *ibdev, u8 port_num, in nes_port_immutable()
/drivers/infiniband/hw/qedr/
Dverbs.c64 int qedr_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) in qedr_query_pkey()
73 int qedr_query_gid(struct ib_device *ibdev, u8 port, int index, in qedr_query_gid()
125 int qedr_query_device(struct ib_device *ibdev, in qedr_query_device()
226 int qedr_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *attr) in qedr_query_port()
271 int qedr_modify_port(struct ib_device *ibdev, u8 port, int mask, in qedr_modify_port()
339 struct ib_ucontext *qedr_alloc_ucontext(struct ib_device *ibdev, in qedr_alloc_ucontext()
475 struct ib_pd *qedr_alloc_pd(struct ib_device *ibdev, in qedr_alloc_pd()
871 struct ib_cq *qedr_create_cq(struct ib_device *ibdev, in qedr_create_cq()
3620 int qedr_process_mad(struct ib_device *ibdev, int process_mad_flags, in qedr_process_mad()
3638 int qedr_port_immutable(struct ib_device *ibdev, u8 port_num, in qedr_port_immutable()

1234