#! /bin/sh
#
# Auto-generated TM10 launcher for the forward path.
# Generated from notebook runtime CPU/NIC discovery.
#
SPEED=$1
CFG_FILE=$2
INTERVAL=$3

export DPDK="/home/ubuntu/DPDK/v22.11.10/dpdk-stable-22.11.10"
export TM10="/home/ubuntu/DPDK/v22.11.10/dpdk-stable-22.11.10/DaaS/PoCPhase3/tm10"
export TM10_SRCMAP="/home/ubuntu/DPDK/v22.11.10/dpdk-stable-22.11.10/DaaS/PoCPhase3/tm10/cfg/tm10/src_vlan_map.cfg"

${DPDK}/build/DaaS/PoCPhase3/dpdk-tm10 -l 24,25,26,27 -a 07:00.0 -a 08:00.0 -n 3 --file-prefix rte3 -- --speed "$SPEED" --pfc "0,0,1,25,26,27,${TM10}/cfg/tm10/intf.cfg,${TM10}/cfg/tm10/$CFG_FILE" --stp "$INTERVAL"
