Connect the DPU and the host using the Ethernet interface of the DPU

I have a Ubuntu system machine with a BlueField-2 DPU. The DPU has two Ethernet interfaces, and I have connected them using Ethernet cables. However, I noticed that both ports can only be used by the Host. I want one port to be used by the DPU and the other port to be used by the host. How can I achieve this?

wenhaoy@gpu3:/dev/mst$ sudo mst status -v
MST modules:

MST PCI module loaded
MST PCI configuration module loaded

PCI devices:

BlueField2(rev:1) /dev/mst/mt41686_pciconf0.1 84:00.1 mlx5_1 net-ens 14f1np1 1

BlueField2(rev:1) /dev/mst/mt41686_pciconf0 84:00.0 mlx5_0 net-ens


you can use DPU mode
detail please see:

in this mode, all the traffic will first arrive DPU side first, you can set flow in OVS in DPU side to
control which traffic go to HOST and which traffic go to DPU.

For further support, please contact Nvidia Networking support:

Thank you
Meng, Shi