# not executable file
# contains environment variables for /etc/systemd/system/mlnx_snap.service

# run on 4 cores out of 8 on SNIC
CPU_MASK=0xf0

# extra args like -r 0.0.0.0 to start RPC listener on
EXTRA_ARGS="-u --mem-size 1200"
# --mem-size - set memory limit for SPDK application, 
# 1.2G is minimum size for optimal work of mlnx_snap.
# W/o this option, single SPDK based app consumes all available huge pages.

NVME_SNAP_LOGFILE_PATH=stderr
NVME_SNAP_ZCOPY=1
SNAP_DMA_Q_MODE=0
#RDMAV_FORK_SAFE=1
#RDMAV_HUGEPAGES_SAFE=1
SPDK_RPC_INIT_CONF=/etc/mlnx_snap/spdk_rpc_init.conf
SNAP_RPC_INIT_CONF=/etc/mlnx_snap/snap_rpc_init.conf
MLNX_SNAP_STORAGE_ADMIN_PATH=/opt/mellanox/mlnx_snap/exec_files/storage_admin.py
MLNX_SNAP_NETWORK_ADMIN_PATH=/opt/mellanox/mlnx_snap/exec_files/network_admin.py
