iPXE
Data Fields
linda Struct Reference

A Linda HCA. More...

Data Fields

void * regs
 Registers. More...
 
uint8_t used_ctx [LINDA_NUM_CONTEXTS]
 In-use contexts. More...
 
struct linda_send_work_queue send_wq [LINDA_NUM_CONTEXTS]
 Send work queues. More...
 
struct linda_recv_work_queue recv_wq [LINDA_NUM_CONTEXTS]
 Receive work queues. More...
 
unsigned long send_buffer_base
 Offset within register space of the first send buffer. More...
 
struct QIB_7220_SendBufAvailsendbufavail
 Send buffer availability (reported by hardware) More...
 
uint8_t send_buf [LINDA_MAX_SEND_BUFS]
 Send buffer availability (maintained by software) More...
 
unsigned int send_buf_prod
 Send buffer availability producer counter. More...
 
unsigned int send_buf_cons
 Send buffer availability consumer counter. More...
 
unsigned int reserved_send_bufs
 Number of reserved send buffers (across all QPs) More...
 
struct i2c_bit_basher i2c
 I2C bit-bashing interface. More...
 
struct i2c_device eeprom
 I2C serial EEPROM. More...
 

Detailed Description

A Linda HCA.

Definition at line 76 of file linda.c.

Field Documentation

◆ regs

void* linda::regs

Registers.

Definition at line 78 of file linda.c.

Referenced by linda_probe(), linda_readq(), linda_remove(), linda_writel(), and linda_writeq().

◆ used_ctx

uint8_t linda::used_ctx[LINDA_NUM_CONTEXTS]

In-use contexts.

Definition at line 81 of file linda.c.

Referenced by linda_alloc_ctx(), and linda_free_ctx().

◆ send_wq

struct linda_send_work_queue linda::send_wq[LINDA_NUM_CONTEXTS]

Send work queues.

Definition at line 83 of file linda.c.

Referenced by linda_create_qp().

◆ recv_wq

struct linda_recv_work_queue linda::recv_wq[LINDA_NUM_CONTEXTS]

Receive work queues.

Definition at line 85 of file linda.c.

Referenced by linda_create_qp(), and linda_init_recv().

◆ send_buffer_base

unsigned long linda::send_buffer_base

Offset within register space of the first send buffer.

Definition at line 88 of file linda.c.

Referenced by linda_init_send(), and linda_send_buffer_offset().

◆ sendbufavail

struct QIB_7220_SendBufAvail* linda::sendbufavail

Send buffer availability (reported by hardware)

Definition at line 90 of file linda.c.

Referenced by linda_fini_send(), linda_init_send(), and linda_send_buf_in_use().

◆ send_buf

uint8_t linda::send_buf[LINDA_MAX_SEND_BUFS]

Send buffer availability (maintained by software)

Definition at line 92 of file linda.c.

Referenced by linda_alloc_send_buf(), linda_free_send_buf(), and linda_init_send().

◆ send_buf_prod

unsigned int linda::send_buf_prod

Send buffer availability producer counter.

Definition at line 94 of file linda.c.

Referenced by linda_free_send_buf().

◆ send_buf_cons

unsigned int linda::send_buf_cons

Send buffer availability consumer counter.

Definition at line 96 of file linda.c.

Referenced by linda_alloc_send_buf().

◆ reserved_send_bufs

unsigned int linda::reserved_send_bufs

Number of reserved send buffers (across all QPs)

Definition at line 98 of file linda.c.

Referenced by linda_create_send_wq(), and linda_destroy_send_wq().

◆ i2c

struct i2c_bit_basher linda::i2c

I2C bit-bashing interface.

Definition at line 101 of file linda.c.

Referenced by linda_i2c_read_bit(), linda_i2c_write_bit(), linda_init_i2c(), and linda_read_eeprom().

◆ eeprom

struct i2c_device linda::eeprom

I2C serial EEPROM.

Definition at line 103 of file linda.c.

Referenced by linda_init_i2c(), and linda_read_eeprom().


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