Networking Solutions

RDG for DPF Zero Trust (DPF-ZT) with HBN and Argus DPU Services

 Created on Dec 1, 2026 , updated for DPF 30.0.0 GA


Scope

This Reference Deployment Guide (RDG) provides comprehensive instructions for deploying the NVIDIA DOCA Platform Framework (DPF) on high-performance, bare-metal infrastructure in Zero-Trust mode. The guide focuses on setting up an accelerated Host-Based Networking (HBN) and DOCA Argus services on NVIDIA® BlueField®-3 DPUs to deliver secure, isolated, and hardware-accelerated environments.

The guide is intended for experienced system administrators, systems engineers, and solution architects who build highly secure bare-metal environments with Host-Based Networking enabled using NVIDIA BlueField DPUs for acceleration, isolation, and infrastructure offload.

This document is an extension of the RDG for DPF Zero Trust (DPF-ZT) (referred to as the Baseline RDG). It details the additional steps and modifications required to deploy the HBN and Argus Services in the Baseline RDG environment.

  • This reference implementation, as the name implies, is a specific, opinionated deployment example designed to address the use case described above. 

  • Although other approaches may exist for implementing similar solutions, this document provides a detailed guide for this specific method.

Abbreviations and Acronyms

Term

Definition

Term

Definition

BFB

BlueField Bootstream

OOB

Out-of-Band

BGP

Border Gateway Protocol

PF

Physical Function

DOCA

Data Center Infrastructure-on-a-Chip Architecture

RDG

Reference Deployment Guide

DPF

DOCA Platform Framework

RDMA

Remote Direct Memory Access

DPU

Data Processing Unit

RoCE

RDMA over Converged Ethernet

HBN

Host Based Networking

SFC

Service Function Chaining

IPAM

IP Address Management

SR-IOV

Single Root Input/Output Virtualization

K8S

Kubernetes

VLAN

Virtual LAN (Local Area Network)

KVM

Kernel-based Virtual Machine

VNI

Virtual Network Interface

MAAS

Metal as a Service

VRF

Virtual Router/Forwarder

MTU

Maximum Transmission Unit

ZT

Zero Trust

NGC

NVIDIA GPU Cloud



Introduction

The NVIDIA BlueField-3 Data Processing Unit (DPU) is a 400 Gb/s infrastructure compute platform designed for line-rate processing of software-defined networking, storage, and cybersecurity workloads. It combines powerful compute resources, high-speed networking, and advanced programmability to deliver hardware-accelerated, software-defined solutions for modern data centers.

NVIDIA DOCA unleashes the full potential of the BlueField platform by enabling rapid development of applications and services that offload, accelerate, and isolate data center workloads.

One such service is Host-Based Networking (HBN) - a DOCA-enabled solution that allows network architects to design networks based on Layer 3 (L3) protocols. HBN enables routing on the server side by using BlueField as a BGP router. It encapsulates key networking functions in a containerized service pod, deployed directly on the BlueField’s Arm cores.

Another service is the DOCA Argus Service provides Workload Threat Detection is a novel approach for container threat detection in AI workloads and microservices, utilizing a Bluefield DPU to perform live machine introspection at the hardware level. This approach analyzes specific snippets of volatile memory to provide real-time visibility into container activity and behavior at the network, host, and application levels.

The state of container node images is continuously monitored in real-time, checking for deviations from their secure, compliant versions and configurations to detect and stop runtime attacks. These insights also include the ability to identify attacks targeting network facing applications/services.

The Argus service provides events and data on any object on the OS (host/VM) without any configuration needed and without any active part from the user or the host.

Examples what Argus service provides:

  • Any new processes with its PID, name, attributes, and status.

  • Reverse shells with process and network connection details such as source & destination IP and number of transferred bytes.

  • SHA256 hash of running executable and loaded libraries.

However, deploying and managing DPUs and their associated DOCA services, especially at scale, presents operational challenges. Without a robust provisioning and orchestration system, tasks such as lifecycle management, service deployment, and network configuration for service function chaining (SFC) can quickly become complex and error prone. This is where the DOCA Platform Framework (DPF) comes into play.

DPF automates the full DPU lifecycle, streamlines the deployment of DOCA services, and simplifies advanced network configurations. With DPF, services such as HBN can be deployed seamlessly, allowing for efficient offloading and intelligent routing of traffic through the DPU data plane.

By leveraging DPF, users can scale and automate DPU management across Bare Metal, Virtual, and Kubernetes customer environments - optimizing performance while simplifying operations.

DPF supports multiple deployment models. This guide focuses on the Zero Trust bare-metal deployment model. In this scenario:

  • The DPU is managed through its Baseboard Management Controller (BMC)

  • All management traffic occurs over the DPU's out-of-band (OOB) network

  • The host is considered as an untrusted entity towards the data center network. The DPU acts as a barrier between the host and the network.

  • The host sees the DPU as a standard NIC, with no access to the internal DPU management plane (Zero Trust Mode)

This Reference Deployment Guide (RDG) provides a step-by-step example for installing DPF in Zero-Trust mode and HBN. It also includes practical demonstrations of performance optimization, validated using standard RDMA and TCP workloads.

As part of the reference implementation, open-source components outside the scope of DPF (e.g., MAAS, pfSense, Kubespray) are used to simulate a realistic customer deployment environment. The guide includes the full end-to-end deployment process, including:

  • Infrastructure provisioning

  • DPF deployment

  • DPU provisioning (redfish)

  • Service configuration and deployment

  • Service chaining.

This document extends the capabilities of the DPF-managed Kubernetes cluster described in the RDG for DPF Zero Trust (DPF-ZT) (referred to as the Baseline RDG) by deploying the NVIDIA DOCA HBN and Argus Services within the existing DPF deployment to achieve a comprehensive, accelerated infrastructure.

References


Solution Architecture

Key Components and Technologies


  • NVIDIA BlueField® Data Processing Unit (DPU)
    The NVIDIA® BlueField® data processing unit (DPU) ignites unprecedented innovation for modern data centers and supercomputing clusters. With its robust compute power and integrated software-defined hardware accelerators for networking, storage, and security, BlueField creates a secure and accelerated infrastructure for any workload in any environment, ushering in a new era of accelerated computing and AI.



  • NVIDIA DOCA Software Framework
    NVIDIA DOCA™ unlocks the potential of the NVIDIA® BlueField® networking platform. By harnessing the power of BlueField DPUs and SuperNICs, DOCA enables the rapid creation of applications and services that offload, accelerate, and isolate data center workloads. It lets developers create software-defined, cloud-native, DPU- and SuperNIC-accelerated services with zero-trust protection, addressing the performance and security demands of modern data centers.



  • NVIDIA ConnectX SmartNICs
    10/25/40/50/100/200 and 400G Ethernet Network Adapters
    The industry-leading NVIDIA® ConnectX® family of smart network interface cards (SmartNICs) offer advanced hardware offloads and accelerations.
    NVIDIA Ethernet adapters enable the highest ROI and lowest Total Cost of Ownership for hyperscale, public and private clouds, storage, machine learning, AI, big data, and telco platforms.


  • NVIDIA LinkX Cables 
    The NVIDIA® LinkX® product family of cables and transceivers provides the industry’s most complete line of 10, 25, 40, 50, 100, 200, and 400GbE in Ethernet and 100, 200 and 400Gb/s InfiniBand products for Cloud, HPC, hyperscale, Enterprise, telco, storage and artificial intelligence, data center applications.

  • NVIDIA Spectrum Ethernet Switches
    Flexible form-factors with 16 to 128 physical ports, supporting 1GbE through 400GbE speeds.
    Based on a ground-breaking silicon technology optimized for performance and scalability, NVIDIA Spectrum switches are ideal for building high-performance, cost-effective, and efficient Cloud Data Center Networks, Ethernet Storage Fabric, and Deep Learning Interconnects. 
    NVIDIA combines the benefits of NVIDIA Spectrum™ switches, based on an industry-leading application-specific integrated circuit (ASIC) technology, with a wide variety of modern network operating system choices, including NVIDIA Cumulus® Linux, SONiC and NVIDIA Onyx®.

  • NVIDIA Cumulus Linux 
    NVIDIA® Cumulus® Linux is the industry's most innovative open network operating system that allows you to automate, customize, and scale your data center network like no other.


  • Kubernetes
    Kubernetes is an open-source container orchestration platform for deployment automation, scaling, and management of containerized applications.



  • Kubespray 
    Kubespray is a composition of Ansible playbooks, inventory, provisioning tools, and domain knowledge for generic OS/Kubernetes clusters configuration management tasks and provides:

    • A highly available cluster

    • Composable attributes

    • Support for most popular Linux distributions


Solution Design

Solution Logical Design

The logical design includes the following components: 

  • 1 x Hypervisor node (KVM-based) with ConnectX-7:

    • 1 x Firewall VM

    • 1 x Jump Node VM

    • 1 x MaaS VM 

    • 3 x K8s Master VMs running all K8s management components

  • 2 x Worker nodes (PCI Gen5), each with a 1 x BlueField-3 NIC 

  • Single High-Speed (HS) switch

  • 1 Gb Host Management network

DPF_ZT_HBN_ARGUS_NO_VRF.png


HBN service Logical Design

As part of this RDG, we will:

  • Create a logical network for a bare-metal workload server using a single physical function (HPF0)

  • Route all workload traffic through the HBN service, routing inside the DPU.

  • Assign HPF0 as the sole network interface for each bare-metal workload server, with no host networking configuration.
    HPF0 on each server should have DHCP enabled.

  • Demonstrate accelerated RDMA and TCP traffic between workload servers on different bare-metal hosts within the same network.

dpf_zt_hbn_service_no_vrf.png


Firewall Design

The pfSense firewall in this solution serves a dual purpose:

  • Firewall—provides an isolated environment for the DPF system, ensuring secure operations

  • Router—enables Internet access for the management network

Port-forwarding rules for SSH and RDP are configured on the firewall to route traffic to the jump node’s IP address in the host management network. From the jump node, administrators can manage and access various devices in the setup, as well as handle the deployment of the Kubernetes (K8s) cluster and DPF components.

The following diagram illustrates the firewall design used in this solution:

dpf_zt_fw.png


Software Stack Components

SW stack 26_4_GA.png


Make sure to use the exact same versions for the software stack as described above.

Bill of Materials

dpf_zt_bom.png

Deployment and Configuration

Node and Switch Definitions

These are the definitions and parameters used for deploying the demonstrated fabric:

Switches Ports Usage

Hostname

Rack ID

Ports

mgmt-switch

1

swp1-3

hs-switch

1

swp1-4,31-32

Hosts

Rack

Server Type

Server Name

Switch Port

IP and NICs

Default Gateway

Rack1


Hypervisor Node

hypervisor

mgmt-switch: swp1

hs-switch: swp31-swp32

lab-br (interface eno1): Trusted LAN IP

mgmt-br (interface eno2): -

hs-br (interface enp1s0): -

Trusted LAN GW

Rack1

Firewall (Virtual)

fw

-

WAN (lab-br): Trusted LAN IP

LAN (mgmt-br): 10.0.110.254/24

    OPT1(hs-br): 10.0.123.254/22

Trusted LAN GW

Rack1

Jump Node (Virtual)

jump

-

enp1s0: 10.0.110.253/24

10.0.110.254

Rack1

MaaS (Virtual)

maas

-

enp1s0: 10.0.110.252/24

10.0.110.254

Rack1

Master Node
(Virtual) 

master1

-

enp1s0: 10.0.110.1/24

10.0.110.254

Rack1

Master Node
(Virtual) 

master2

-

enp1s0: 10.0.110.2/24

10.0.110.254

Rack1

Master Node
(Virtual) 

master3

-

enp1s0: 10.0.110.3/24

10.0.110.254

Rack1

DPU DHCP Node
(Virtual)

dhcp

-

enp1s0: 10.0.125.4/24

10.0.125.254

Rack1

Worker Node

worker1

mgmt-switch: swp2(DPU BMC/OOB)

hs-switch: swp1-swp2

dpubmc: 10.0.110.201/24
dpuoob: 10.0.110.211/24

ens1f0np0/ens1f1np1: 10.0.120.0/22

10.0.110.254

Rack1


Worker Node

worker2

mgmt-switch: swp3(DPU BMC/OOB)

hs-switch: swp3-swp4

dpubmc: 10.0.110.202/24
dpuoob: 10.0.110.212/24

ens1f0np0/ens1f1np1: 10.0.120.0/22

10.0.110.254

Note: On BlueField-3, the DPU BMC and DPU OOB management interfaces share a single 1G out-of-band link via an internal bridge (oob_net0 ↔ tmfifo_net0 on BMC side). Both IPs (.201/.211) reside on the same L2 segment of the management network (10.0.110.0/24) and are reached via a single switch port (swpN).

Note: Workers' high-speed PFs (ens1f0np0, ens1f1np1) connect to hs-switch via 200GbE. No persistent host-side IP in Zero-Trust baseline mode — DPU acts as a transparent NIC. Subnet 10.0.120.0/22 is reserved for the high-speed fabric.

Wiring

Hypervisor Node 

dpf_zt_nv_node.png


Bare Metal Worker Node

image-2025-6-3_11-35-40.png

Fabric Configuration

Updating Cumulus Linux

As a best practice, make sure to use the latest released Cumulus Linux NOS version.

