Reference
InfiniBand Architecture Specification Volume 1, Release 1.3
文章目录
IBA 网络协议分层
具体对应报文结构如下:
1.链路层
1.1 LRH
LRH (local route header) 8Byte
present in all packets of a message
LRH.PktLen = len(LRH ~ ICRC) / 4B
MAX (all header + ICRC + VCRC ) = 126
==> MAX(LRH.PktLen) = (MTU + 126 - 2)/4
当MTU=4096:LRH.PktLen =1055
当MTU=1024:LRH.PktLen =287
…
针对IBA报文:MIN(LRH.PktLen ) = 6 , 对应真实长度即24B TODO: ??
针对RAW报文:MIN(LRH.PktLen ) = 5 , 对应真实长度即20B TODO: ?
1.2 ICRC
Invariant CRC- ICRC - 32b = 4B
Present in all packets of message, if indicated by Link Next Header field (i.e.,not a raw packet).
please refer to Section 7.8.1, “Invariant CRC (ICRC) - 4 Bytes,” on page 207.
1.3 VCRC
Variant CRC- VCRC - 16b = 2B
Present in all packets of message.
please refer to Section 7.8.2, “Variant CRC (VCRC) - 2 Bytes,” on page 209
2.网络层(GRH)
GRH (global route header) 40Byte
present in all packets of a message, if indicat