summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/infiniband.h
diff options
context:
space:
mode:
authorMichael Brown2007-09-16 05:02:20 +0200
committerMichael Brown2007-09-16 05:02:20 +0200
commit156b409ccc2e1e9c08784b49471c60c4950d7603 (patch)
tree83d32e08457fb762a6762e960ee061afd2bd7b88 /src/include/gpxe/infiniband.h
parentCommand interface now reasonably friendly. (diff)
downloadipxe-156b409ccc2e1e9c08784b49471c60c4950d7603.tar.gz
ipxe-156b409ccc2e1e9c08784b49471c60c4950d7603.tar.xz
ipxe-156b409ccc2e1e9c08784b49471c60c4950d7603.zip
Rearrange data structures to maximise embedding (and hence minimise
the number of separate allocations that need to be done).
Diffstat (limited to 'src/include/gpxe/infiniband.h')
-rw-r--r--src/include/gpxe/infiniband.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h
index 85684b63..dd8022fb 100644
--- a/src/include/gpxe/infiniband.h
+++ b/src/include/gpxe/infiniband.h
@@ -89,8 +89,6 @@ struct ib_work_queue {
unsigned long next_idx;
/** I/O buffers assigned to work queue */
struct io_buffer **iobufs;
- /** Device private data */
- void *dev_priv;
};
/** An Infiniband Queue Pair */
@@ -103,8 +101,6 @@ struct ib_queue_pair {
struct ib_work_queue recv;
/** Queue owner private data */
void *priv;
- /** Device private data */
- void *dev_priv;
};
/** An Infiniband Completion Queue */
@@ -123,8 +119,6 @@ struct ib_completion_queue {
unsigned long next_idx;
/** List of work queues completing to this queue */
struct list_head work_queues;
- /** Device private data */
- void *dev_priv;
};
/** An Infiniband completion */
@@ -224,8 +218,8 @@ struct ib_device_operations {
/** An Infiniband device */
struct ib_device {
- /** Device private data */
- void *dev_priv;
+ /** Driver private data */
+ void *priv;
};