Re: [dpdk-dev] [PATCH v3 5/6] app/testpmd: fix valid desc id check

2020-09-22 Thread Ferruh Yigit
On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote: From: Chengchang Tang The number of desc is a per queue configuration. But in the check function, nb_txd & nb_rxd are used to check whether the desc_id is valid. nb_txd & nb_rxd are the global configuration of number of desc. If the queue configurat

[dpdk-dev] [PATCH v3 5/6] app/testpmd: fix valid desc id check

2020-09-19 Thread Wei Hu (Xavier)
From: Chengchang Tang The number of desc is a per queue configuration. But in the check function, nb_txd & nb_rxd are used to check whether the desc_id is valid. nb_txd & nb_rxd are the global configuration of number of desc. If the queue configuration is changed by cmdline liks: "port config xx