diff --git a/testpmd-container-app/cnfapp/scripts/testpmd-wrapper b/testpmd-container-app/cnfapp/scripts/testpmd-wrapper index 8b48a65..27aed3b 100644 --- a/testpmd-container-app/cnfapp/scripts/testpmd-wrapper +++ b/testpmd-container-app/cnfapp/scripts/testpmd-wrapper @@ -58,7 +58,7 @@ CORES_STR=$LCORES IFS=',' read -ra CORES_ARR <<< "$CORES_STR" CORES_LEN=${#CORES_ARR[@]} if [[ $CORES_LEN -gt $TESTPMD_CPU_COUNT ]]; then - echo "ERROR: Acutal cores (${CORES_LEN}) is greater than configured cores (${TESTPMD_CPU_COUNT})" + echo "ERROR: Actual cores (${CORES_LEN}) is greater than configured cores (${TESTPMD_CPU_COUNT})" exit 1 fi @@ -78,10 +78,11 @@ TXQ=${tx_queues:=1} RXD=${rx_descriptors:=1024} TXD=${tx_descriptors:=1024} STATS_PERIOD=${stats_period:=1} +NUM_MBUFS=${num_mbufs:=187456} RUN="/usr/local/bin/example-cnf/testpmd-run" CMD="/usr/local/bin/example-cnf/testpmd" -CMD="${CMD} -l $LCORES --in-memory $PCI --socket-mem ${SOCKET_MEM} -n ${MEMORY_CHANNELS} --proc-type auto --file-prefix pg" +CMD="${CMD} -l $LCORES --in-memory $PCI --total-num-mbufs ${NUM_MBUFS} --socket-mem ${SOCKET_MEM} -n ${MEMORY_CHANNELS} --proc-type auto --file-prefix pg" CMD="${CMD} --" CMD="${CMD} --disable-rss --nb-cores=${FORWARDING_CORES} --rxq=${RXQ} --txq=${TXQ} --rxd=${RXD} --txd=${TXD}" CMD="${CMD} --auto-start ${ETH_PEER} --forward-mode=mac --stats-period ${STATS_PERIOD}"