iPXE
Data Fields
ib_completion_queue Struct Reference

An Infiniband Completion Queue. More...

#include <infiniband.h>

Data Fields

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

Detailed Description

An Infiniband Completion Queue.

Definition at line 224 of file infiniband.h.


Field Documentation

Containing Infiniband device.

Definition at line 226 of file infiniband.h.

Referenced by golan_cq_clean(), and ib_create_cq().

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

unsigned long ib_completion_queue::cqn

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_arm_cq(), flexboot_nodnic_poll_cq(), golan_is_hw_ownership(), golan_poll_cq(), and hermon_poll_cq().

Completion queue operations.

Definition at line 244 of file infiniband.h.

Referenced by ib_complete_recv(), ib_complete_send(), and ib_create_cq().

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: