ib_work_queue Struct Reference

An Infiniband Work Queue. More...

#include <infiniband.h>


Data Fields

struct ib_queue_pairqp
 Containing queue pair.
int is_send
 "Is a send queue" flag
struct ib_completion_queuecq
 Associated completion queue.
struct list_head list
 List of work queues on this completion queue.
uint32_t psn
 Packet sequence number.
unsigned int num_wqes
 Number of work queue entries.
unsigned int fill
 Number of occupied work queue entries.
unsigned long next_idx
 Next work queue entry index.
struct io_buffer ** iobufs
 I/O buffers assigned to work queue.
void * drv_priv
 Driver private data.


Detailed Description

An Infiniband Work Queue.

Definition at line 94 of file infiniband.h.


Field Documentation

Containing queue pair.

Definition at line 96 of file infiniband.h.

Referenced by arbel_complete(), hermon_complete(), ib_create_qp(), ib_find_wq(), ib_poll_cq(), and linda_poll_cq().

"Is a send queue" flag

Definition at line 98 of file infiniband.h.

Referenced by ib_create_qp(), ib_find_wq(), ib_poll_cq(), and linda_poll_cq().

Associated completion queue.

Definition at line 100 of file infiniband.h.

Referenced by arbel_create_qp(), hermon_create_qp(), ib_complete_recv(), ib_complete_send(), and ib_create_qp().

List of work queues on this completion queue.

Definition at line 102 of file infiniband.h.

Referenced by ib_create_qp(), ib_destroy_qp(), ib_find_wq(), ib_poll_cq(), and linda_poll_cq().

Packet sequence number.

Definition at line 104 of file infiniband.h.

Referenced by hermon_modify_qp(), ib_cm_path_complete(), ib_cm_req_complete(), ib_create_qp(), and ib_push().

unsigned int ib_work_queue::fill

Number of occupied work queue entries.

Definition at line 108 of file infiniband.h.

Referenced by ib_complete_recv(), ib_complete_send(), ib_post_recv(), ib_post_send(), ib_refill_recv(), linda_complete_recv(), and linda_poll_send_wq().

unsigned long ib_work_queue::next_idx

Next work 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 116 of file infiniband.h.

Referenced by arbel_post_recv(), arbel_post_send(), hermon_post_recv(), and hermon_post_send().

Driver private data.

Definition at line 120 of file infiniband.h.

Referenced by ib_wq_get_drvdata(), and ib_wq_set_drvdata().


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

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