diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-09-16 04:02:20 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-09-16 04:02:20 +0100 |
commit | 156b409ccc2e1e9c08784b49471c60c4950d7603 (patch) | |
tree | 83d32e08457fb762a6762e960ee061afd2bd7b88 /src/include/gpxe/infiniband.h | |
parent | 791f992657d662f4e9645fcdcc9a39dc6d2a2359 (diff) | |
download | ipxe-156b409ccc2e1e9c08784b49471c60c4950d7603.tar.gz |
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.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h index 85684b635..dd8022fb6 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; }; |