wire / wire-format / infiniband-grh

InfiniBand Global Route Header (GRH)

The InfiniBand GRH (Global Route Header) is a 40-byte header for routed packets (between subnets). Fields: IP version (4 bits), traffic class (8), flow label (20), payload length (16), next header (8), hop limit (8), source GID (16 bytes), destination GID (16 bytes).

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: InfiniBand Global Route Header (GRH)

wire format

spec: InfiniBand Architecture Specification

The InfiniBand GRH (Global Route Header) is a 40-byte header for routed packets (between subnets). Fields: IP version (4 bits), traffic class (8), flow label (20), payload length (16), next header (8), hop limit (8), source GID (16 bytes), destination GID (16 bytes).

fieldsizemeaning
IP version4 bitsAlways 6 (IPv6-style).
Traffic class8 bitsTraffic class (like IPv6).
Flow label20 bitsFlow label (like IPv6).
Payload length2 bytes (uint16)Length of the payload (including the InfiniBand headers).
Next header1 byteNext header type (e.g., 0x1B for BTH).
Hop limit1 byteHop limit (decremented per hop).
Source GID16 bytesSource Global Identifier (GUID + subnet prefix).
Destination GID16 bytesDestination Global Identifier.

example:

60 00 00 00 00 00 1b 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

InfiniBand GRH: version 6, next header 0x1B (BTH), hop limit 64


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/infiniband-grh or /wire-format/infiniband-grh.json