summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/infiniband.h
diff options
context:
space:
mode:
authorMichael Brown2007-09-15 03:53:05 +0200
committerMichael Brown2007-09-15 03:53:05 +0200
commit970951666fe478399b79bdc4b66c015b06fff563 (patch)
treeb116cdf5382ab890cb61c2795deec5a7588ddc88 /src/include/gpxe/infiniband.h
parentGets a response out of the hardware. (An error completion, to be precise.) (diff)
downloadipxe-970951666fe478399b79bdc4b66c015b06fff563.tar.gz
ipxe-970951666fe478399b79bdc4b66c015b06fff563.tar.xz
ipxe-970951666fe478399b79bdc4b66c015b06fff563.zip
arbel_post_send() has been observed to transmit a packet!
Diffstat (limited to 'src/include/gpxe/infiniband.h')
-rw-r--r--src/include/gpxe/infiniband.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h
index 8b3a2f7c..9337af35 100644
--- a/src/include/gpxe/infiniband.h
+++ b/src/include/gpxe/infiniband.h
@@ -68,11 +68,12 @@ struct ibhdr {
struct ib_work_queue {
/** Number of work queue entries */
unsigned int num_wqes;
- /** Posted index
+ /** Next work queue entry index
*
- * This is the index of the most recently posted entry.
+ * This is the index of the next entry to be filled (i.e. the
+ * first empty entry).
*/
- unsigned int posted;
+ unsigned int next_idx;
/** I/O buffers assigned to work queue */
struct io_buffer **iobufs;
/** Driver private data */