DOCA and DPDK on Linux Server. Implement network between SFs. Help me!

Hi, guys. I have a trouble with DOCA on linux server. There are 4 PFs in my linux server.

01:00.0 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
01:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
a1:00.0 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
a1:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]

And I created SFs for each PF and when I see the status by dpdk-devbind.py …

0000:01:00.0 ‘MT2892 Family [ConnectX-6 Dx] 101d’ numa_node=0 if=eno12399np0,en1f0pf0sf11 drv=mlx5_core unused=
0000:01:00.1 ‘MT2892 Family [ConnectX-6 Dx] 101d’ numa_node=0 if=en1f1pf1sf12,eno12409np1 drv=mlx5_core unused=
0000:a1:00.0 ‘MT2892 Family [ConnectX-6 Dx] 101d’ numa_node=1 if=enp161s0f0np0,ena1f0pf0sf13 drv=mlx5_core unused=
0000:a1:00.1 ‘MT2892 Family [ConnectX-6 Dx] 101d’ numa_node=1 if=enp161s0f1np1,ena1f1pf1sf14 drv=mlx5_core unused=

Yeah. And I created two ubuntu VMs on my server and attached to SF0 and SF2. And I want to implement network between two VMs by DOCA.
So how can I do this? May I have to deploy doca flow code on SFs or PFs? Must on SF or PF is also ok?
I think that first of all, deploy code on PFs and then create SFs, then test ping on VMs. How do you think about it?

Hi,

The DOCA code needs to be deployed on the SFs, not the PFs.

For networking (ping/connectivity) to work, make sure the SFs are in the same network segment or properly bridged (you may use OVS to bridge SF representors if required for host-side access).

I hope this helps.

Best Regards,

Jonathan.