hermon Struct Reference

A Hermon device. More...

#include <hermon.h>


Data Fields

void * config
 PCI configuration registers.
void * uar
 PCI user Access Region.
unsigned int toggle
 Command toggle.
void * mailbox_in
 Command input mailbox.
void * mailbox_out
 Command output mailbox.
userptr_t firmware_area
 Firmware area in external memory.
struct hermon_icm_map icm_map [HERMON_ICM_NUM_REGIONS]
 ICM map.
userptr_t icm
 ICM area.
struct hermon_event_queue eq
 Event queue.
unsigned long lkey
 Unrestricted LKey.
hermon_bitmask_t cq_inuse [HERMON_BITMASK_SIZE(HERMON_MAX_CQS)]
 Completion queue in-use bitmask.
hermon_bitmask_t qp_inuse [HERMON_BITMASK_SIZE(HERMON_MAX_QPS)]
 Queue pair in-use bitmask.
hermon_bitmask_t mtt_inuse [HERMON_BITMASK_SIZE(HERMON_MAX_MTTS)]
 MTT entry in-use bitmask.
struct hermon_dev_cap cap
 Device capabilities.
unsigned long special_qpn_base
 Special QPN base.
unsigned long qpn_base
 QPN base.
struct ib_deviceibdev [HERMON_MAX_PORTS]
 Infiniband devices.


Detailed Description

A Hermon device.

Definition at line 512 of file hermon.h.


Field Documentation

PCI configuration registers.

Definition at line 514 of file hermon.h.

Referenced by hermon_cmd(), hermon_cmd_wait(), hermon_probe(), and hermon_reset().

void* hermon::uar

PCI user Access Region.

Definition at line 516 of file hermon.h.

Referenced by hermon_create_eq(), hermon_create_qp(), and hermon_probe().

unsigned int hermon::toggle

Command toggle.

Definition at line 519 of file hermon.h.

Referenced by hermon_cmd(), and hermon_cmd_wait().

Command input mailbox.

Definition at line 521 of file hermon.h.

Referenced by hermon_cmd(), hermon_probe(), and hermon_remove().

Command output mailbox.

Definition at line 523 of file hermon.h.

Referenced by hermon_cmd(), hermon_probe(), and hermon_remove().

Firmware area in external memory.

Definition at line 526 of file hermon.h.

Referenced by hermon_start_firmware(), and hermon_stop_firmware().

struct hermon_icm_map hermon::icm_map[HERMON_ICM_NUM_REGIONS] [read]

ICM map.

Definition at line 528 of file hermon.h.

Referenced by hermon_alloc_icm(), and hermon_free_icm().

ICM area.

Definition at line 530 of file hermon.h.

Referenced by hermon_alloc_icm(), and hermon_free_icm().

Event queue.

Definition at line 533 of file hermon.h.

Referenced by hermon_create_eq(), hermon_destroy_eq(), and hermon_poll_eq().

unsigned long hermon::lkey

Unrestricted LKey.

Used to get unrestricted memory access.

Definition at line 538 of file hermon.h.

Referenced by hermon_fill_mlx_send_wqe(), hermon_fill_rc_send_wqe(), hermon_fill_ud_send_wqe(), hermon_post_recv(), hermon_probe(), and hermon_setup_mpt().

hermon_bitmask_t hermon::cq_inuse[HERMON_BITMASK_SIZE(HERMON_MAX_CQS)]

Completion queue in-use bitmask.

Definition at line 541 of file hermon.h.

Referenced by hermon_create_cq(), and hermon_destroy_cq().

hermon_bitmask_t hermon::qp_inuse[HERMON_BITMASK_SIZE(HERMON_MAX_QPS)]

Queue pair in-use bitmask.

Definition at line 543 of file hermon.h.

Referenced by hermon_alloc_qpn(), and hermon_free_qpn().

hermon_bitmask_t hermon::mtt_inuse[HERMON_BITMASK_SIZE(HERMON_MAX_MTTS)]

MTT entry in-use bitmask.

Definition at line 545 of file hermon.h.

Referenced by hermon_alloc_mtt(), and hermon_free_mtt().

struct hermon_dev_cap hermon::cap [read]

unsigned long hermon::special_qpn_base

Special QPN base.

Definition at line 550 of file hermon.h.

Referenced by hermon_alloc_qpn(), and hermon_configure_special_qps().

unsigned long hermon::qpn_base

QPN base.

Definition at line 552 of file hermon.h.

Referenced by hermon_alloc_qpn(), hermon_configure_special_qps(), and hermon_free_qpn().

struct ib_device* hermon::ibdev[HERMON_MAX_PORTS] [read]

Infiniband devices.

Definition at line 555 of file hermon.h.

Referenced by hermon_event_port_state_change(), hermon_probe(), and hermon_remove().


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

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