iPXE
Data Fields
ib_completion_queue Struct Reference

An Infiniband Completion Queue. More...

#include <infiniband.h>

Data Fields

struct ib_deviceibdev
 Containing Infiniband device. More...
 
struct list_head list
 List of completion queues on this Infiniband device. More...
 
unsigned long cqn
 Completion queue number. More...
 
unsigned int num_cqes
 Number of completion queue entries. More...
 
unsigned long next_idx
 Next completion queue entry index. More...
 
struct list_head work_queues
 List of work queues completing to this queue. More...
 
struct ib_completion_queue_operationsop
 Completion queue operations. More...
 
void * drv_priv
 Driver private data. More...
 

Detailed Description

An Infiniband Completion Queue.

Definition at line 224 of file infiniband.h.

Field Documentation

◆ ibdev

struct ib_device* ib_completion_queue::ibdev

Containing Infiniband device.

Definition at line 226 of file infiniband.h.

Referenced by golan_cq_clean(), ib_create_cq(), ib_destroy_cq(), and ib_poll_eq().

◆ list

struct list_head ib_completion_queue::list

List of completion queues on this Infiniband device.

Definition at line 228 of file infiniband.h.

Referenced by ib_create_cq(), ib_destroy_cq(), and ib_poll_eq().

◆ cqn

unsigned long ib_completion_queue::cqn

◆ num_cqes

unsigned int ib_completion_queue::num_cqes

◆ next_idx

unsigned long ib_completion_queue::next_idx

Next completion queue entry index.

This is the index of the next entry to be filled (i.e. the first empty entry). This value is not bounded by num_wqes; users must logical-AND with (num_wqes-1) to generate an array index.

Definition at line 240 of file infiniband.h.

Referenced by arbel_poll_cq(), flexboot_nodnic_poll_cq(), golan_is_hw_ownership(), golan_poll_cq(), and hermon_poll_cq().

◆ work_queues

struct list_head ib_completion_queue::work_queues

◆ op

struct ib_completion_queue_operations* ib_completion_queue::op

Completion queue operations.

Definition at line 244 of file infiniband.h.

Referenced by ib_create_cq().

◆ drv_priv

void* ib_completion_queue::drv_priv

Driver private data.

Definition at line 246 of file infiniband.h.

Referenced by ib_cq_get_drvdata(), and ib_cq_set_drvdata().


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