To run this pipeline, you need gcc and openssl-devel installed on both the host and the BlueField DPU's ARM environments.
Step 1: Compile and run the Host Simulator
Check that the host IP address and ports are correct. Execute this on the main host server where the DPU card is slotted:
# Compile (no longer requires -lrt for shared memory)
gcc host_state_sim.c -o host_state_sim
# Run it in the background
./host_state_sim &Step 2: Compile and run the DPU Benchmarker
SSH into the BlueField with ARM cores (usually accessible via an out-of-band management IP or the tmfifo_net0 interface on the host).
# Install OpenSSL development headers if missing (Ubuntu/Debian)
sudo apt-get update && sudo apt-get install libssl-dev
# Compile
gcc dpu_proof_bench.c -o dpu_proof_bench -lrt -lcrypto -O3
# Execute
./dpu_proof_bench