File tree 1 file changed +3
-2
lines changed
testpmd-container-app/cnfapp/scripts
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ CORES_STR=$LCORES
58
58
IFS=' ,' read -ra CORES_ARR <<< " $CORES_STR"
59
59
CORES_LEN=${# CORES_ARR[@]}
60
60
if [[ $CORES_LEN -gt $TESTPMD_CPU_COUNT ]]; then
61
- echo " ERROR: Acutal cores (${CORES_LEN} ) is greater than configured cores (${TESTPMD_CPU_COUNT} )"
61
+ echo " ERROR: Actual cores (${CORES_LEN} ) is greater than configured cores (${TESTPMD_CPU_COUNT} )"
62
62
exit 1
63
63
fi
64
64
@@ -78,10 +78,11 @@ TXQ=${tx_queues:=1}
78
78
RXD=${rx_descriptors:= 1024}
79
79
TXD=${tx_descriptors:= 1024}
80
80
STATS_PERIOD=${stats_period:= 1}
81
+ NUM_MBUFS=${num_mbufs:= 187456}
81
82
82
83
RUN=" /usr/local/bin/example-cnf/testpmd-run"
83
84
CMD=" /usr/local/bin/example-cnf/testpmd"
84
- CMD=" ${CMD} -l $LCORES --in-memory $PCI --socket-mem ${SOCKET_MEM} -n ${MEMORY_CHANNELS} --proc-type auto --file-prefix pg"
85
+ 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"
85
86
CMD=" ${CMD} --"
86
87
CMD=" ${CMD} --disable-rss --nb-cores=${FORWARDING_CORES} --rxq=${RXQ} --txq=${TXQ} --rxd=${RXD} --txd=${TXD} "
87
88
CMD=" ${CMD} --auto-start ${ETH_PEER} --forward-mode=mac --stats-period ${STATS_PERIOD} "
You can’t perform that action at this time.
0 commit comments