Hello,
I have a ubuntu computer installed one BlueFiled2 smartnic.I wrote my application using the DOCA DMA library function in DOCA, and before today, the program worked fine (copying data between Host and DPU).
After I reboot the smartnic,the application return ERROR.
I find that the reason is that the library function doca_devinfo_list_create(&dev_list, &nb_devs) returns nb_devs equal to 0.
The lspci results on Bluefiled2 are as follows:
ubuntu@localhost:~$ lspci
00:00.0 PCI bridge: Mellanox Technologies MT42822 BlueField-2 SoC Crypto enabled (rev 01)
01:00.0 PCI bridge: Mellanox Technologies MT42822 Family [BlueField-2 SoC PCIe Bridge] (rev 01)
02:00.0 PCI bridge: Mellanox Technologies MT42822 Family [BlueField-2 SoC PCIe Bridge] (rev 01)
03:00.0 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
03:00.1 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
The results for lspci on Host are as follows:
86:00.0 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
86:00.1 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
86:00.2 Non-Volatile memory controller: Mellanox Technologies NVMe SNAP Controller
86:00.3 DMA controller: Mellanox Technologies MT42822 BlueField-2 SoC Management Interface (rev 01)
87:00.0 Non-Volatile memory controller: Mellanox Technologies NVMe SNAP Controller
88:00.0 Non-Volatile memory controller: Mellanox Technologies NVMe SNAP Controller