RE: [PATCH v2] app/testpmd: change a magic number to macro

2022-04-01 Thread Zhang, Yuying
Hi Mingxia, LGTM. > -Original Message- > From: Liu, Mingxia > Sent: Thursday, March 31, 2022 10:34 AM > To: dev@dpdk.org > Cc: Li, Xiaoyun ; Singh, Aman Deep > ; Zhang, Yuying ; > Liu, Mingxia ; sta...@dpdk.org > Subject: [PATCH v2] app/testpmd: change a magic n

[PATCH v2] app/testpmd: change a magic number to macro

2022-03-30 Thread Mingxia Liu
From: mingxial Add macro MIN_TOTAL_NUM_MBUFS (1024) to indicate what the value of total-num-mbufs should bigger than. Fixes: c87988187fdb ("app/testpmd: add --total-num-mbufs option") Cc: sta...@dpdk.org Signed-off-by: mingxial --- app/test-pmd/parameters.c | 5 +++-- app/test-pmd/testpmd.h