[infiniband] Centralise assumption of 2048-byte payloads
authorMichael Brown <mcb30@etherboot.org>
Fri, 17 Jul 2009 21:50:33 +0000 (22:50 +0100)
committerMichael Brown <mcb30@etherboot.org>
Fri, 17 Jul 2009 22:06:33 +0000 (23:06 +0100)
commit1f5c0239b4fc5dea895645397d5aaa3d4b95205a
tree0f4f5f50363702b601f3a7b966bc12a2a6797a22
parent7ba33f78263ba17633cf6c264e99b4a4140abfcb
[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.)
src/drivers/net/ipoib.c
src/include/gpxe/ib_qset.h
src/include/gpxe/ib_sma.h
src/include/gpxe/infiniband.h
src/include/gpxe/ipoib.h
src/net/infiniband.c
src/net/infiniband/ib_qset.c
src/net/infiniband/ib_sma.c