ib_device Struct Reference

An Infiniband device. More...

#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 devicedev
 Underlying device.
struct list_head cqs
 List of completion queues.
struct list_head qps
 List of queue pairs.
struct ib_device_operationsop
 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_interfacesmi
 Subnet management interface.
struct ib_mad_interfacegsi
 General services interface.
void * drv_priv
 Driver private data.
void * owner_priv
 Owner private data.


Detailed Description

An Infiniband device.

Definition at line 372 of file infiniband.h.


Field Documentation

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().

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]

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().

unsigned int ib_device::port

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().

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]

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().

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().

Subnet management interface.

Definition at line 425 of file infiniband.h.

Referenced by ib_close(), and ib_open().

Driver private data.

Definition at line 430 of file infiniband.h.

Referenced by alloc_ibdev(), ib_get_drvdata(), and ib_set_drvdata().

Owner private data.

Definition at line 432 of file infiniband.h.

Referenced by ib_get_ownerdata(), and ib_set_ownerdata().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:05 2010 for gPXE by  doxygen 1.5.7.1