Re: [dpdk-dev] [PATCH v3 3/6] app/testpmd: remove restriction on txpkts set

2020-09-24 Thread Ferruh Yigit
On 9/24/2020 7:08 AM, Chengchang Tang wrote: On 2020/9/24 0:59, Ferruh Yigit wrote: On 9/23/2020 12:57 PM, Wei Hu (Xavier) wrote: Hi, Ferruh Yigit On 2020/9/23 11:14, Wei Hu (Xavier) wrote: Hi, Ferruh Yigit On 2020/9/22 22:51, Ferruh Yigit wrote: On 9/19/2020 11:47 AM, Wei Hu (Xavier) wro

Re: [dpdk-dev] [PATCH v3 3/6] app/testpmd: remove restriction on txpkts set

2020-09-23 Thread Chengchang Tang
On 2020/9/24 0:59, Ferruh Yigit wrote: > On 9/23/2020 12:57 PM, Wei Hu (Xavier) wrote: >> Hi, Ferruh Yigit >> >> On 2020/9/23 11:14, Wei Hu (Xavier) wrote: >>> Hi, Ferruh Yigit >>> >>> On 2020/9/22 22:51, Ferruh Yigit wrote: On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote: > From: Chengcha

Re: [dpdk-dev] [PATCH v3 3/6] app/testpmd: remove restriction on txpkts set

2020-09-23 Thread Ferruh Yigit
On 9/23/2020 12:57 PM, Wei Hu (Xavier) wrote: Hi, Ferruh Yigit On 2020/9/23 11:14, Wei Hu (Xavier) wrote: Hi, Ferruh Yigit On 2020/9/22 22:51, Ferruh Yigit wrote: On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote: From: Chengchang Tang Currently, if nb_txd is not set, the txpkts is not allowed

Re: [dpdk-dev] [PATCH v3 3/6] app/testpmd: remove restriction on txpkts set

2020-09-23 Thread Wei Hu (Xavier)
Hi, Ferruh Yigit On 2020/9/23 11:14, Wei Hu (Xavier) wrote: Hi, Ferruh Yigit On 2020/9/22 22:51, Ferruh Yigit wrote: On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote: From: Chengchang Tang Currently, if nb_txd is not set, the txpkts is not allowed to be set because the nb_txd is used to avoid t

Re: [dpdk-dev] [PATCH v3 3/6] app/testpmd: remove restriction on txpkts set

2020-09-22 Thread Wei Hu (Xavier)
Hi, Ferruh Yigit On 2020/9/22 22:51, Ferruh Yigit wrote: On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote: From: Chengchang Tang Currently, if nb_txd is not set, the txpkts is not allowed to be set because the nb_txd is used to avoid the numer of segments exceed the Tx ring size and the default v

Re: [dpdk-dev] [PATCH v3 3/6] app/testpmd: remove restriction on txpkts set

2020-09-22 Thread Ferruh Yigit
On 9/19/2020 11:47 AM, Wei Hu (Xavier) wrote: From: Chengchang Tang Currently, if nb_txd is not set, the txpkts is not allowed to be set because the nb_txd is used to avoid the numer of segments exceed the Tx ring size and the default value of nb_txd is 0. And there is a bug that nb_txd is the

[dpdk-dev] [PATCH v3 3/6] app/testpmd: remove restriction on txpkts set

2020-09-19 Thread Wei Hu (Xavier)
From: Chengchang Tang Currently, if nb_txd is not set, the txpkts is not allowed to be set because the nb_txd is used to avoid the numer of segments exceed the Tx ring size and the default value of nb_txd is 0. And there is a bug that nb_txd is the global configuration for Tx ring size and the ri