rocelet
rocelet is an open-source, lightweight RoCE v2 (RDMA over Converged Ethernet) engine for FPGAs, written in vendor-neutral SystemVerilog, validated on AMD UltraScale+ (see Portability) and released under the MIT license. It moves data at line rate between an FPGA and a host or GPU over a point-to-point 100 GbE link (since v0.3 also 40 GbE or 10 GbE with a narrower MAC, such as the open-source omac cores), using standard RDMA NICs (validated with an NVIDIA ConnectX-6 Dx) on the host side, without a licensed IP core.
Source code, releases and issues: github.com/fpgadeveloper/rocelet. The reference design, on the Opsero 2x QSFP28 FMC, is qsfp28-fmc-rocelet, documented at qsfp28-rocelet.ethernetfmc.com: 100G on a KCU116, 40G (or 10G) on a ZCU106 (Designs using rocelet).

RC (reliable connection) requester: RDMA WRITE, WRITE with immediate, SEND, SEND with immediate, multi-packet messages, go-back-N retransmission from an on-chip retransmit ring.
RC responder: RDMA WRITE and SEND from the host into FPGA memory, RDMA READ of FPGA memory by the host, duplicate and NAK handling, RNR, READ continuation.
UC streamer mode compatible with the NVIDIA Holoscan Sensor Bridge data plane.
IPv4/UDP framing, TX and RX ICRC, PMTU 256-4096, 802.1Q priority tags, 802.3x pause honoured and generated; a 512-bit engine with a MAC AXI-Stream of 512 bits (100G CMAC, 322 MHz), 256 bits (40G, 156.25 MHz), 128 bits or 64 bits (10G, 156.25 MHz) through built-in width converters, AXI-Lite control, AXI4 memory master.
Start with rocelet architecture for how the engine works and Integrating rocelet into a design for adding it to a design.
Contents
Engine
Using rocelet
- Integrating rocelet into a design
- Host setup and host rules
- 1. Link
- 2. Neighbour entry
- 3. QP bring-up (out of band)
- 4. Receive queue and immediates
- 5. RDMA READ of FPGA memory
- 6. Counters and observability
- 7. ConnectX-6 Dx behaviour: confirmed on the bench, and what is unverified
- 8. Safety on a shared host
- 9. GPU ring (GPUDirect RDMA via dma-buf)
- 10. Link flaps and cable pulls
- Holoscan Sensor Bridge (HSB) compatibility
- Designs using rocelet
Elsewhere in the repository
README: overview, repository layout, how to run the regression and the synthesis jobs.
CHANGELOG: versions, what changed and what each version was validated against.
sim/README.md: the simulation regression and its results.
host/README.md:
rocelet_host(the libibverbs test helper) androce_check.py(the packet referee).