#include <infiniband.h>
Data Fields | |
| struct refcnt | refcnt |
| Reference counter. | |
| struct list_head | list |
| List of Infiniband devices. | |
| struct list_head | open_list |
| List of open Infiniband devices. | |
| struct device * | dev |
| Underlying device. | |
| struct list_head | cqs |
| List of completion queues. | |
| struct list_head | qps |
| List of queue pairs. | |
| struct ib_device_operations * | op |
| Infiniband operations. | |
| unsigned int | port |
| Port number. | |
| unsigned int | open_count |
| Port open request counter. | |
| uint8_t | port_state |
| Port state. | |
| uint8_t | link_width_supported |
| Link width supported. | |
| uint8_t | link_width_enabled |
| Link width enabled. | |
| uint8_t | link_width_active |
| Link width active. | |
| uint8_t | link_speed_supported |
| Link speed supported. | |
| uint8_t | link_speed_enabled |
| Link speed enabled. | |
| uint8_t | link_speed_active |
| Link speed active. | |
| struct ib_gid | gid |
| Port GID. | |
| uint16_t | lid |
| Port LID. | |
| uint16_t | sm_lid |
| Subnet manager LID. | |
| uint8_t | sm_sl |
| Subnet manager SL. | |
| uint16_t | pkey |
| Partition key. | |
| uint32_t | rdma_key |
| RDMA key. | |
| struct ib_mad_interface * | smi |
| Subnet management interface. | |
| struct ib_mad_interface * | gsi |
| General services interface. | |
| void * | drv_priv |
| Driver private data. | |
| void * | owner_priv |
| Owner private data. | |
Definition at line 372 of file infiniband.h.
struct refcnt ib_device::refcnt [read] |
Reference counter.
Definition at line 374 of file infiniband.h.
Referenced by ibdev_get(), and ibdev_put().
struct list_head ib_device::list [read] |
List of Infiniband devices.
Definition at line 376 of file infiniband.h.
Referenced by register_ibdev(), and unregister_ibdev().
struct list_head ib_device::open_list [read] |
List of open Infiniband devices.
Definition at line 378 of file infiniband.h.
Referenced by ib_close(), ib_open(), and last_opened_ibdev().
struct device* ib_device::dev [read] |
Underlying device.
Definition at line 380 of file infiniband.h.
Referenced by arbel_probe(), hermon_probe(), ib_get_hca_info(), ib_sma_node_desc(), ipoib_probe(), linda_probe(), and register_ibdev().
struct list_head ib_device::cqs [read] |
List of completion queues.
Definition at line 382 of file infiniband.h.
Referenced by alloc_ibdev(), ib_create_cq(), and ib_poll_eq().
struct list_head ib_device::qps [read] |
List of queue pairs.
Definition at line 384 of file infiniband.h.
Referenced by alloc_ibdev(), ib_create_qp(), ib_find_qp_mgid(), and ib_find_qp_qpn().
struct ib_device_operations* ib_device::op [read] |
Infiniband operations.
Definition at line 386 of file infiniband.h.
Referenced by arbel_probe(), hermon_probe(), ib_close(), ib_create_cq(), ib_create_qp(), ib_destroy_cq(), ib_destroy_qp(), ib_mcast_attach(), ib_mcast_detach(), ib_modify_qp(), ib_open(), ib_poll_cq(), ib_poll_eq(), ib_post_recv(), ib_post_send(), ib_set_pkey_table(), ib_set_port_info(), and linda_probe().
| unsigned int ib_device::port |
Port number.
Definition at line 388 of file infiniband.h.
Referenced by arbel_close(), arbel_create_qp(), arbel_mad(), arbel_open(), arbel_post_send(), arbel_probe(), hermon_alloc_qpn(), hermon_close(), hermon_fill_ud_send_wqe(), hermon_mad(), hermon_open(), hermon_probe(), hermon_sched_queue(), hermon_sense_port_type(), ib_mi_send(), ib_sma_node_info(), ib_sma_port_info(), ib_smc_get_port_info(), and linda_probe().
| unsigned int ib_device::open_count |
Port open request counter.
Definition at line 390 of file infiniband.h.
Referenced by ib_close(), ib_open(), and last_opened_ibdev().
Port state.
Definition at line 393 of file infiniband.h.
Referenced by alloc_ibdev(), ib_link_ok(), ib_link_rc(), ib_sma_port_info(), ib_smc_update(), and linda_link_state_changed().
Link width supported.
Definition at line 395 of file infiniband.h.
Referenced by ib_sma_port_info(), ib_smc_update(), and linda_probe().
Link width enabled.
Definition at line 397 of file infiniband.h.
Referenced by ib_sma_port_info(), ib_sma_set_port_info(), ib_smc_update(), and linda_probe().
Link width active.
Definition at line 399 of file infiniband.h.
Referenced by ib_sma_port_info(), ib_smc_update(), and linda_link_state_changed().
Link speed supported.
Definition at line 401 of file infiniband.h.
Referenced by ib_sma_port_info(), ib_smc_update(), and linda_probe().
Link speed enabled.
Definition at line 403 of file infiniband.h.
Referenced by ib_sma_port_info(), ib_sma_set_port_info(), ib_smc_update(), and linda_probe().
Link speed active.
Definition at line 405 of file infiniband.h.
Referenced by ib_sma_port_info(), ib_smc_update(), and linda_link_state_changed().
struct ib_gid ib_device::gid [read] |
Port GID.
Definition at line 407 of file infiniband.h.
Referenced by find_ibdev(), ib_cm_path_complete(), ib_create_path(), ib_get_hca_info(), ib_mcast_mad(), ib_push(), ib_sma_guid_info(), ib_sma_node_info(), ib_sma_port_info(), ib_sma_set_port_info(), ib_smc_update(), ib_srp_parse_sgid(), ipoib_link_state_changed(), ipoib_probe(), and linda_probe().
Port LID.
Definition at line 409 of file infiniband.h.
Referenced by alloc_ibdev(), ib_cm_path_complete(), ib_push(), ib_sma_port_info(), ib_sma_set_port_info(), and ib_smc_update().
Subnet manager LID.
Definition at line 411 of file infiniband.h.
Referenced by ib_create_madx(), ib_sma_port_info(), ib_sma_set_port_info(), and ib_smc_update().
Subnet manager SL.
Definition at line 413 of file infiniband.h.
Referenced by ib_create_madx(), ib_sma_port_info(), ib_sma_set_port_info(), and ib_smc_update().
Partition key.
Definition at line 415 of file infiniband.h.
Referenced by alloc_ibdev(), ib_cm_path_complete(), ib_push(), ib_sma_pkey_table(), ib_sma_set_pkey_table(), ib_smc_update(), and ipoib_link_state_changed().
RDMA key.
This is a single key allowing unrestricted access to memory.
Definition at line 422 of file infiniband.h.
Referenced by hermon_probe(), and ib_srp_connect().
struct ib_mad_interface* ib_device::smi [read] |
Subnet management interface.
Definition at line 425 of file infiniband.h.
Referenced by ib_close(), and ib_open().
struct ib_mad_interface* ib_device::gsi [read] |
General services interface.
Definition at line 427 of file infiniband.h.
Referenced by ib_close(), ib_cm_path_complete(), ib_cm_req_complete(), ib_create_path(), ib_destroy_conn(), ib_destroy_path(), ib_mcast_join(), ib_mcast_leave(), and ib_open().
| void* ib_device::drv_priv |
Driver private data.
Definition at line 430 of file infiniband.h.
Referenced by alloc_ibdev(), ib_get_drvdata(), and ib_set_drvdata().
| void* ib_device::owner_priv |
Owner private data.
Definition at line 432 of file infiniband.h.
Referenced by ib_get_ownerdata(), and ib_set_ownerdata().
1.5.7.1