summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-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 8b3a2f7c0..9337af353 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 */