summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ib_qset.h
diff options
context:
space:
mode:
authorMichael Brown2009-07-17 23:50:33 +0200
committerMichael Brown2009-07-18 00:06:33 +0200
commit1f5c0239b4fc5dea895645397d5aaa3d4b95205a (patch)
tree0f4f5f50363702b601f3a7b966bc12a2a6797a22 /src/include/gpxe/ib_qset.h
parent[infiniband] Provide ib_get_hca_info() as a commonly-available function (diff)
downloadipxe-1f5c0239b4fc5dea895645397d5aaa3d4b95205a.tar.gz
ipxe-1f5c0239b4fc5dea895645397d5aaa3d4b95205a.tar.xz
ipxe-1f5c0239b4fc5dea895645397d5aaa3d4b95205a.zip
[infiniband] Centralise assumption of 2048-byte payloads
IPoIB and the SMA have separate constants for the packet size to be used to I/O buffer allocations. Merge these into the single IB_MAX_PAYLOAD_SIZE constant. (Various other points in the Infiniband stack have hard-coded assumptions of a 2048-byte payload; we don't currently support variable MTUs.)
Diffstat (limited to 'src/include/gpxe/ib_qset.h')
-rw-r--r--src/include/gpxe/ib_qset.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/gpxe/ib_qset.h b/src/include/gpxe/ib_qset.h
index 90c92a58..d7a76178 100644
--- a/src/include/gpxe/ib_qset.h
+++ b/src/include/gpxe/ib_qset.h
@@ -20,16 +20,13 @@ struct ib_queue_set {
struct ib_queue_pair *qp;
/** Receive work queue maximum fill level */
unsigned int recv_max_fill;
- /** Receive packet length */
- size_t recv_pkt_len;
};
extern int ib_create_qset ( struct ib_device *ibdev,
struct ib_queue_set *qset, unsigned int num_cqes,
struct ib_completion_queue_operations *cq_op,
unsigned int num_send_wqes,
- unsigned int num_recv_wqes, size_t recv_pkt_len,
- unsigned long qkey );
+ unsigned int num_recv_wqes, unsigned long qkey );
extern void ib_qset_refill_recv ( struct ib_device *ibdev,
struct ib_queue_set *qset );
extern void ib_destroy_qset ( struct ib_device *ibdev,