NVIDIA DOCA Overview

1.0

This is an overview of the structure of NVIDIA DOCA documentation. It walks you through DOCA’s developer zone portal which contains all the information about the DOCA toolkit from NVIDIA, providing all you need to develop NVIDIA® BlueField®-accelerated applications and the drivers for the host.

The NVIDIA DOCA™ Framework enables rapidly creating and managing applications and services on top of the BlueField networking platform, leveraging industry-standard APIs. With DOCA, developers can deliver breakthrough networking, security, and storage performance by harnessing the power of NVIDIA’s BlueField data-processing units (DPUs) and SuperNICs. Installing DOCA on your host provides all the necessary drivers and tools to manage NVIDIA® BlueField® and NVIDIA® ConnectX® devices.

image-2024-3-18_11-7-56-1-version-1-modificationdate-1710752876623-api-v2.png

DOCA Framework includes the DOCA-Host package and the BlueField Software Bundle for BlueField Arm:

  • BlueField Software Bundle (BF-Bundle) is the software package installed on the BlueField Arm cores

  • DOCA-Host is the software package installed on the host server which includes different DOCA installation profiles

The BlueField Software Bundle includes:

  • The DOCA runtime drivers and libs installed on top of the BlueField Platform

  • The OS installed on the BlueField Platform

  • The BlueField Platform Software (i.e., firmware and UEFI bootloader)

DOCA provides all the required libraries and drivers for hosts that include NVIDIA Networking platforms (i.e., BlueField and ConnectX) with a dedicated DOCA-Host package installation.

image-2024-3-18_11-20-56-1-version-2-modificationdate-1711015642223-api-v2.png

DOCA contains a runtime and development environment, including libraries and drivers for device management and programmability, for the host and as part of a BlueField Platform Software.

image-2024-5-5_13-30-16-version-1-modificationdate-1714905015383-api-v2.png

DOCA is the software infrastructure for BlueField’s main hardware entities:

doca-as-software-framework-version-1-modificationdate-1707498875940-api-v2.png

Installation instructions for both host and BlueField image can be found in the NVIDIA DOCA Installation Guide for Linux.

Whether DOCA has been installed on the host or on the BlueField networking platform, one can find the different DOCA components under the /opt/mellanox/doca directory. These include the traditional SDK-related components (libraries, header files, etc.) as well as the DOCA samples, applications, tools and more, as described in this document.

The DOCA SDK is built around the different DOCA libraries designed to leverage the capabilities of BlueField. Under the Programming Guide section, one can find a detailed description of each DOCA library, its goals, and API. These guides document DOCA’s API, aiming to help develop DOCA-based programs.

The API References section holds the Doxygen-generated documentation of DOCA’s official API.

DOCA programming guides provide the full picture of DOCA libraries and their APIs. Each guide includes an introduction, architecture, API overview, and other library-specific information.

Each library’s programming guide includes code snippets for achieving basic DOCA-based tasks. It is recommended to review these samples while going over the programming guide of the relevant DOCA library to learn about its API. The samples provide an implementation example of a single feature of a given DOCA library.

For a more detailed reference of full DOCA-based programs that make use of multiple DOCA libraries, please refer to the Reference Applications.

Applications are a higher-level reference code than the samples and demonstrate how a full DOCA-based program can be built. In addition to the supplied source code and compilation definitions, the applications are also shipped in their compiled binary form. This is to allow users an out-of-the-box interaction with DOCA-based programs without the hassle of a developer-oriented compilation process.

Many DOCA applications combine the functionality of more than one DOCA library and offer an example implementation for common scenarios of interest to users such as application recognition according to incoming/outgoing traffic, scanning files using the hardware RegEx acceleration, and much more.

For more information about DOCA applications, refer to DOCA Applications.

Some of the DOCA libraries are shipped alongside helper tools for both runtime and development. These tools are often an extension to the library’s own API and bridge the gap between the library’s expected input format and the input available to the users.

For more information about DOCA tools, refer to DOCA Tools.

DOCA services are containerized DOCA-based programs that provide an end-to-end solution for a given use case. DOCA services are accessible as part of NVIDIA’s container catalog (NGC) from which they can be easily deployed directly to BlueField, and sometimes also to the host.

For more information about container-based deployment to the BlueField Platform, refer to the NVIDIA BlueField Container Deployment Guide.

For more information about DOCA services, refer to the DOCA Services.

Info

For questions, comments, and feedback, please contact us at DOCA-Feedback@exchange.nvidia.com.

© Copyright 2024, NVIDIA. Last updated on Feb 9, 2024.