For information on how to upgrade Cumulus Linux, refer to the Cumulus Linux User Guide.

Configuring the Cumulus Linux Switch

The SN3700 switch (hs-switch), is configured as follows:

SN3700 Switch Console
nv set interface lo ipv4 address 11.0.0.101/32
nv set interface lo type loopback
nv set interface swp32 ipv4 address 172.16.50.2/30
nv set interface swp1-32 link state up
nv set interface swp1-32 type swp
nv set interface swp31 ipv4 address 10.0.125.254/24
nv set interface swp31 link mtu 1500
nv set qos roce mode lossless
nv set qos roce state enabled
nv set router bgp autonomous-system 65001
nv set router bgp graceful-restart mode full
nv set router bgp router-id 11.0.0.101
nv set router bgp state enabled
nv set system hostname clx-swx-056
nv set vrf default router bgp address-family ipv4-unicast network 10.0.125.0/24
nv set vrf default router bgp address-family ipv4-unicast network 11.0.0.101/32
nv set vrf default router bgp address-family ipv4-unicast state enabled
nv set vrf default router bgp address-family ipv6-unicast redistribute connected state enabled
nv set vrf default router bgp address-family ipv6-unicast state enabled
nv set vrf default router bgp neighbor swp1-4 enforce-first-as disabled
nv set vrf default router bgp neighbor swp1-4 peer-group hbn
nv set vrf default router bgp neighbor swp1-4 type unnumbered
nv set vrf default router bgp path-selection multipath aspath-ignore enabled
nv set vrf default router bgp peer-group hbn address-family ipv4-unicast default-route-origination state enabled
nv set vrf default router bgp peer-group hbn address-family ipv4-unicast state enabled
nv set vrf default router bgp peer-group hbn address-family ipv6-unicast state enabled
nv set vrf default router bgp peer-group hbn enforce-first-as disabled
nv set vrf default router bgp peer-group hbn remote-as external
nv set vrf default router bgp state enabled
nv set vrf default router static 0.0.0.0/0 address-family ipv4-unicast
nv set vrf default router static 0.0.0.0/0 via 172.16.50.1 type ipv4-address
nv config apply -y

The SN2201 switch (mgmt-switch) is configured as follows:

SN2201 Switch Console
nv set interface swp1-3 link state up
nv set interface swp1-3 type swp
nv set interface swp1-3 bridge domain br_default
nv set bridge domain br_default untagged 1
nv config apply -y
nv config save

Host Configuration

Make sure that the BIOS settings on the worker node servers have SR-IOV enabled and that the servers are tuned for maximum performance.
Required:

  • SR-IOV: Enabled

  • VT-d / AMD-Vi (IOMMU): Enabled

  • Above 4G Decoding: Enabled (mandatory for PCIe BAR sizes on BlueField-3)

Performance-recommended:

  • CPU C-states: Disabled (or up to C1 only)

  • Hyper-Threading: Enabled

  • Memory speed: Maximum supported

  • Power profile: Performance / Maximum Performance

All worker nodes must have the same PCIe placement for the BlueField-3 NIC and must display the same interface name.

Make sure that you have DPU BMC and OOB MAC addresses.

No change from the Reference Deployment Guide (Baseline RDG) (Section "Deployment and Configuration", Subsection "Host Configuration").

Hypervisor Installation and Configuration

No change from the Baseline RDG (Section "Deployment and Configuration", Subsection "Hypervisor Installation and Configuration").  

Prepare Infrastructure Servers

No change from the Baseline RDG (Section "Deployment and Configuration", Subsection "Prepare Infrastructure Servers") regarding Firewall VM, Jump VM, MaaS VM.

(Optional) Firewall VM – Bare Metal Server Outside Conection 

To provide outside connection from Bare Metal Host via High Speed network, open Firefox web browser and go to the pfSense web UI (http://10.0.110.254).

  • System:

      • Routing → Static Routing → Add → “Destination network”: 10.0.125.0/24, “Gateway”: Switch - 172.16.50.2 → , “Description”: To DPU DHCP → Click "Save"→ Under "Default Gateway" - "Default gateway IPv4" choose WAN_DHCP → Click "Save"

        PFsense_route.png


Note that the IP addresses from the Trusted LAN network under "Gateway" and "Monitor IP" are blurred.

Provisioning "DPU DHCP VM"

  1. Please install Rocky Linux 9.0 in minimal server configuration.

  2. Configure manually IP address to 10.0.125.4/24 with default GW 10.0.125.254 and your prefferred DNS server.

  3. Install following modules:

    DPU DHCP Node Console

    sudo dnf -y update
    sudo dnf install -y lldpd dnsmasq
    
  4. Apply following configuration to DNSMASQ apps - file /etc/dnsmasq.conf

    /etc/dnsmasq.conf

    # DHCP only: no DNS service on this VM
    port=0
    interface=enp1s0
    
    # One range per /29 that the DPUServiceIPAM pool1 (10.0.120.0/22, prefixSize 29) assigns to a DPU.
    # The first address of each /29 is the HBN gateway of that DPU; the host's PF0 gets an address from the range.
    # The default gateway sent to a host is the relay address, which is that HBN gateway.
    dhcp-range=10.0.120.2,10.0.120.6,255.255.255.248,12h
    dhcp-range=10.0.120.10,10.0.120.14,255.255.255.248,12h
    
    # DNS server for the bare-metal hosts
    dhcp-option=option:dns-server,<DNS server IP>
    log-dhcp
    
  5. Start and enable autostart for dnsmasq.service.

    DPU DHCP Node Console

    sudo systemctl start dnsmasq.service
    sudo systemctl enable dnsmasq.service
    
  6. Check service status

    DPU DHCP Node Console

    sudo systemctl status dnsmasq.service
    
    ### Command output should look like: ###
    
     dnsmasq.service - DNS caching server.
         Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; preset: disabled)
         Active: active (running) since Wed 2025-12-24 08:49:28 EST; 2 weeks 3 days ago
     Invocation: 10eb617fa5fe4bedb1fc021ddcc7751f
        Process: 1172 ExecStart=/usr/sbin/dnsmasq (code=exited, status=0/SUCCESS)
       Main PID: 1193 (dnsmasq)
          Tasks: 1 (limit: 23017)
         Memory: 2M (peak: 2.5M)
            CPU: 112ms
         CGroup: /system.slice/dnsmasq.service
                 └─1193 /usr/sbin/dnsmasq
    
    Dec 24 08:49:28 hbn-dhcp systemd[1]: Starting dnsmasq.service - DNS caching server....
    Dec 24 08:49:28 hbn-dhcp systemd[1]: Started dnsmasq.service - DNS caching server..
    

Provision Master VMs Using MaaS

No change from the Baseline RDG (Section "Deployment and Configuration", Subsection "Provision Master VMs Using MaaS").

K8s Cluster Deployment and Configuration

