Skip to content

Instantly share code, notes, and snippets.

@aagontuk
Last active May 19, 2025 03:26
Show Gist options
  • Save aagontuk/cf01763c8ee26383afe10f51c9cd2984 to your computer and use it in GitHub Desktop.
Save aagontuk/cf01763c8ee26383afe10f51c9cd2984 to your computer and use it in GitHub Desktop.
Resources on BlueField 2 Smart NICs

Intro Docs

Setup

Troubleshooting

DPU Docs

DPU Programming

Internals

OVS and Hardware offloaded packet processing

NVMe-oF offload

Misc

HW Timestamp

Configurations

  • DPU mode setup:

sudo mlxconfig -d /dev/mst/<device> s INTERNAL_CPU_MODEL=1

  • Enabling Scalable Functions:
$ mlxconfig -d 0000:03:00.0 s PF_BAR2_ENABLE=0 PER_PF_NUM_SF=1 PF_TOTAL_SF=236 PF_SF_BAR_SIZE=10
$ mlxconfig -d 0000:03:00.1 s PF_BAR2_ENABLE=0 PER_PF_NUM_SF=1 PF_TOTAL_SF=236 PF_SF_BAR_SIZE=10

Tools

  • mst
  • mlxconfig
  • mlxfwmanager
  • devlink
  • mlxdevm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment