Obtaining and building Linux kernel source for DOCA 1.0

No, the BF-2 specific patches are not yet upstreamed. We did not mean that they are. What we meant was that we take the CentOS/Debian/Fedora distros and install BF-2-patched kernel and roll it all up in the installation image. For the CentOS/Debian/Fedora distros Nvidia builds the kernel and the image. For the Ubuntu distro, Canonical does it.

Nvidia can provide the kernel source used in the CentOS/Debian/Fedora installation images for the BF-2.

As for NVMe-oF target mode, do you mean using the BF-2 as a controller or the (smart)NIC and the host as the controller? For the former, it is nominally part of DOCA, but there are no new APIs for it. The procedure to configure the BF2 as an NVMe-oF target controller under DOCA is the same as without DOCA. To use the BF-2 as an NVMe-oF target requires that the BF-2 controller card be used. This card cannot be plugged in an x86 server and be an NVMe-oF target controller. The BF2 needs to be the root complex as it would be in a JBOF.

But if the host is the NVMe-oF target controller and the BF-2 is just a (smart)NIC, then whether the BF2 is DOCA-enabled is irrelevant.