The procedures for initial Kubernetes cluster deployment using Kubespray for the master nodes, and subsequent verification, remain unchanged from the Baseline RDG (Section "K8s Cluster Deployment and Configuration", Subsections: "Kubespray Deployment and Configuration", "Deploying Cluster Using Kubespray Ansible Playbook","K8s Deployment Verification".

DPF Installation

The DPF installation process (Operator, System components) largely follows the Baseline RDG. 

Software Prerequisites and Required Variables

  1. Start by installing the remaining software perquisites.

    Jump Node Console

    ## Verify that envsubst utility is installed 
    depuser@jump:~$ which envsubst
    /usr/bin/envsubst
     
    ## Verify that the Go toolchain is installed (required by `make test-deploy-helmfile` to build the helm-diff plugin from source)
    depuser@jump:~$ which go && go version
    /usr/bin/go
    go version go1.22.2 linux/amd64
     
    ## If not installed, apt-install (Ubuntu 24.04):
    depuser@jump:~$ sudo apt update && sudo apt install -y golang-go
    
  2. Proceed to clone the doca-platform Git repository:

    Jump Node Console

    $ git clone https://github.com/NVIDIA/doca-platform.git
    
  3. Change directory to doca-platform and checkout to tag v30.0.0: 

    Jump Node Console

    $ cd doca-platform/
    $ git checkout v30.0.0
    
  4. Bootstrap the DPF-pinned helm + helmfile tooling:

    Jump Node Console

    $ make helm helmfile helm-diff helm-git
    $ export PATH=$PWD/hack/tools/bin:$PATH
    $ which helm; helm version --short
    /home/depuser/doca-platform/hack/tools/bin/helm
    v3.18.3+g6838ebc
    
  5. Change directory to doca-platform/docs/public/user-guides/zero-trust/use-cases/hbn from where all the commands will be run:

    Jump Node Console

    $ cd docs/public/user-guides/zero-trust/use-cases/hbn
    
  6. Change the BMC root's password.
    In Zero Trust mode, provisioning DPUs requires authentication with Redfish.
    In order to do that, you must set the same root password to access the BMC for all DPUs DPF is going to manage.For more information on how to set the BMC root password refer to BlueField DPU Administrator Quick Start Guide. 

    Connect to the DPU BMC over SSH to change the BMC root's password on all DPUs. 

    Jump Node Console

    $ ssh root@10.0.110.201
    root@10.0.110.201's password: <BMC Root Password. Default root/0penBmc. need to change first time to $BMC_ROOT_PASSWORD in the manifests/00-env-vars/envvars.env file>
    
  7. Modify the variables in manifests/00-env-vars/envvars.env to fit your environment, then source the file: 

    Replace the values for the variables in the following file with the values that fit your setup. Specifically, pay attention to DPUCLUSTER_INTERFACE, BMC_ROOT_PASSWORD, and DPU's serial number.
    To get a DPU's serial number you can use following command. Sample:
    $ curl -k -u root:'BMC root password' https://10.0.110.201/redfish/v1/Systems/Bluefield | jq -r '.SerialNumber | ascii_downcase'
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  4970  100  4970    0     0   4211      0  0:00:01  0:00:01 --:--:--  4211
    mt2543602476

    manifests/00-env-vars/envvars.env

    Bash
    ## IP Address for the Kubernetes API server of the target cluster on which DPF is installed.
    ## This should never include a scheme or a port.
    ## e.g. 10.10.10.10
    export TARGETCLUSTER_API_SERVER_HOST=10.0.110.10
    
    ## Port for the Kubernetes API server of the target cluster on which DPF is installed.
    ## e.g. 6443
    export TARGETCLUSTER_API_SERVER_PORT=6443
    
    ## Virtual IP used by the load balancer for the DPU Cluster. Must be a reserved IP from the management subnet and not
    ## allocated by DHCP.
    export DPUCLUSTER_VIP=10.0.110.200
    
    ## Interface on which the DPUCluster load balancer will listen. Should be the management interface of the control plane node.
    export DPUCLUSTER_INTERFACE=enp1s0
    
    ## The repository URL for the NVIDIA Helm chart registry.
    ## Usually this is the NVIDIA Helm NGC registry. For development purposes, this can be set to a different repository.
    export HELM_REGISTRY_REPO_URL=https://helm.ngc.nvidia.com/nvidia/doca
    
    ## The repository URL for the HBN container image.
    ## Usually this is the NVIDIA NGC registry. For development purposes, this can be set to a different repository.
    export HBN_NGC_IMAGE_URL=nvcr.io/nvidia/doca/doca_hbn
    
    ## The DPF REGISTRY is the Helm repository URL where the DPF Operator Chart resides.
    ## Usually this is the NVIDIA Helm NGC registry. For development purposes, this can be set to a different repository.
    export REGISTRY=https://helm.ngc.nvidia.com/nvidia/doca
    
    ## The DPF TAG is the version of the DPF components which will be deployed in this guide.
    export TAG=v30.0.0
    
    ## URL to the BFB used in the `bfb.yaml` and linked by the DPUSet.
    export BFB_URL="https://content.mellanox.com/BlueField/BFBs/Ubuntu24.04/bf-bundle-3.6.0-86_26.10_ubuntu-24.04_64k_prod.bfb"
    
    ## IP_RANGE_START and IP_RANGE_END
    ## These define the IP range for DPU discovery via Redfish/BMC interfaces
    ## Example: If your DPUs have BMC IPs in range 10.0.110.201-224
    ## export IP_RANGE_START=10.0.110.201
    ## export IP_RANGE_END=10.0.110.224
    ## Start of DPUDiscovery IpRange
    export IP_RANGE_START=10.0.110.201
    ## End of DPUDiscovery IpRange
    export IP_RANGE_END=10.0.110.202
    
    # This procedure uses single shared DPU BMC root login password for all DPUs.
    # For more information on how to set the BMC root password refer to BlueField DPU Administrator Quick Start Guide. 
    # If required having unique BMC password per DPU refer to this guide:
    # docs/public/advanced-configuration/per-dpu-bmc-credentials.md
    # To enhance security using external encrypted BMC DPU password with Openbao refer to this guide:
    # docs/public/advanced-configuration/encrypted-secrets.md
    export BMC_ROOT_PASSWORD=<set your BMC_ROOT_PASSWORD>
    
    ## Serial number of DPUs. If you have more than 2 DPUs, you will need to parameterize the system accordingly and expose
    ## additional variables.
    ## All serial numbers must be in lowercase.
    ## Serial number of DPU1
    export DPU1_SERIAL=mt2543602476
    ## Serial number of DPU2
    export DPU2_SERIAL=mt254360246e
    
    ## The repository URL for the Argus container image.
    ## Usually this is the NVIDIA NGC registry.
    export ARGUS_NGC_IMAGE_URL=nvcr.io/nvidia/doca/doca_argus:1.6.0-doca3.6.0
    
  8. Export environment variables for the installation:

    Jump Node Console

    $ source manifests/00-env-vars/envvars.env
    

DPF Operator Installation

No change from the Baseline RDG (Section "DPF Installation", Subsection "DPF Operator Installation").

DPF System Installation

No change from the Baseline RDG (Section "DPF Installation", Subsection "DPF System Installation").

DPU Services Installation 

This section focuses on provisioning NVIDIA® BlueField®-3 DPUs using DPF and installing the HBN and Argus DPU Services on those DPUs. The DOCA HBN Service ensures that all workload traffic is routed through HBN before leaving the DPU, providing secure and policy-enforced network processing. The DOCA Argus Service performs live machine introspection directly on the BlueField DPU, enabling real-time detection of attacks, anomalies, and malicious behavior in AI workloads and microservices—without impacting host performance.
Before deploying the objects under doca-platform/docs/public/user-guides/zero-trust/use-cases/hbndirectory, a few adjustments are required.

  1. Export environment variables for the installation:

    Jump Node Console

    $ source manifests/00-env-vars/envvars.env
    
  2. Use the following YAML to define a BFB resource that downloads the Bluefield Bitstream to a shared volume:

    manifests/03.1-dpudeployment-installation-pf/bfb.yaml
    ---
    apiVersion: provisioning.dpu.nvidia.com/v1alpha1
    kind: BFB
    metadata:
      name: bf-bundle-$TAG
      namespace: dpf-operator-system
    spec:
      url: $BFB_URL
    
  3. Review the DPUFlavor using the following YAML.

    manifests/03.1-dpudeployment-installation-pf/hbn-dpuflavor.yaml
    ---
    apiVersion: provisioning.dpu.nvidia.com/v1alpha1
    kind: DPUFlavor
    metadata:
      name: hbn-$TAG
      namespace: dpf-operator-system
    spec:
      bfcfgParameters:
      - UPDATE_ATF_UEFI=yes
      - UPDATE_DPU_OS=yes
      - WITH_NIC_FW_UPDATE=yes
      configFiles:
      - operation: override
        path: /etc/mellanox/mlnx-bf.conf
        permissions: "0644"
        raw: |
          ALLOW_SHARED_RQ="no"
          IPSEC_FULL_OFFLOAD="no"
          ENABLE_ESWITCH_MULTIPORT="yes"
      - operation: override
        path: /etc/mellanox/mlnx-ovs.conf
        permissions: "0644"
        raw: |
          CREATE_OVS_BRIDGES="no"
          OVS_DOCA="yes"
      - operation: override
        path: /etc/mellanox/mlnx-sf.conf
        permissions: "0644"
        raw: ""
      - operation: override
        path: /etc/apparmor.d/local/usr.sbin.rsyslogd
        permissions: "0644"
        raw: |
          signal (receive) peer=runc,
          capability chown,
          /usr/{bin,sbin}/* ixr,
          /etc/logrotate.d/* r,
          /var/lib/logrotate/{,**} rwk,
      - operation: override
        path: /etc/apparmor.d/local/usr.bin.tcpdump
        permissions: "0644"
        raw: |
          signal (receive) peer=runc,
      - operation: override
        path: /etc/systemd/system/sfc-state-propagation.service.d/10-dpf-no-sfc-gate.conf
        permissions: "0644"
        raw: |
          [Service]
          ExecStartPre=
      packages:
      - name: sfc-state-propagation
      systemdServices:
      - name: sfc-state-propagation.service
        operation: Enable
      grub:
        kernelParameters:
        - console=hvc0
        - console=ttyAMA0
        - earlycon=pl011,0x13010000
        - net.ifnames=0
        - biosdevname=0
        - iommu.passthrough=1
        - cgroup_no_v1=net_prio,net_cls
        - hugepagesz=2048kB
        - hugepages=250
      nvconfig:
      - device: '*'
        parameters:
        - PF_BAR2_ENABLE=0
        - PER_PF_NUM_SF=1
        - PF_TOTAL_SF=20
        - PF_SF_BAR_SIZE=10
        - NUM_PF_MSIX_VALID=0
        - PF_NUM_PF_MSIX_VALID=1
        - PF_NUM_PF_MSIX=228
        - INTERNAL_CPU_MODEL=1
        - INTERNAL_CPU_OFFLOAD_ENGINE=0
        - SRIOV_EN=1
        - NUM_OF_VFS=46
        - LAG_RESOURCE_ALLOCATION=1
        - LINK_TYPE_P1=ETH
        - LINK_TYPE_P2=ETH
      scalableFunctions:
      - count: 20
        device: "*"  # alternatively device: p0
        poolName: bf_sf
      ovs:
        rawConfigScript: |
          _ovs-vsctl() {
            ovs-vsctl --timeout 15 "$@"
          }
    
          # Remove default OVS configuration on the DPU and ensure no leftovers on the OVS kernel side
          _ovs-vsctl --if-exists del-br ovsbr1
          _ovs-vsctl --if-exists del-br ovsbr2
          ovs-appctl --timeout 15 dpctl/del-dp system@ovs-system || true
    
          _ovs-vsctl set Open_vSwitch . other_config:doca-init=true
          _ovs-vsctl set Open_vSwitch . other_config:dpdk-max-memzones=50000
          _ovs-vsctl set Open_vSwitch . other_config:hw-offload=true
          _ovs-vsctl set Open_vSwitch . other_config:hw-offload-ct-ipv6-enabled=true
          _ovs-vsctl set Open_vSwitch . other_config:pmd-quiet-idle=true
          _ovs-vsctl set Open_vSwitch . other_config:max-idle=20000
          _ovs-vsctl set Open_vSwitch . other_config:max-revalidator=5000
          _ovs-vsctl remove Open_vSwitch . other_config default-datapath-type || true
    
          if systemctl list-unit-files openvswitch-switch.service &>/dev/null; then
            systemctl restart openvswitch-switch
          elif systemctl list-unit-files openvswitch.service &>/dev/null; then
            systemctl restart openvswitch
          fi
          _ovs-vsctl --may-exist add-br br-sfc
          _ovs-vsctl set bridge br-sfc datapath_type=netdev
          _ovs-vsctl set bridge br-sfc fail_mode=secure
          _ovs-vsctl --may-exist add-port br-sfc p0
          _ovs-vsctl set Interface p0 type=dpdk
          _ovs-vsctl set Interface p0 mtu_request=9216
          _ovs-vsctl set Interface p0 options:hw-offload-ct-size=64000
          _ovs-vsctl set Port p0 external_ids:dpf-type=physical
          _ovs-vsctl set Interface p0 external_ids:hbn_uplink=p0_if
          _ovs-vsctl --may-exist add-port br-sfc p1
          _ovs-vsctl set Interface p1 type=dpdk
          _ovs-vsctl set Interface p1 mtu_request=9216
          _ovs-vsctl set Interface p1 options:hw-offload-ct-size=64000
          _ovs-vsctl set Port p1 external_ids:dpf-type=physical
          _ovs-vsctl set Interface p1 external_ids:hbn_uplink=p1_if
          _ovs-vsctl --if-exists del-br br-hbn
          _ovs-vsctl --may-exist add-br br-hbn
          _ovs-vsctl set bridge br-hbn datapath_type=netdev
          _ovs-vsctl set bridge br-hbn fail_mode=secure
    
          systemctl restart sfc-state-propagation.service || true
    
  4. Change the dpudeployment.yaml file to reference the DPUFlavor.

    manifests/03.1-dpudeployment-installation-pf/dpudeployment.yaml
    ---
    apiVersion: svc.dpu.nvidia.com/v1alpha1
    kind: DPUDeployment
    metadata:
      name: hbn-only
      namespace: dpf-operator-system
    spec:
      dpus:
        bfb: bf-bundle-$TAG
        flavor: hbn-$TAG
        nodeEffect:
          hold: true
        dpuSetStrategy:
          type: OnDelete
        dpuSets:
        - nameSuffix: "dpuset1"
          dpuNodeSelector:
            matchLabels:
              feature.node.kubernetes.io/dpu-enabled: "true"
      services:
        doca-hbn:
          serviceTemplate: doca-hbn
          serviceConfiguration: doca-hbn
        argus:
          serviceConfiguration: argus
          serviceTemplate: argus
      serviceChains:
        switches:
          - ports:
            - serviceInterface:
                matchLabels:
                  interface: p0
            - service:
                name: doca-hbn
                interface: p0_if
          - ports:
            - serviceInterface:
                matchLabels:
                  interface: p1
            - service:
                name: doca-hbn
                interface: p1_if
          - ports:
            - serviceInterface:
                matchLabels:
                  interface: pf0hpf
            - service:
                interface: pf0hpf_if
                name: doca-hbn
    

    Please notice that with default nodeEffect above, DPU provisioning workflow will be paused and wait for an external signal (annotation) in order to proceed, as demonstrated in upcoming steps.
    To implement a fully automated process that won’t require user intervention, see customAction option.

  5. Change the rest of the configuration files.

    As explained in the introduction, these files create service chains that connect physical functions (PF) to the outer fabric through HBN, providing BGP unnumbered routing and ECMP redundancy across both DPU uplinks (p0 and p1).
    These are the configuration files.

    • HBN DPUServiceConfig and DPUServiceTemplate to deploy HBN workloads to the DPUs.

      manifests/03.1-dpudeployment-installation-pf/hbn-dpuserviceconfig.yaml
      ---
      apiVersion: svc.dpu.nvidia.com/v1alpha1
      kind: DPUServiceConfiguration
      metadata:
        name: doca-hbn
        namespace: dpf-operator-system
      spec:
        deploymentServiceName: "doca-hbn"
        serviceConfiguration:
          serviceDaemonSet:
            annotations:
              k8s.v1.cni.cncf.io/networks: |-
                [
                {"name": "iprequest", "interface": "ip_lo", "cni-args": {"poolNames": ["loopback"], "poolType": "cidrpool"}},
                {"name": "iprequest", "interface": "ip_pf0hpf", "cni-args": {"poolNames": ["pool1"], "poolType": "cidrpool", "allocateDefaultGateway": true}}
                ]
          helmChart:
            values:
              configuration:
                perDPUValuesYAML: |
                  - hostnamePattern: "*"
                    values:
                      bgp_peer_group: hbn
                  - hostnamePattern: "dpu-node-${DPU1_SERIAL}*"
                    values:
                      bgp_autonomous_system: 65101
                  - hostnamePattern: "dpu-node-${DPU2_SERIAL}*"
                    values:
                      bgp_autonomous_system: 65201
                startupYAMLJ2: |
                  - header:
                      model: bluefield
                      nvue-api-version: nvue_v1
                      rev-id: 1.0
                      version: HBN 3.0.0
                  - set:
                      interface:
                        lo:
                          ip:
                            address:
                              {{ ipaddresses.ip_lo.ip }}/32: {}
                          type: loopback
                        p0_if,p1_if:
                          type: swp
                          link:
                            mtu: 9000
                        pf0hpf_if:
                          ip:
                            address:
                              {{ ipaddresses.ip_pf0hpf.cidr }}: {}
                          type: swp
                          link:
                            mtu: 9000
                      router:
                        bgp:
                          autonomous-system: {{ config.bgp_autonomous_system }}
                          enable: on
                          graceful-restart:
                            mode: full
                          router-id: {{ ipaddresses.ip_lo.ip }}
                      service:
                        dhcp-relay:
                          default:
                            server:
                              10.0.125.4: {}                      
                      vrf:
                        default:
                          router:
                            bgp:
                              address-family:
                                ipv4-unicast:
                                  enable: on
                                  redistribute:
                                    connected:
                                      enable: on
                                ipv6-unicast:
                                  enable: on
                                  redistribute:
                                    connected:
                                      enable: on
                              enable: on
                              neighbor:
                                p0_if:
                                  peer-group: {{ config.bgp_peer_group }}
                                  type: unnumbered
                                p1_if:
                                  peer-group: {{ config.bgp_peer_group }}
                                  type: unnumbered
                              path-selection:
                                multipath:
                                  aspath-ignore: on
                              peer-group:
                                {{ config.bgp_peer_group }}:
                                  address-family:
                                    ipv4-unicast:          
                                      enable: on
                                    ipv6-unicast:
                                      enable: on                          
                                  remote-as: external
        interfaces:
        - name: p0_if
          network: mybrhbn
        - name: p1_if
          network: mybrhbn
        - name: pf0hpf_if
          network: mybrhbn
      
      manifests/03.1-dpudeployment-installation-pf/hbn-dpuservicetemplate.yaml
      ---
      apiVersion: svc.dpu.nvidia.com/v1alpha1
      kind: DPUServiceTemplate
      metadata:
        name: doca-hbn
        namespace: dpf-operator-system
      spec:
        deploymentServiceName: "doca-hbn"
        helmChart:
          source:
            repoURL: $HELM_REGISTRY_REPO_URL
            version: 3.6.0
            chart: doca-hbn
          values:
            image:
              repository: $HBN_NGC_IMAGE_URL
              tag: 3.6.0-doca3.6.0
            resources:
              memory: 6Gi
              nvidia.com/bf_sf: 3
      
    • Physical Interfaces for physical ports on the DPU.

      ---
      apiVersion: svc.dpu.nvidia.com/v1alpha1
      kind: DPUServiceInterface
      metadata:
        name: p0
        namespace: dpf-operator-system
      spec:
        template:
          spec:
            template:
              metadata:
                labels:
                  interface: "p0"
              spec:
                interfaceType: physical
                physical:
                  interfaceName: p0
      ---
      apiVersion: svc.dpu.nvidia.com/v1alpha1
      kind: DPUServiceInterface
      metadata:
        name: p1
        namespace: dpf-operator-system
      spec:
        template:
          spec:
            template:
              metadata:
                labels:
                  interface: "p1"
              spec:
                interfaceType: physical
                physical:
                  interfaceName: p1
      ---
      apiVersion: svc.dpu.nvidia.com/v1alpha1
      kind: DPUServiceInterface
      metadata:
        name: pf0hpf
        namespace: dpf-operator-system
      spec:
        template:
          spec:
            template:
              metadata:
                labels:
                  interface: "pf0hpf"
              spec:
                interfaceType: pf
                pf:
                  pfID: 0
      
    • DPU Service IPAM objects to set up IP Address Management on the DPUCluster.

      manifests/03.1-dpudeployment-installation-pf/hbn-ipam.yaml
      ---
      apiVersion: svc.dpu.nvidia.com/v1alpha1
      kind: DPUServiceIPAM
      metadata:
        name: pool1
        namespace: dpf-operator-system
      spec:
        network:
          network: "10.0.120.0/22"
          gatewayIndex: 1
          prefixSize: 29
      
      ---
      apiVersion: svc.dpu.nvidia.com/v1alpha1
      kind: DPUServiceIPAM
      metadata:
        name: loopback
        namespace: dpf-operator-system
      spec:
        network:
          network: "11.0.0.0/24"
          prefixSize: 32
      

      It is necessary to set several environment variables before running this command.

      $ source manifests/00-env-vars/envvars.env

  6. Create the Argus-DPUServiceConfiguration.yaml file for the Argus service:

    The output.log_folder_path value turns on the local activity report that the Argus Service Verification section reads. DOCA Argus 1.6.0 does not write it by default.

    ---
    apiVersion: svc.dpu.nvidia.com/v1alpha1
    kind: DPUServiceConfiguration
    metadata:
      name: argus
      namespace: dpf-operator-system
    spec:
      deploymentServiceName: argus
      serviceConfiguration:
        helmChart:
          values:
            config:
              isLocalPath: false
              content:
                output:
                  log_folder_path: /var/log/doca_argus_activity_report
            containerImage: $ARGUS_NGC_IMAGE_URL
    
  7. Create the Argus-DPUServiceTemplate.yaml file for the Argus service:

    manifests/03.1-dpudeployment-installation-pf/Argus-DPUServiceTemplate.yaml
    ---
    apiVersion: svc.dpu.nvidia.com/v1alpha1
    kind: DPUServiceTemplate
    metadata:
      name: argus
      namespace: dpf-operator-system
    spec:
      deploymentServiceName: argus
      helmChart:
        source:
          chart: doca-argus
          repoURL: $HELM_REGISTRY_REPO_URL
          version: 1.6.0
    
  8. Apply all of the YAML files mentioned above using the following command:

    Jump Node Console

    $ cat manifests/03.1-dpudeployment-installation-pf/*.yaml | envsubst | kubectl apply -f -
    

     

    Jump Node Console

    $ kubectl wait --for=jsonpath='{.status.phase}'=Ready --namespace dpf-operator-system bfb bf-bundle-$TAG --timeout=600s
    bfb.provisioning.dpu.nvidia.com/bf-bundle-v30.0.0 condition met
    
    $ kubectl wait --for=condition=PrerequisitesReady --namespace dpf-operator-system dpudeployment hbn-only --timeout=15m
    dpudeployment.svc.dpu.nvidia.com/hbn-only condition met
    
    $ kubectl wait --for=condition=DPUServiceChainsReconciled --namespace dpf-operator-system dpudeployment hbn-only --timeout=5m
    dpudeployment.svc.dpu.nvidia.com/hbn-only condition met
    
    $ kubectl wait --for=condition=ApplicationsReconciled --namespace dpf-operator-system dpuservices --all
    dpuservice.svc.dpu.nvidia.com/argus-fdc7w condition met
    dpuservice.svc.dpu.nvidia.com/cni-installer condition met
    dpuservice.svc.dpu.nvidia.com/coredns-05f12f695b condition met
    dpuservice.svc.dpu.nvidia.com/coredns-rbac condition met
    dpuservice.svc.dpu.nvidia.com/doca-hbn-cmzxh condition met
    dpuservice.svc.dpu.nvidia.com/dpu-monitoring condition met
    dpuservice.svc.dpu.nvidia.com/flannel condition met
    dpuservice.svc.dpu.nvidia.com/kube-state-metrics-05f12f695b condition met
    dpuservice.svc.dpu.nvidia.com/kube-state-metrics-rbac condition met
    dpuservice.svc.dpu.nvidia.com/multus condition met
    dpuservice.svc.dpu.nvidia.com/node-problem-detector condition met
    dpuservice.svc.dpu.nvidia.com/nvidia-k8s-ipam-05f12f695b condition met
    dpuservice.svc.dpu.nvidia.com/nvidia-k8s-ipam-node condition met
    dpuservice.svc.dpu.nvidia.com/servicechainset-controller-05f12f695b condition met
    dpuservice.svc.dpu.nvidia.com/servicechainset-rbac-and-crds condition met
    dpuservice.svc.dpu.nvidia.com/sfc-controller condition met
    dpuservice.svc.dpu.nvidia.com/sriov-device-plugin condition met
    
    $ kubectl wait --for=condition=DPUIPAMObjectReconciled --namespace dpf-operator-system dpuserviceipam --all
    dpuserviceipam.svc.dpu.nvidia.com/loopback condition met
    dpuserviceipam.svc.dpu.nvidia.com/pool1 condition met
    
    $ kubectl wait --for=condition=ServiceInterfaceSetReconciled --namespace dpf-operator-system dpuserviceinterface --all
    dpuserviceinterface.svc.dpu.nvidia.com/doca-hbn-p0-if-vwh44 condition met
    dpuserviceinterface.svc.dpu.nvidia.com/doca-hbn-p1-if-68pcv condition met
    dpuserviceinterface.svc.dpu.nvidia.com/doca-hbn-pf0hpf-if-np54b condition met
    dpuserviceinterface.svc.dpu.nvidia.com/p0 condition met
    dpuserviceinterface.svc.dpu.nvidia.com/p1 condition met
    dpuserviceinterface.svc.dpu.nvidia.com/pf0hpf condition met
    
    $ kubectl wait --for=condition=ServiceChainSetReconciled --namespace dpf-operator-system dpuservicechain --all
    dpuservicechain.svc.dpu.nvidia.com/hbn-only-wgxnp condition met
    
  9. To follow the progress of DPU provisioning, run the following command to check its current phase:

    Jump Node Console

    $ watch -n10 "kubectl -n dpf-operator-system get dpu,dpuset,dpudeployment,dpuservice,dpuserviceconfigurations,dpuservicetemplates"
    


  10. Wait for the NodeEffect stage (at this point the provisioning is paused, waintig for external signal).
    Run following command on all/specific DPU nodemaintanace object/s to proceed with provisioning:

    Jump Node Console

    $ kubectl annotate dpunodemaintenances -n dpf-operator-system --all \
      provisioning.dpu.nvidia.com/wait-for-external-nodeeffect=false \
      --overwrite
    
  11. To follow the progress of DPU provisioning, run the following command to check its current phase:
    Jump Node Console

    $ watch -n10 "kubectl -n dpf-operator-system get dpu,dpuset,dpudeployment,dpuservice,dpuserviceconfigurations,dpuservicetemplates"
    
  12. Wait until the DPUNode annotation provisioning.dpu.nvidia.com/dpunode-external-reboot-required equals true, and then check which type of host reboot is required: PowerCycle requires a cold boot (power cycle) of the bare-metal host; any other value requires a system reboot of the host. Perform the required reboot manually.

    ## Check which DPUNodes wait for a host reboot ('true' = reboot this host now)
    $ kubectl get dpunodes -n dpf-operator-system -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.metadata.annotations.provisioning\.dpu\.nvidia\.com/dpunode-external-reboot-required}{"\n"}{end}'
    
    ## Check which reboot type each DPU requires:
    ##   PowerCycle                               -> cold boot (power cycle) the host
    ##   SystemReboot / SystemLevelReset / other  -> system reboot of the host
    ##   empty                                    -> not reported yet; a cold boot is always safe
    ## On a host with several DPUs, PowerCycle on any DPU means cold boot.
    $ kubectl get dpu -n dpf-operator-system -o custom-columns='DPU:.metadata.name,DPUNODE:.spec.dpuNodeName,REBOOT_METHOD:.status.agentStatus.rebootMethod'
    

    Execute the mentioned power cycle type and then do:

    Jump Node Console

    $ kubectl annotate dpunodes -n dpf-operator-system --all provisioning.dpu.nvidia.com/dpunode-external-reboot-required-
    
  13. At this point, the DPU workers should be added to the cluster. As they being added to the cluster, the DPUs are provisioned.

    Jump Node Console

    $ watch -n10 "kubectl -n dpf-operator-system get dpu,dpuset,dpudeployment,dpuservice,dpuserviceconfigurations,dpuservicetemplates"
    
  14.  Finally, validate that all the different DPU-related objects are now in the Ready state:

    Jump Node Console

    $ kubectl get secrets -n dpu-cplane-tenant1 dpu-cplane-tenant1-admin-kubeconfig -o json | jq -r '.data["admin.conf"]' | base64 --decode > /home/depuser/dpu-cluster.config
     
    $ echo "alias ki='KUBECONFIG=/home/depuser/dpu-cluster.config kubectl'" >> ~/.bashrc
    $ echo 'alias dpfctl="kubectl -n dpf-operator-system exec deploy/dpf-operator-controller-manager -- /dpfctl "' >> ~/.bashrc
    $ source ~/.bashrc
    
    $ dpfctl describe dpudeployments
    NAME                                    NAMESPACE            STATUS       REASON                 SINCE  MESSAGE
    DPFOperatorConfig/dpfoperatorconfig     dpf-operator-system
    │           ├─Ready                                          True         Success                11m
    │           └─DeprecatedFieldsNotInUse                       False        DeprecatedFieldsInUse  75m    CRs are still using deprecated fields:
    │                                                                                                       DPUDevice (2):
    │                                                                                                       * dpf-operator-system/mt254360246e: spec.opn
    │                                                                                                       * dpf-operator-system/mt2543602476: spec.opn
    └─DPUDeployments
      └─DPUDeployment/hbn-only              dpf-operator-system  Ready: True  Success                3m
        ├─DPUServiceChains
        │ └─DPUServiceChain/hbn-only-wgxnp  dpf-operator-system  Ready: True  Success                6m38s
        ├─DPUServiceInterfaces
        │ └─3 DPUServiceInterfaces...       dpf-operator-system  Ready: True  Success                6m40s  See doca-hbn-p0-if-vwh44, doca-hbn-p1-if-68pcv, doca-hbn-pf0hpf-if-np54b
        ├─DPUSets
        │ └─DPUSet/hbn-only-dpuset1         dpf-operator-system  Ready: True  Success                3m
        │   ├─BFB/bf-bundle-v30.0.0         dpf-operator-system  Ready: True  Ready                  52m    File: bf-bundle-3.6.0-86_26.10_ubuntu-24.04_64k_prod.bfb, DOCA: 3.6.0
        │   ├─DPUNodes
        │   │ └─2 DPUNodes...               dpf-operator-system  Ready: True  Ready                  3m5s   See dpu-node-mt254360246e, dpu-node-mt2543602476
        │   └─DPUs
        │     └─2 DPUs...                   dpf-operator-system  Ready: True  DPUReady               3m5s   See dpu-node-mt254360246e-mt254360246e, dpu-node-mt2543602476-mt2543602476
        └─Services
          ├─DPUServiceTemplates
          │ ├─DPUServiceTemplate/argus      dpf-operator-system  Ready: True  Success                52m
          │ └─DPUServiceTemplate/doca-hbn   dpf-operator-system  Ready: True  Success                52m
          └─DPUServices
            └─2 DPUServices...              dpf-operator-system  Ready: True  Success                4m41s  See argus-fdc7w, doca-hbn-cmzxh
    
    $ ki get node -A
    NAME                                 STATUS   ROLES    AGE   VERSION
    dpu-node-mt254360246e-mt254360246e   Ready    <none>   12m   v1.34.13
    dpu-node-mt2543602476-mt2543602476   Ready    <none>   12m   v1.34.13
    
    $ kubectl get dpu -A
    NAMESPACE             NAME                                 READY   OPERATIONAL   PHASE   AGE
    dpf-operator-system   dpu-node-mt254360246e-mt254360246e   True    True          Ready   51m
    dpf-operator-system   dpu-node-mt2543602476-mt2543602476   True    True          Ready   51m
    
    $ kubectl wait --for=condition=ready --namespace dpf-operator-system dpu --all
    dpu.provisioning.dpu.nvidia.com/dpu-node-mt254360246e-mt254360246e condition met
    dpu.provisioning.dpu.nvidia.com/dpu-node-mt2543602476-mt2543602476 condition met
    
    $ ki get pods -A -o wide
    NAMESPACE             NAME                                                    READY   STATUS    RESTARTS      AGE     IP             NODE                                 NOMINATED NODE   READINESS GATES
    dpf-operator-system   dpu-cplane-tenant1-argus-fdc7w-doca-argus-l96pk         1/1     Running   0             6m40s   10.0.110.211   dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-argus-fdc7w-doca-argus-slbgb         1/1     Running   0             6m39s   10.0.110.212   dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-cni-installer-nx9bs                  1/1     Running   0             12m     10.244.1.2     dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-cni-installer-zh2cb                  1/1     Running   0             12m     10.244.0.3     dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-doca-hbn-cmzxh-ds-c929m              2/2     Running   0             6m39s   10.244.1.4     dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-doca-hbn-cmzxh-ds-qdzlr              2/2     Running   0             6m40s   10.244.0.4     dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-node-problem-detector-g4r5g          1/1     Running   0             12m     10.0.110.212   dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-node-problem-detector-r4c6p          1/1     Running   0             12m     10.0.110.211   dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-nvidia-k8s-ipam-node-node-ds-7mtxh   1/1     Running   0             12m     10.244.0.2     dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-nvidia-k8s-ipam-node-node-ds-s6qfr   1/1     Running   0             12m     10.244.1.3     dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-sfc-controller-node-ds-7drql         1/1     Running   1 (11m ago)   12m     10.0.110.211   dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   dpu-cplane-tenant1-sfc-controller-node-ds-jwbjz         1/1     Running   0             12m     10.0.110.212   dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   kube-flannel-ds-wbwzf                                   1/1     Running   0             12m     10.0.110.212   dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   kube-flannel-ds-wkmml                                   1/1     Running   0             12m     10.0.110.211   dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   kube-multus-ds-4h6mb                                    1/1     Running   0             12m     10.0.110.212   dpu-node-mt254360246e-mt254360246e   <none>           <none>
    dpf-operator-system   kube-multus-ds-nxnhv                                    1/1     Running   0             12m     10.0.110.211   dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   kube-sriov-device-plugin-brbb6                          1/1     Running   0             12m     10.0.110.211   dpu-node-mt2543602476-mt2543602476   <none>           <none>
    dpf-operator-system   kube-sriov-device-plugin-xhflb                          1/1     Running   0             12m     10.0.110.212   dpu-node-mt254360246e-mt254360246e   <none>           <none>
    kube-system           kube-proxy-8c69l                                        1/1     Running   0             12m     10.0.110.212   dpu-node-mt254360246e-mt254360246e   <none>           <none>
    kube-system           kube-proxy-nr9rh                                        1/1     Running   0             12m     10.0.110.211   dpu-node-mt2543602476-mt2543602476   <none>           <none>
    

    Congratulations! The DPF system with the HBN service has been successfully installed.

Infrastructure Bandwidth & Latency Validation 

Verify the deployment and confirm that the DPU system achieves link-speed performance and low latency by running various tests:

  1. Iperf TCP—for bandwidth measurements 

  2. RDMA—for bandwidth and latency measurements 

  3. Network isolation

Each test is described in detail. At the end of each test, the achieved performance is displayed. 

Notes

Make sure that the servers are tuned for maximum performance (not covered in this document).  

Performance and Isolation Tests

Now that the test deployment is running, perform bandwidth and latency performance tests between two bare-metal workload servers.

Ubuntu 24.04 was installed on the servers.

  1. Before running the tests, check the Gateway address and BGP configuration on each HBN pod:

    Jump Node Console

    $ ki -n dpf-operator-system get pod -o wide | grep doca-hbn
    dpu-cplane-tenant1-doca-hbn-x92vr-ds-4h7rw              2/2     Running   0          72m   10.244.1.5     dpu-node-mt2402xz0f80-mt2402xz0f80   <none>           <none>
    dpu-cplane-tenant1-doca-hbn-x92vr-ds-8g5hc              2/2     Running   0          80m   10.244.0.8     dpu-node-mt2402xz0f7x-mt2402xz0f7x   <none>           <none>
    
    $ ki exec -it -n dpf-operator-system dpu-cplane-tenant1-doca-hbn-x92vr-ds-8g5hc -- bash
    Defaulted container "doca-hbn" out of: doca-hbn, hbn-init (init), hbn-sidecar (init)
    root@dpu-cplane-tenant1-doca-hbn-x92vr-ds-8g5hc:/tmp# ip a s
    
    ...
    56: pf0hpf_if: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
        link/ether 22:44:57:9d:01:25 brd ff:ff:ff:ff:ff:ff
        inet 10.0.120.1/29 scope global pf0hpf_if
           valid_lft forever preferred_lft forever
        inet6 fe80::2044:57ff:fe9d:125/64 scope link
           valid_lft forever preferred_lft forever
    ...
    
    
    # vtysh
    
    # show bgp summary
    
    IPv4 Unicast Summary (VRF default):
    BGP router identifier 11.0.0.0, local AS number 65101 vrf-id 0
    BGP table version 9
    RIB entries 8, using 1792 bytes of memory
    Peers 2, using 40 KiB of memory
    Peer groups 1, using 64 bytes of memory
    
    Neighbor           V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
    clx-swx-056(p0_if) 4      65001       185       184        0    0    0 00:08:55            4        5 N/A
    clx-swx-056(p1_if) 4      65001       184       183        0    0    0 00:08:53            4        5 N/A
    
    Total number of neighbors 2
    
    L2VPN EVPN Summary (VRF default):
    BGP router identifier 11.0.0.0, local AS number 65101 vrf-id 0
    BGP table version 0
    RIB entries 3, using 672 bytes of memory
    Peers 2, using 40 KiB of memory
    Peer groups 1, using 64 bytes of memory
    
    Neighbor           V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
    clx-swx-056(p0_if) 4      65001       185       184        0    0    0 00:08:55        NoNeg    NoNeg N/A
    clx-swx-056(p1_if) 4      65001       184       183        0    0    0 00:08:53        NoNeg    NoNeg N/A
    
    Total number of neighbors 2
    
    
    # show ip bgp
    BGP table version is 7, local router ID is 11.0.0.0, vrf id 0
    Default local pref 100, local AS 65101
    Status codes:  s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath, + multipath nhg,
                   i internal, r RIB-failure, S Stale, R Removed
    Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
    Origin codes:  i - IGP, e - EGP, ? - incomplete
    RPKI validation codes: V valid, I invalid, N Not found
    
       Network          Next Hop            Metric LocPrf Weight Path
    *> 0.0.0.0/0        p0_if                    0             0 65001 i
    *=                  p1_if                    0             0 65001 i
    *> 10.0.120.0/29    0.0.0.0(dpu-cplane-tenant1-doca-hbn-j9p7q-ds-r8p66)
                                                 0         32768 ?
    *> 10.0.120.8/29    p0_if                                  0 65001 65201 ?
    *=                  p1_if                                  0 65001 65201 ?
    *> 10.0.125.0/24    p0_if                    0             0 65001 i
    *=                  p1_if                    0             0 65001 i
    *> 11.0.0.0/32      0.0.0.0(dpu-cplane-tenant1-doca-hbn-j9p7q-ds-r8p66)
                                                 0         32768 ?
    *> 11.0.0.1/32      p0_if                                  0 65001 65201 ?
    *=                  p1_if                                  0 65001 65201 ?
    *> 11.0.0.101/32    p0_if                    0             0 65001 i
    *=                  p1_if                    0             0 65001 i
    
    Displayed  7 routes and 12 total paths
    
    
    # exit
    
    $ exit
    


  2. Connect to a first Workload Server console, install iperf, perftest, check DPU High Speed Interfaces, set the route to Ethernet, and identify the relevant RDMA device:

    First Pod Console

    root@worker1:~# apt install iperf3
    root@worker1:~# apt install perftest
    root@worker1:~# ip a s
    ...
    8: ens1f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
        link/ether 58:a2:e1:73:69:e6 brd ff:ff:ff:ff:ff:ff
        altname enp43s0f0np0
        inet 10.0.120.2/29 metric 50 brd 10.0.120.7 scope global dynamic ens1f0np0
           valid_lft 28624sec preferred_lft 28624sec
        inet6 fe80::5aa2:e1ff:fe73:69e6/64 scope link
           valid_lft forever preferred_lft forever
    ...
    
    root@worker1:~# vim /etc/netplan/50-cloud-init.yaml
    network:
      version: 2
      ethernets:
        ens1f0np0:
          mtu: 9000
          dhcp4: true
          dhcp4-overrides:
            route-metric: 50
        ens10f0:
          addresses:
          - "10.0.110.21/24"
          nameservers:
            addresses:
            - 10.0.110.252
            search:
            - dpf.rdg.local.domain
          routes:
            - to: default
              via: 10.0.110.254
              metric: 100
          mtu: 9000
    
    depuser@worker1:~$ ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=5.35 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=5.10 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=5.15 ms
    
    root@worker1:~#  rdma link | grep ens1f0np0
    link mlx5_2/1 state ACTIVE physical_state LINK_UP netdev ens1f0np0
    
  3. Using another console window, reconnect to the jump node and connect to a second Workload Server.
    From within the servers, install iperf, perftest, check DPU Hight Speed Interfaces, set route to ethernet and identify the relevant RDMA device:

    Second Pod Console

    root@worker2:~# apt install iperf3
    root@worker2:~# apt install perftest
    root@worker2:~# ip a s
    ...
    8: ens1f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
        link/ether 58:a2:e1:73:6a:58 brd ff:ff:ff:ff:ff:ff
        altname enp43s0f0np0
        inet 10.0.120.10/29 metric 50 brd 10.0.120.15 scope global dynamic ens1f0np0
           valid_lft 28501sec preferred_lft 28501sec
        inet6 fe80::5aa2:e1ff:fe73:6a58/64 scope link
           valid_lft forever preferred_lft forever
    ...
    
    depuser@worker2:~$ ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=5.35 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=5.10 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=5.15 ms
    
    
    root@worker2:~# rdma link | grep ens1f0np0
    link mlx5_2/1 state ACTIVE physical_state LINK_UP netdev ens1f0np0
    


Network Connection Test

Verify that the two servers running on same network - using virtual functions can communicate with each other.

Connect to the first workload server, and try to ping the PF0 on the second node.

  1. Run the ping command:

    First BM Server Console

    root@worker1:~# ping -c 3 10.0.120.10
    PING 10.0.120.10 (10.0.120.10) 56(84) bytes of data.
    64 bytes from 10.0.120.10: icmp_seq=1 ttl=61 time=0.933 ms
    64 bytes from 10.0.120.10: icmp_seq=2 ttl=61 time=0.260 ms
    64 bytes from 10.0.120.10: icmp_seq=3 ttl=61 time=0.248 ms
    
    --- 10.0.120.10 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2059ms
    rtt min/avg/max/mdev = 0.248/0.480/0.933/0.320 ms
    
iPerf TCP Bandwidth Test

Move back to the first server console.

  1. Start the iperf3 server side:

    First BM Server Console

    root@worker1:~# iperf3 -s
    -----------------------------------------------------------
    Server listening on 5201 (test #1)
    -----------------------------------------------------------
    
  2. Move to the second server console.
    Start the iperf client side:

    Second BM Server Console

    root@worker2:~#  iperf3 -c 10.0.120.13 -P 16
    Connecting to host 10.0.120.13, port 5201
    [  5] local 10.0.120.3 port 38206 connected to 10.0.120.13 port 5201
    [  7] local 10.0.120.3 port 38210 connected to 10.0.120.13 port 5201
    [  9] local 10.0.120.3 port 38226 connected to 10.0.120.13 port 5201
    [ 11] local 10.0.120.3 port 38242 connected to 10.0.120.13 port 5201
    [ 13] local 10.0.120.3 port 38258 connected to 10.0.120.13 port 5201
    [ 15] local 10.0.120.3 port 38260 connected to 10.0.120.13 port 5201
    [ 17] local 10.0.120.3 port 38272 connected to 10.0.120.13 port 5201
    [ 19] local 10.0.120.3 port 38276 connected to 10.0.120.13 port 5201
    [ 21] local 10.0.120.3 port 38292 connected to 10.0.120.13 port 5201
    [ 23] local 10.0.120.3 port 38302 connected to 10.0.120.13 port 5201
    [ 25] local 10.0.120.3 port 38308 connected to 10.0.120.13 port 5201
    [ 27] local 10.0.120.3 port 38312 connected to 10.0.120.13 port 5201
    [ 29] local 10.0.120.3 port 38322 connected to 10.0.120.13 port 5201
    [ 31] local 10.0.120.3 port 38328 connected to 10.0.120.13 port 5201
    [ 33] local 10.0.120.3 port 38330 connected to 10.0.120.13 port 5201
    [ 35] local 10.0.120.3 port 38344 connected to 10.0.120.13 port 5201
    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec  2.24 GBytes  19.2 Gbits/sec   16   2.52 MBytes       
    [  7]   0.00-1.00   sec  2.25 GBytes  19.2 Gbits/sec   52   1.73 MBytes       
    [  9]   0.00-1.00   sec  1.48 GBytes  12.7 Gbits/sec   79   2.24 MBytes       
    [ 11]   0.00-1.00   sec  1.77 GBytes  15.2 Gbits/sec   42   3.21 MBytes       
    [ 13]   0.00-1.00   sec  2.03 GBytes  17.3 Gbits/sec   62   1.07 MBytes       
    [ 15]   0.00-1.00   sec  1.57 GBytes  13.5 Gbits/sec   75   2.65 MBytes       
    [ 17]   0.00-1.01   sec  1.64 GBytes  14.0 Gbits/sec  102   2.74 MBytes       
    [ 19]   0.00-1.01   sec  2.21 GBytes  18.8 Gbits/sec   80   2.39 MBytes       
    [ 21]   0.00-1.01   sec  2.23 GBytes  19.0 Gbits/sec   90   1.93 MBytes       
    [ 23]   0.00-1.01   sec  2.19 GBytes  18.7 Gbits/sec    0   4.23 MBytes       
    [ 25]   0.00-1.01   sec  1.96 GBytes  16.7 Gbits/sec   61   2.62 MBytes       
    [ 27]   0.00-1.01   sec  2.32 GBytes  19.7 Gbits/sec    0   4.19 MBytes       
    [ 29]   0.00-1.01   sec  1.50 GBytes  12.7 Gbits/sec   47   2.50 MBytes       
    [ 31]   0.00-1.01   sec  2.31 GBytes  19.6 Gbits/sec    6   1.43 MBytes       
    [ 33]   0.00-1.01   sec  2.44 GBytes  20.7 Gbits/sec    4    865 KBytes       
    [ 35]   0.00-1.01   sec  1.28 GBytes  10.8 Gbits/sec  219   1.90 MBytes       
    [SUM]   0.00-1.00   sec  31.4 GBytes   270 Gbits/sec  935             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   1.00-2.00   sec  2.25 GBytes  19.4 Gbits/sec   34   2.12 MBytes       
    [  7]   1.00-2.00   sec  2.34 GBytes  20.2 Gbits/sec   11   2.13 MBytes       
    [  9]   1.00-2.00   sec  1.43 GBytes  12.3 Gbits/sec   43   1.95 MBytes       
    [ 11]   1.00-2.00   sec  1.35 GBytes  11.6 Gbits/sec   14   2.20 MBytes       
    [ 13]   1.00-2.00   sec  1.82 GBytes  15.6 Gbits/sec   54   1.08 MBytes       
    [ 15]   1.00-2.00   sec  2.09 GBytes  18.0 Gbits/sec   23   2.48 MBytes       
    [ 17]   1.01-2.00   sec  1.92 GBytes  16.6 Gbits/sec   28   1.36 MBytes       
    [ 19]   1.01-2.00   sec  2.36 GBytes  20.4 Gbits/sec   54   2.07 MBytes       
    [ 21]   1.01-2.00   sec  1.96 GBytes  17.0 Gbits/sec   49   1.77 MBytes       
    [ 23]   1.01-2.00   sec  2.23 GBytes  19.3 Gbits/sec    0   4.23 MBytes       
    [ 25]   1.01-2.00   sec  2.06 GBytes  17.8 Gbits/sec   39   2.18 MBytes       
    [ 27]   1.01-2.00   sec  2.24 GBytes  19.3 Gbits/sec    0   4.19 MBytes       
    [ 29]   1.01-2.00   sec  1.82 GBytes  15.7 Gbits/sec   33   1.82 MBytes       
    [ 31]   1.01-2.01   sec  2.21 GBytes  19.0 Gbits/sec    8   1.21 MBytes       
    [ 33]   1.01-2.01   sec  2.23 GBytes  19.2 Gbits/sec    9   2.39 MBytes       
    [ 35]   1.01-2.01   sec  1.20 GBytes  10.3 Gbits/sec   49   1.55 MBytes       
    [SUM]   1.00-2.00   sec  31.5 GBytes   271 Gbits/sec  448             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   2.00-3.00   sec  2.27 GBytes  19.5 Gbits/sec   13   1.83 MBytes       
    [  7]   2.00-3.00   sec  2.23 GBytes  19.1 Gbits/sec   28   2.28 MBytes       
    [  9]   2.00-3.00   sec  1.54 GBytes  13.2 Gbits/sec   39   1.66 MBytes       
    [ 11]   2.00-3.00   sec  1.73 GBytes  14.8 Gbits/sec   42   2.03 MBytes       
    [ 13]   2.00-3.00   sec  2.09 GBytes  17.9 Gbits/sec   56   1.12 MBytes       
    [ 15]   2.00-3.01   sec  1.74 GBytes  14.9 Gbits/sec   25   1.76 MBytes       
    [ 17]   2.00-3.01   sec  1.56 GBytes  13.4 Gbits/sec   31   1.53 MBytes       
    [ 19]   2.00-3.01   sec  2.22 GBytes  18.9 Gbits/sec   33   1.82 MBytes       
    [ 21]   2.00-3.01   sec  1.95 GBytes  16.6 Gbits/sec   49   1.32 MBytes       
    [ 23]   2.00-3.01   sec  2.08 GBytes  17.7 Gbits/sec    0   4.23 MBytes       
    [ 25]   2.00-3.01   sec  1.99 GBytes  17.0 Gbits/sec   21   1.83 MBytes       
    [ 27]   2.00-3.01   sec  2.43 GBytes  20.8 Gbits/sec    0   4.19 MBytes       
    [ 29]   2.00-3.01   sec  1.64 GBytes  14.0 Gbits/sec   28   1.38 MBytes       
    [ 31]   2.01-3.01   sec  2.48 GBytes  21.2 Gbits/sec   13   1.73 MBytes       
    [ 33]   2.01-3.01   sec  2.35 GBytes  20.1 Gbits/sec    8   1.32 MBytes       
    [ 35]   2.01-3.01   sec  1.45 GBytes  12.4 Gbits/sec   57   1.02 MBytes       
    [SUM]   2.00-3.00   sec  31.7 GBytes   272 Gbits/sec  443             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   3.00-4.00   sec  2.22 GBytes  19.1 Gbits/sec   21   1.37 MBytes       
    [  7]   3.00-4.00   sec  2.46 GBytes  21.1 Gbits/sec   32   1.40 MBytes       
    [  9]   3.00-4.00   sec  1.48 GBytes  12.7 Gbits/sec   44   1.43 MBytes       
    [ 11]   3.00-4.01   sec  1.59 GBytes  13.6 Gbits/sec   27   2.57 MBytes       
    [ 13]   3.00-4.01   sec  1.66 GBytes  14.2 Gbits/sec   54   1.83 MBytes       
    [ 15]   3.01-4.01   sec  1.83 GBytes  15.7 Gbits/sec    6   2.96 MBytes       
    [ 17]   3.01-4.01   sec  1.81 GBytes  15.5 Gbits/sec   39    751 KBytes       
    [ 19]   3.01-4.01   sec  2.16 GBytes  18.5 Gbits/sec   34   1.54 MBytes       
    [ 21]   3.01-4.01   sec  2.28 GBytes  19.6 Gbits/sec   49   1.08 MBytes       
    [ 23]   3.01-4.01   sec  2.33 GBytes  20.0 Gbits/sec    0   4.23 MBytes       
    [ 25]   3.01-4.01   sec  2.06 GBytes  17.7 Gbits/sec   24   1.75 MBytes       
    [ 27]   3.01-4.01   sec  2.41 GBytes  20.7 Gbits/sec    0   4.19 MBytes       
    [ 29]   3.01-4.02   sec  1.86 GBytes  15.9 Gbits/sec   20   1.85 MBytes       
    [ 31]   3.01-4.02   sec  2.29 GBytes  19.6 Gbits/sec   13   1.09 MBytes       
    [ 33]   3.01-4.02   sec  2.60 GBytes  22.2 Gbits/sec   12   1022 KBytes       
    [ 35]   3.01-4.02   sec  1.23 GBytes  10.5 Gbits/sec   21   1.32 MBytes       
    [SUM]   3.00-4.00   sec  32.3 GBytes   277 Gbits/sec  396             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   4.00-5.00   sec  2.26 GBytes  19.4 Gbits/sec   68   2.40 MBytes       
    [  7]   4.00-5.00   sec  2.42 GBytes  20.8 Gbits/sec   42   2.24 MBytes       
    [  9]   4.00-5.00   sec  1.56 GBytes  13.5 Gbits/sec   24   2.08 MBytes       
    [ 11]   4.01-5.00   sec  1.43 GBytes  12.3 Gbits/sec   46   2.39 MBytes       
    [ 13]   4.01-5.00   sec  1.96 GBytes  16.9 Gbits/sec   40   1.50 MBytes       
    [ 15]   4.01-5.00   sec  2.10 GBytes  18.1 Gbits/sec   37   2.81 MBytes       
    [ 17]   4.01-5.00   sec  1.55 GBytes  13.4 Gbits/sec   39   1.21 MBytes       
    [ 19]   4.01-5.01   sec  2.31 GBytes  19.9 Gbits/sec   31   2.24 MBytes       
    [ 21]   4.01-5.01   sec  2.24 GBytes  19.3 Gbits/sec   43   1.72 MBytes       
    [ 23]   4.01-5.01   sec  2.41 GBytes  20.8 Gbits/sec    2   2.29 MBytes       
    [ 25]   4.01-5.01   sec  1.85 GBytes  16.0 Gbits/sec   37   2.68 MBytes       
    [ 27]   4.01-5.01   sec  2.31 GBytes  20.0 Gbits/sec    1   3.26 MBytes       
    [ 29]   4.02-5.01   sec  1.66 GBytes  14.4 Gbits/sec   17   2.33 MBytes       
    [ 31]   4.02-5.01   sec  2.37 GBytes  20.5 Gbits/sec    8   1.72 MBytes       
    [ 33]   4.02-5.01   sec  2.33 GBytes  20.2 Gbits/sec    5   1022 KBytes       
    [ 35]   4.02-5.01   sec  1.31 GBytes  11.4 Gbits/sec   23   1.84 MBytes       
    [SUM]   4.00-5.00   sec  32.1 GBytes   276 Gbits/sec  463             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   5.00-6.00   sec  2.27 GBytes  19.5 Gbits/sec   40   2.32 MBytes       
    [  7]   5.00-6.00   sec  2.42 GBytes  20.8 Gbits/sec   27   2.25 MBytes       
    [  9]   5.00-6.00   sec  1.15 GBytes  9.88 Gbits/sec   12   1.47 MBytes       
    [ 11]   5.00-6.00   sec  1.35 GBytes  11.6 Gbits/sec   34   2.23 MBytes       
    [ 13]   5.00-6.00   sec  1.76 GBytes  15.2 Gbits/sec   40   1.77 MBytes       
    [ 15]   5.00-6.00   sec  2.05 GBytes  17.6 Gbits/sec   24   2.70 MBytes       
    [ 17]   5.00-6.00   sec  1.84 GBytes  15.8 Gbits/sec   46   1.79 MBytes       
    [ 19]   5.01-6.00   sec  2.21 GBytes  19.0 Gbits/sec   25   2.15 MBytes       
    [ 21]   5.01-6.00   sec  2.25 GBytes  19.4 Gbits/sec   40   1.83 MBytes       
    [ 23]   5.01-6.00   sec  2.17 GBytes  18.7 Gbits/sec    0   3.20 MBytes       
    [ 25]   5.01-6.00   sec  2.05 GBytes  17.7 Gbits/sec   11   2.20 MBytes       
    [ 27]   5.01-6.00   sec  2.46 GBytes  21.2 Gbits/sec    1   2.81 MBytes       
    [ 29]   5.01-6.00   sec  1.93 GBytes  16.7 Gbits/sec   32   1.56 MBytes       
    [ 31]   5.01-6.00   sec  2.38 GBytes  20.5 Gbits/sec    5   1.48 MBytes       
    [ 33]   5.01-6.00   sec  2.49 GBytes  21.5 Gbits/sec    8   1.68 MBytes       
    [ 35]   5.01-6.00   sec  1.32 GBytes  11.3 Gbits/sec   30   1.50 MBytes       
    [SUM]   5.00-6.00   sec  32.1 GBytes   276 Gbits/sec  375             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   6.00-7.00   sec  2.46 GBytes  21.1 Gbits/sec   18   2.30 MBytes       
    [  7]   6.00-7.00   sec  2.07 GBytes  17.7 Gbits/sec   17   2.41 MBytes       
    [  9]   6.00-7.00   sec  1.37 GBytes  11.8 Gbits/sec   31   1.95 MBytes       
    [ 11]   6.00-7.00   sec  1.76 GBytes  15.1 Gbits/sec   12   3.38 MBytes       
    [ 13]   6.00-7.00   sec  1.42 GBytes  12.1 Gbits/sec   32   1.55 MBytes       
    [ 15]   6.00-7.00   sec  1.69 GBytes  14.5 Gbits/sec    7   2.07 MBytes       
    [ 17]   6.00-7.01   sec  2.03 GBytes  17.3 Gbits/sec   32   1.87 MBytes       
    [ 19]   6.00-7.01   sec  2.21 GBytes  18.9 Gbits/sec   18   1.71 MBytes       
    [ 21]   6.00-7.01   sec  1.88 GBytes  16.1 Gbits/sec   45   1.39 MBytes       
    [ 23]   6.00-7.01   sec  2.03 GBytes  17.4 Gbits/sec    0   3.84 MBytes       
    [ 25]   6.00-7.01   sec  2.32 GBytes  19.9 Gbits/sec   12   2.51 MBytes       
    [ 27]   6.00-7.01   sec  2.49 GBytes  21.3 Gbits/sec    0   3.15 MBytes       
    [ 29]   6.00-7.01   sec  1.75 GBytes  14.9 Gbits/sec   10   2.69 MBytes       
    [ 31]   6.00-7.01   sec  2.18 GBytes  18.5 Gbits/sec    8    900 KBytes       
    [ 33]   6.00-7.01   sec  2.56 GBytes  21.8 Gbits/sec    4   1.08 MBytes       
    [ 35]   6.00-7.01   sec  1.45 GBytes  12.3 Gbits/sec   29   1.18 MBytes       
    [SUM]   6.00-7.00   sec  31.7 GBytes   272 Gbits/sec  275             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   7.00-8.00   sec  2.26 GBytes  19.4 Gbits/sec   48   1.97 MBytes       
    [  7]   7.00-8.00   sec  2.43 GBytes  20.9 Gbits/sec   40   1.86 MBytes       
    [  9]   7.00-8.00   sec  1.30 GBytes  11.2 Gbits/sec   33   1.83 MBytes       
    [ 11]   7.00-8.00   sec  1.70 GBytes  14.6 Gbits/sec   48   1.89 MBytes       
    [ 13]   7.00-8.00   sec  1.59 GBytes  13.7 Gbits/sec   56   1.95 MBytes       
    [ 15]   7.00-8.00   sec  1.54 GBytes  13.3 Gbits/sec   43   1.83 MBytes       
    [ 17]   7.01-8.00   sec  1.97 GBytes  16.9 Gbits/sec   54   2.12 MBytes       
    [ 19]   7.01-8.00   sec  2.19 GBytes  18.9 Gbits/sec   33   1.87 MBytes       
    [ 21]   7.01-8.00   sec  2.00 GBytes  17.2 Gbits/sec   66   2.73 MBytes       
    [ 23]   7.01-8.00   sec  2.29 GBytes  19.7 Gbits/sec    0   3.97 MBytes       
    [ 25]   7.01-8.00   sec  2.28 GBytes  19.7 Gbits/sec   30   2.65 MBytes       
    [ 27]   7.01-8.00   sec  2.36 GBytes  20.4 Gbits/sec    0   3.19 MBytes       
    [ 29]   7.01-8.00   sec  1.93 GBytes  16.6 Gbits/sec   51   2.14 MBytes       
    [ 31]   7.01-8.00   sec  2.31 GBytes  20.0 Gbits/sec    9    682 KBytes       
    [ 33]   7.01-8.00   sec  2.55 GBytes  22.1 Gbits/sec    8   1.45 MBytes       
    [ 35]   7.01-8.00   sec  1.17 GBytes  10.2 Gbits/sec   56   1.34 MBytes       
    [SUM]   7.00-8.00   sec  31.9 GBytes   274 Gbits/sec  575             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   8.00-9.00   sec  2.14 GBytes  18.4 Gbits/sec   21   2.50 MBytes       
    [  7]   8.00-9.00   sec  2.29 GBytes  19.6 Gbits/sec    7   2.29 MBytes       
    [  9]   8.00-9.01   sec  1.32 GBytes  11.3 Gbits/sec   23   1.39 MBytes       
    [ 11]   8.00-9.01   sec  1.74 GBytes  14.9 Gbits/sec    4   3.32 MBytes       
    [ 13]   8.00-9.01   sec  1.47 GBytes  12.6 Gbits/sec   17   1.19 MBytes       
    [ 15]   8.00-9.01   sec  1.73 GBytes  14.7 Gbits/sec   11   2.55 MBytes       
    [ 17]   8.00-9.01   sec  1.82 GBytes  15.5 Gbits/sec   17    996 KBytes       
    [ 19]   8.00-9.01   sec  2.28 GBytes  19.4 Gbits/sec   12   1.62 MBytes       
    [ 21]   8.00-9.01   sec  2.29 GBytes  19.5 Gbits/sec   29   1.24 MBytes       
    [ 23]   8.00-9.01   sec  2.17 GBytes  18.5 Gbits/sec    0   4.01 MBytes       
    [ 25]   8.00-9.01   sec  2.23 GBytes  19.0 Gbits/sec   13   2.59 MBytes       
    [ 27]   8.00-9.01   sec  2.58 GBytes  21.9 Gbits/sec    1   2.41 MBytes       
    [ 29]   8.00-9.02   sec  1.93 GBytes  16.4 Gbits/sec    8   2.76 MBytes       
    [ 31]   8.00-9.02   sec  2.19 GBytes  18.6 Gbits/sec    8   1.21 MBytes       
    [ 33]   8.00-9.02   sec  2.58 GBytes  21.9 Gbits/sec    6   1.12 MBytes       
    [ 35]   8.00-9.02   sec  1.26 GBytes  10.7 Gbits/sec   19   1.55 MBytes       
    [SUM]   8.00-9.00   sec  32.0 GBytes   275 Gbits/sec  196             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [  5]   9.00-10.00  sec  2.17 GBytes  18.6 Gbits/sec   31   1.84 MBytes       
    [  7]   9.00-10.00  sec  2.32 GBytes  19.9 Gbits/sec   20   2.01 MBytes       
    [  9]   9.01-10.00  sec  1.29 GBytes  11.1 Gbits/sec   67   1.62 MBytes       
    [ 11]   9.01-10.00  sec  1.69 GBytes  14.6 Gbits/sec   14   2.94 MBytes       
    [ 13]   9.01-10.00  sec  1.37 GBytes  11.8 Gbits/sec   29   1.54 MBytes       
    [ 15]   9.01-10.00  sec  1.80 GBytes  15.6 Gbits/sec   34   1.88 MBytes       
    [ 17]   9.01-10.00  sec  2.02 GBytes  17.5 Gbits/sec   48   1.48 MBytes       
    [ 19]   9.01-10.00  sec  2.19 GBytes  19.0 Gbits/sec   18   1.63 MBytes       
    [ 21]   9.01-10.00  sec  2.19 GBytes  19.0 Gbits/sec   39   1.43 MBytes       
    [ 23]   9.01-10.00  sec  2.19 GBytes  19.0 Gbits/sec    0   4.02 MBytes       
    [ 25]   9.01-10.00  sec  1.97 GBytes  17.1 Gbits/sec   26   2.18 MBytes       
    [ 27]   9.01-10.00  sec  2.54 GBytes  22.1 Gbits/sec    0   3.03 MBytes       
    [ 29]   9.02-10.00  sec  1.82 GBytes  15.8 Gbits/sec   40   2.18 MBytes       
    [ 31]   9.02-10.00  sec  2.14 GBytes  18.6 Gbits/sec    8   1.39 MBytes       
    [ 33]   9.02-10.00  sec  2.40 GBytes  20.9 Gbits/sec    6    944 KBytes       
    [ 35]   9.02-10.00  sec  1.39 GBytes  12.1 Gbits/sec   29   1.06 MBytes       
    [SUM]   9.00-10.00  sec  31.5 GBytes   270 Gbits/sec  409             
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-10.00  sec  22.6 GBytes  19.4 Gbits/sec  310             sender
    [  5]   0.00-10.01  sec  22.6 GBytes  19.4 Gbits/sec                  receiver
    [  7]   0.00-10.00  sec  23.3 GBytes  20.0 Gbits/sec  276             sender
    [  7]   0.00-10.01  sec  23.3 GBytes  20.0 Gbits/sec                  receiver
    [  9]   0.00-10.00  sec  13.9 GBytes  12.0 Gbits/sec  395             sender
    [  9]   0.00-10.01  sec  13.9 GBytes  12.0 Gbits/sec                  receiver
    [ 11]   0.00-10.00  sec  16.1 GBytes  13.8 Gbits/sec  283             sender
    [ 11]   0.00-10.01  sec  16.1 GBytes  13.8 Gbits/sec                  receiver
    [ 13]   0.00-10.00  sec  17.2 GBytes  14.7 Gbits/sec  440             sender
    [ 13]   0.00-10.01  sec  17.2 GBytes  14.7 Gbits/sec                  receiver
    [ 15]   0.00-10.00  sec  18.2 GBytes  15.6 Gbits/sec  285             sender
    [ 15]   0.00-10.01  sec  18.2 GBytes  15.6 Gbits/sec                  receiver
    [ 17]   0.00-10.00  sec  18.2 GBytes  15.6 Gbits/sec  436             sender
    [ 17]   0.00-10.01  sec  18.2 GBytes  15.6 Gbits/sec                  receiver
    [ 19]   0.00-10.00  sec  22.4 GBytes  19.2 Gbits/sec  338             sender
    [ 19]   0.00-10.01  sec  22.4 GBytes  19.2 Gbits/sec                  receiver
    [ 21]   0.00-10.00  sec  21.3 GBytes  18.3 Gbits/sec  499             sender
    [ 21]   0.00-10.01  sec  21.3 GBytes  18.3 Gbits/sec                  receiver
    [ 23]   0.00-10.00  sec  22.1 GBytes  19.0 Gbits/sec    2             sender
    [ 23]   0.00-10.01  sec  22.1 GBytes  19.0 Gbits/sec                  receiver
    [ 25]   0.00-10.00  sec  20.8 GBytes  17.9 Gbits/sec  274             sender
    [ 25]   0.00-10.01  sec  20.8 GBytes  17.9 Gbits/sec                  receiver
    [ 27]   0.00-10.00  sec  24.2 GBytes  20.7 Gbits/sec    3             sender
    [ 27]   0.00-10.01  sec  24.2 GBytes  20.7 Gbits/sec                  receiver
    [ 29]   0.00-10.00  sec  17.8 GBytes  15.3 Gbits/sec  286             sender
    [ 29]   0.00-10.01  sec  17.8 GBytes  15.3 Gbits/sec                  receiver
    [ 31]   0.00-10.00  sec  22.9 GBytes  19.6 Gbits/sec   86             sender
    [ 31]   0.00-10.01  sec  22.9 GBytes  19.6 Gbits/sec                  receiver
    [ 33]   0.00-10.00  sec  24.5 GBytes  21.1 Gbits/sec   70             sender
    [ 33]   0.00-10.01  sec  24.5 GBytes  21.1 Gbits/sec                  receiver
    [ 35]   0.00-10.00  sec  13.1 GBytes  11.2 Gbits/sec  532             sender
    [ 35]   0.00-10.01  sec  13.1 GBytes  11.2 Gbits/sec                  receiver
    [SUM]   0.00-10.00  sec   318 GBytes   273 Gbits/sec  4515             sender
    [SUM]   0.00-10.01  sec   318 GBytes   273 Gbits/sec                  receiver
    
    iperf Done.
    
RoCE Latency Test 

Return to the first server console.

  1. Start the ib_read_lat server side:

    First BM Server Console

    root@worker1:~# ib_read_lat -F -n 20000 -d mlx5_2
    
    ************************************
    * Waiting for client to connect... *
    ************************************
    
  2. Move to the second server console.
    Start the ib_read_lat client side:

Second BM Server Console
root@worker2:~# ib_read_lat -F -n 20000 -d mlx5_2 10.0.120.2
---------------------------------------------------------------------------------------
                    RDMA_Read Latency Test
 Dual-port       : OFF          Device         : mlx5_2
 Number of qps   : 1            Transport type : IB
 Connection type : RC           Using SRQ      : OFF
 PCIe relax order: ON
 ibv_wr* API     : ON
 TX depth        : 1
 Mtu             : 4096[B]
 Link type       : Ethernet
 GID index       : 3
 Outstand reads  : 16
 rdma_cm QPs     : OFF
 Data ex. method : Ethernet
---------------------------------------------------------------------------------------
 local address: LID 0000 QPN 0x0056 PSN 0xb55108 OUT 0x10 RKey 0x182e00 VAddr 0x00574c7c16f000
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:10
 remote address: LID 0000 QPN 0x0056 PSN 0xcfa0b7 OUT 0x10 RKey 0x182d00 VAddr 0x00630148ba9000
 GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:02
---------------------------------------------------------------------------------------
 #bytes #iterations    t_min[usec]    t_max[usec]  t_typical[usec]    t_avg[usec]    t_stdev[usec]   99% percentile[usec]   99.9% percentile[usec]
 2       20000          3.66           129.14       3.70               5.23             4.65            30.09                   38.56
---------------------------------------------------------------------------------------
RoCE Bandwidth Test

Return to the first server console.

  1. Start the ib_write_bw server side:

    First BM Server Console

    root@worker1:~# ib_write_bw -d mlx5_2 -F -a -q 4 --report_gbits
    
    ************************************
    * Waiting for client to connect... *
    ************************************
    
  2. Move to the second server console.
    Start the ib_write_bw client side:

    Second BM Server Console

    root@worker2:~# ib_write_bw -d mlx5_2 -F -a -q 4 10.0.120.2 --report_gbits
    ---------------------------------------------------------------------------------------
                        RDMA_Write BW Test
     Dual-port       : OFF          Device         : mlx5_2
     Number of qps   : 4            Transport type : IB
     Connection type : RC           Using SRQ      : OFF
     PCIe relax order: ON
     ibv_wr* API     : ON
     TX depth        : 128
     CQ Moderation   : 100
     Mtu             : 4096[B]
     Link type       : Ethernet
     GID index       : 3
     Max inline data : 0[B]
     rdma_cm QPs     : OFF
     Data ex. method : Ethernet
    ---------------------------------------------------------------------------------------
     local address: LID 0000 QPN 0x0052 PSN 0x5b54f8 RKey 0x182e00 VAddr 0x0070e928a01000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:10
     local address: LID 0000 QPN 0x0053 PSN 0xa16782 RKey 0x182e00 VAddr 0x0070e929201000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:10
     local address: LID 0000 QPN 0x0054 PSN 0x15fa4 RKey 0x182e00 VAddr 0x0070e929a01000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:10
     local address: LID 0000 QPN 0x0055 PSN 0xd9b023 RKey 0x182e00 VAddr 0x0070e92a201000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:10
     remote address: LID 0000 QPN 0x0052 PSN 0xefbd15 RKey 0x182d00 VAddr 0x007ff2aa1d7000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:02
     remote address: LID 0000 QPN 0x0053 PSN 0x17c9db RKey 0x182d00 VAddr 0x007ff2aa9d7000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:02
     remote address: LID 0000 QPN 0x0054 PSN 0xd13589 RKey 0x182d00 VAddr 0x007ff2ab1d7000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:02
     remote address: LID 0000 QPN 0x0055 PSN 0x9f80a4 RKey 0x182d00 VAddr 0x007ff2ab9d7000
     GID: 00:00:00:00:00:00:00:00:00:00:255:255:10:00:120:02
    ---------------------------------------------------------------------------------------
     #bytes     #iterations    BW peak[Gb/sec]    BW average[Gb/sec]   MsgRate[Mpps]
     2          20000           0.022036            0.016848            1.053021
     4          20000            0.25               0.25               7.739084
     8          20000            0.50               0.49               7.721015
     16         20000            0.99               0.99               7.728775
     32         20000            1.98               1.97               7.692634
     64         20000            3.96               3.96               7.728619
     128        20000            7.90               7.86               7.675307
     256        20000            15.81              15.77              7.702318
     512        20000            31.51              31.39              7.663545
     1024       20000            62.18              61.98              7.565755
     2048       20000            121.66             121.25             7.400641
     4096       20000            212.90             212.79             6.493855
     8192       20000            228.04             164.11             2.504087
     16384      20000            228.21             228.10             1.740301
     32768      20000            229.78             229.36             0.874950
     65536      20000            230.35             229.53             0.437792
     131072     20000            230.52             229.68             0.219042
     262144     20000            230.90             230.89             0.110097
     524288     20000            186.92             186.91             0.044564
     1048576    20000            179.16             179.16             0.021358
     2097152    20000            182.22             182.22             0.010861
     4194304    20000            181.55             181.52             0.005410
     8388608    20000            181.72             181.72             0.002708
    ---------------------------------------------------------------------------------------
    

Argus Service Verification

Here's a step-by-step procedure to check the DOCA Argus service on your NVIDIA BlueField DPU.

Ubuntu 24.04 was installed on the servers.

  1. Open the first worker server console.

    Jump Node Console

    $ ssh worker1
    

     

  2. Add the IOMMU configuration for the server's CPU architecture in the /etc/default/grub file:

    First BM Server Console

    root@worker1:~# vim /etc/default/grub
    ## x86 servers: add iommu.passthrough=1 intel_iommu=on in GRUB_CMDLINE_LINUX_DEFAULT parameter
    GRUB_CMDLINE_LINUX_DEFAULT="iommu.passthrough=1 intel_iommu=on"
    ## Arm servers: add iommu.passthrough=1 in GRUB_CMDLINE_LINUX_DEFAULT parameter
    GRUB_CMDLINE_LINUX_DEFAULT="iommu.passthrough=1"
    
  3. Update the GRUB configuration and reboot the server.

    Second BM Server Console

    root@worker1:~# update-grub
    root@worker1:~# reboot
    
  4.  For test we will run the sleep 100 command.

    Second BM Server Console

    root@worker1:~# sleep 100&
    
  5. Connect to the first DPU OOB over SSH and change the OOB ubuntu's user password(default password is ubuntu).

    DPU BM Server Console

    root@worker1:~# ssh ubuntu@10.0.110.211
    
  6. Run following command to see Argus log events about the sleep 100 process on the worker host.
    DPU BM Server Console

    ubuntu@dpu-node-mt2402xz0f7x-mt2402xz0f7x:~$ jq 'select(.activity_data.process_details.process_name == "sleep") | .activity_data' /var/log/doca_argus_activity_report/doca_argus_log_MT2402XZ0F7XMLNXS0D0F0.log -C | less -R
    
    {
      "name": "process_created",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      }
    }
    {
      "name": "thread_created",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      },
      "thread_details": {
        "thread_id": "2089",
        "thread_self_exec_id": "8",
        "thread_exit_state": "0"
      }
    }
    {
      "name": "new_file_mapped",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      },
      "process_memory_details": {
        "process_id": "2089",
        "virtual_memory_area_start_address": "101967991353344",
        "virtual_memory_area_end_address": "101967991369728",
        "memory_permissions": "r-x",
        "virtual_memory_area_file_structure": "18387451888125847296",
        "is_main_process_executable": "1",
        "file_path": "/usr/bin/sleep",
        "file_name": "sleep"
      },
      "process_attestation_details": {
        "elf_file_inode_number": "14287898",
        "elf_file_name": "sleep",
        "elf_file_path": "/usr/bin/sleep",
        "elf_file_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "elf_file_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "elf_file_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "elf_file_size_bytes": "35336",
        "elf_file_process_executable_state": "1",
        "elf_file_type": "ET_DYN + INTERP segment - Executable file"
      }
    }
    {
      "name": "foreign_binary_executed",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      },
      "process_memory_details": {
        "process_id": "2089",
        "virtual_memory_area_start_address": "101967991353344",
        "virtual_memory_area_end_address": "101967991369728",
        "memory_permissions": "r-x",
        "virtual_memory_area_file_structure": "18387451888125847296",
        "is_main_process_executable": "1",
        "file_path": "/usr/bin/sleep",
        "file_name": "sleep"
      },
      "process_attestation_details": {
        "elf_file_inode_number": "14287898",
        "elf_file_name": "sleep",
        "elf_file_path": "/usr/bin/sleep",
        "elf_file_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "elf_file_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "elf_file_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "elf_file_size_bytes": "35336",
        "elf_file_process_executable_state": "1",
        "elf_file_type": "ET_DYN + INTERP segment - Executable file"
      }
    }
    {
      "name": "new_file_mapped",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      },
      "process_memory_details": {
        "process_id": "2089",
        "virtual_memory_area_start_address": "135366862262272",
        "virtual_memory_area_end_address": "135366862438400",
        "memory_permissions": "r-x",
        "virtual_memory_area_file_structure": "18387451615680367360",
        "is_main_process_executable": "0",
        "file_path": "/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2",
        "file_name": "ld-linux-x86-64.so.2"
      },
      "process_attestation_details": {
        "elf_file_inode_number": "14321201",
        "elf_file_name": "ld-linux-x86-64.so.2",
        "elf_file_path": "/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2",
        "elf_file_hash_sha256": "4f961aefd1ecbc91b6de5980623aa389ca56e8bfb5f2a1d2a0b94b54b0fde894",
        "elf_file_hash_sha1": "d6878eaa6b21fc4eee9d5e441bbf2df102f850aa",
        "elf_file_hash_md5": "9d4fdd5d382e1212c9f793974ee0f44a",
        "elf_file_size_bytes": "236616",
        "elf_file_process_executable_state": "0",
        "elf_file_type": "ET_DYN - Shared object"
      }
    }
    {
      "name": "foreign_library_loaded",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      },
      "process_memory_details": {
        "process_id": "2089",
        "virtual_memory_area_start_address": "135366862262272",
        "virtual_memory_area_end_address": "135366862438400",
        "memory_permissions": "r-x",
        "virtual_memory_area_file_structure": "18387451615680367360",
        "is_main_process_executable": "0",
        "file_path": "/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2",
        "file_name": "ld-linux-x86-64.so.2"
      },
      "process_attestation_details": {
        "elf_file_inode_number": "14321201",
        "elf_file_name": "ld-linux-x86-64.so.2",
        "elf_file_path": "/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2",
        "elf_file_hash_sha256": "4f961aefd1ecbc91b6de5980623aa389ca56e8bfb5f2a1d2a0b94b54b0fde894",
        "elf_file_hash_sha1": "d6878eaa6b21fc4eee9d5e441bbf2df102f850aa",
        "elf_file_hash_md5": "9d4fdd5d382e1212c9f793974ee0f44a",
        "elf_file_size_bytes": "236616",
        "elf_file_process_executable_state": "0",
        "elf_file_type": "ET_DYN - Shared object"
      }
    }
    {
      "name": "new_file_mapped",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      },
      "process_memory_details": {
        "process_id": "2089",
        "virtual_memory_area_start_address": "135366858407936",
        "virtual_memory_area_end_address": "135366860013568",
        "memory_permissions": "r-x",
        "virtual_memory_area_file_structure": "18387451615680368896",
        "is_main_process_executable": "0",
        "file_path": "/usr/lib/x86_64-linux-gnu/libc.so.6",
        "file_name": "libc.so.6"
      },
      "process_attestation_details": {
        "elf_file_inode_number": "14321204",
        "elf_file_name": "libc.so.6",
        "elf_file_path": "/usr/lib/x86_64-linux-gnu/libc.so.6",
        "elf_file_hash_sha256": "de259f5276c4a991f78bf87225d6b40e56edbffe0dcbc0ffca36ec7fe30f3f77",
        "elf_file_hash_sha1": "5b02e178d9ded9b8c37a605e7a233687aa45f72f",
        "elf_file_hash_md5": "289071786eab0c1910da49b2b1bfd377",
        "elf_file_size_bytes": "2125328",
        "elf_file_process_executable_state": "0",
        "elf_file_type": "ET_DYN + INTERP segment - Executable file"
      }
    }
    {
      "name": "foreign_library_loaded",
      "process_details": {
        "process_id": "2089",
        "process_name": "sleep",
        "process_file_name": "sleep",
        "process_self_exec_id": "8",
        "process_parent_process_id": "2047",
        "process_cpu_clock_cycles": "2082047",
        "process_real_group_id": "1000",
        "process_real_user_id": "1000",
        "process_command_line_arguments": "sleep 100",
        "process_state": "RUNNING",
        "process_pid_namespace": "4026531836",
        "process_mount_points_namespace": "4026531841",
        "process_network_namespace": "4026531840",
        "process_hash_sha256": "4a193eb6f25eecf27bad523cb8a53ec4d40775eb498f44760b19bfc421cc90aa",
        "process_hash_sha1": "bab62b22ddb568b245ebc0132200a5e2ddd8577c",
        "process_hash_md5": "ecdb9cd1468ff7151564b334b73161f5",
        "process_file_size_bytes": "35336",
        "process_folder_path": "/usr/bin/",
        "process_creation_time_iso_8601_ns": "2025-09-15T13:58:35.624512074+00:00",
        "process_container_id": ""
      },
      "process_memory_details": {
        "process_id": "2089",
        "virtual_memory_area_start_address": "135366858407936",
        "virtual_memory_area_end_address": "135366860013568",
        "memory_permissions": "r-x",
        "virtual_memory_area_file_structure": "18387451615680368896",
        "is_main_process_executable": "0",
        "file_path": "/usr/lib/x86_64-linux-gnu/libc.so.6",
        "file_name": "libc.so.6"
      },
      "process_attestation_details": {
        "elf_file_inode_number": "14321204",
        "elf_file_name": "libc.so.6",
        "elf_file_path": "/usr/lib/x86_64-linux-gnu/libc.so.6",
        "elf_file_hash_sha256": "de259f5276c4a991f78bf87225d6b40e56edbffe0dcbc0ffca36ec7fe30f3f77",
        "elf_file_hash_sha1": "5b02e178d9ded9b8c37a605e7a233687aa45f72f",
        "elf_file_hash_md5": "289071786eab0c1910da49b2b1bfd377",
        "elf_file_size_bytes": "2125328",
        "elf_file_process_executable_state": "0",
        "elf_file_type": "ET_DYN + INTERP segment - Executable file"
      }
    }
    

Done.

Authors

BK.jpg

Boris Kovalev

Boris Kovalev has worked for the past several years as a Solutions Architect, focusing on NVIDIA Networking/Mellanox technology, and is responsible for complex machine learning, Big Data and advanced VMware-based cloud research and design. Boris previously spent more than 20 years as a senior consultant and solutions architect at multiple companies, most recently at VMware. He has written multiple reference designs covering VMware, machine learning, Kubernetes, and container solutions which are available at the NVIDIA Documents website.

AZ.jpg

Amir Zeidner

For several years, Amir has worked as a Solutions Architect primarily in the Telco space, leading advanced solutions to answer 5G, NFV, and SDN networking infrastructure requirements. Amir’s expertise in data plane acceleration technologies, such as Accelerated Switching and Network Processing (ASAP²) and DPDK, together with a deep knowledge of open-source cloud-based infrastructures, allows him to promote and deliver unique end-to-end NVIDIA Networking solutions throughout the Telco world.


NVIDIA, the NVIDIA logo, and BlueField are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries. Other company and product names may be trademarks of the respective companies with which they are associated.™
2025 NVIDIA Corporation. All rights reserved.©




Last updated: