For the BF3 sku 900-9D3B6-00CV-AA0, how to see the BF3 connectx7 ethernet ports from the host

Trying to run pktgen from host to bf3 to get its transmit receive throughput data using ovr offload.
Currently lspci | grep Mellanox does not show any Ethernet controller for the BF3.

I only see the Ethernet controller for BF2 but none for BF3, so cannot use pktgen from host to send/receive to the BF3.
lspci | grep Mellanox
03:00.0 DMA controller: Mellanox Technologies MT43244 BlueField-3 SoC Management Interface (rev 01)
04:00.0 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
04:00.1 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
04:00.2 DMA controller: Mellanox Technologies MT42822 BlueField-2 SoC Management Interface (rev 01)
linux-sysinfo-snapshot-3.7.6.tar.gz (56.1 KB)

It turned out the “mlxconfig query” shows NUM_OF_PF = 0. This needs to be changed to 2 so that the connectx7 ports will be visible to the host. It seems strange that fresh install of doca 2.2 using sdkmanager has NUM_OF_PF = 0. This would require user to change this manually if need to see the connectx7 from the host cpu. Attaching the mlxconfig_query from the bf3 for review, in case there are other settings that we should change.
mlxconfig_query_bf3.txt (31.1 KB)

Many thx to email correspondance, the way to reset the mlxconfig "issueing ‘mlxconfig -d /dev/mst/mt… r’ works and restores the NUM_OF_PF = 2, which allows the host to see the connectx7. Issue is resolved.