NVIDIA BlueField-3 SNAP for NVMe and Virtio-blk v4.4.0
NVIDIA BlueField-3 SNAP for NVMe and Virtio-blk v4.4.0

SNAP Environment Variables

Name

Description

Default

SNAP_RDMA_ZCOPY_ENABLE

Enable/disable RDMA zero-copy transport type.

For more info refer to section "Zero Copy (SNAP-direct)".

1 (enabled)

NVME_BDEV_RESET_ENABLE

It is recommended that namespaces discovered from the same remote target are not shared by different PCIe emulations. If it is desirable to do that, users should set the variable NVME_BDEV_RESET_ENABLE to 0.

Warning

By doing so, the user must ensure that SPDK bdev always completes IOs (either with success or failure) in a reasonable time. Otherwise, the system may stall until all IOs return.

1 (enabled)

VBLK_RECOVERY_SHM

Enable/disable virtio-blk recovery using shared memory files. This allows recovering without using --force_in_order.

1 (enabled)

To change the SNAP environment variables add the following to the doca_snap.yaml and continue from section "Adjusting YAML Configuration".

Copy
Copied!
            

env: - name: VARIABLE_NAME value: "VALUE"

For example:

Copy
Copied!
            

env: - name: SNAP_RDMA_ZCOPY_ENABLE value: "1"

To change the SNAP environment variables:

  1. Add/modify the configuration under scripts/set_environment_variables.sh.

  2. Rerun:

    Copy
    Copied!
                

    source scripts/set_environment_variables.sh

  3. Rerun SNAP.

© Copyright 2024, NVIDIA. Last updated on May 28, 2024.