No conneciton between host and dpu in embedded mode

Hi all.
There’s no network connection between host and dpu after installation in embedded mode.
Here’s my conguration.

On host:
pci@0000:3b:00.0 ens1f0 network MT42822 BlueField-2 integrated ConnectX-6 Dx network controller
pci@0000:3b:00.1 ens1f1 network MT42822 BlueField-2 integrated ConnectX-6 Dx network controller

$ ifconfig ens1f0
ens1f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.10.1 netmask 255.255.255.0 broadcast 172.16.10.255
inet6 fe80::bace:f6ff:feaf:e842 prefixlen 64 scopeid 0x20
ether b8:ce:f6:af:e8:42 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 99 bytes 9950 (9.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

On dpu
pci@0000:03:00.0 enp3s0f0s0 network MT42822 BlueField-2 integrated ConnectX-6 Dx network controller
pci@0000:03:00.1 pf1hpf network MT42822 BlueField-2 integrated ConnectX-6 Dx network controller
virtio@1 tmfifo_net0 network Ethernet interface
ovsbr2 network Ethernet interface
ovsbr1 network Ethernet interface
pci@0000:03:00.1 p1 network Ethernet interface
ovs-system network Ethernet interface
pci@0000:03:00.1 en3f1pf1sf0 network Ethernet interface
pci@0000:03:00.0 pf0hpf network Ethernet interface
pci@0000:03:00.1 enp3s0f1s0 network Ethernet interface
pci@0000:03:00.0 p0 network Ethernet interface
oob_net0 network Ethernet interface

$ sudo ovs-vsctl show
3638c123-b7f2-4676-8dca-5b61edb5a59f
Bridge ovsbr2
Port p1
Interface p1
Port pf1hpf
Interface pf1hpf
Port en3f1pf1sf0
Interface en3f1pf1sf0
Port ovsbr2
Interface ovsbr2
type: internal
Bridge ovsbr1
Port p0
Interface p0
Port pf0hpf
Interface pf0hpf
Port ovsbr1
Interface ovsbr1
type: internal
Port en3f0pf0sf0
Interface en3f0pf0sf0
ovs_version: “2.15.1”
ubuntu@localhost:~$

ubuntu@localhost:~$ ifconfig enp3s0f0s0
enp3s0f0s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.10.2 netmask 255.255.255.0 broadcast 172.16.10.255
ether 02:15:78:75:b8:c9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 516 (516.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ubuntu@localhost:~$

Could someon help?
Thanks.

Try assign ip to interfaces?
According to this note Configuring NVIDIA BlueField2 SmartNIC | Better Tomorrow with Computer Science

Thanks for reply.
IP has already been assigned to ens1f0(172.16.10.1, host side) and enp3s0f0s0(172.16.10.2 dpu side)

Hey there are the physical interfaces up?

1 Like

That’s the solution.