Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Maxime Coquelin
On 2/3/21 5:27 PM, Maxime Coquelin wrote: > > > On 2/2/21 7:17 AM, Cheng Jiang wrote: >> Remove async inflight packet counter since there is no need to keep >> tracking it. Increase MAX_ENQUEUED_SIZE to prevent packet segment number >> tracking ring from being exhausted. >> >> Fixes: a68ba8e0a

Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Maxime Coquelin
On 2/2/21 7:17 AM, Cheng Jiang wrote: > Remove async inflight packet counter since there is no need to keep > tracking it. Increase MAX_ENQUEUED_SIZE to prevent packet segment number > tracking ring from being exhausted. > > Fixes: a68ba8e0a6b6 ("examples/vhost: refactor vhost data path") > >

Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Jiang, Cheng1
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, February 3, 2021 10:21 PM > To: Jiang, Cheng1 ; Xia, Chenbo > > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Wang, Yinan > Subject: Re: [PATCH v3] examples/vhost: remove async inflight packet > counter > > > > On 2/3

Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Maxime Coquelin
On 2/3/21 2:42 PM, Jiang, Cheng1 wrote: > > >> -Original Message- >> From: Maxime Coquelin >> Sent: Wednesday, February 3, 2021 8:55 PM >> To: Jiang, Cheng1 ; Xia, Chenbo >> >> Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX >> ; Wang, Yinan >> Subject: Re: [PATCH v3] examples/vhost: re

Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Jiang, Cheng1
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, February 3, 2021 8:55 PM > To: Jiang, Cheng1 ; Xia, Chenbo > > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Wang, Yinan > Subject: Re: [PATCH v3] examples/vhost: remove async inflight packet > counter > > > > On 2/3/

Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Maxime Coquelin
On 2/3/21 1:11 PM, Jiang, Cheng1 wrote: > Hi, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Wednesday, February 3, 2021 5:52 PM >> To: Jiang, Cheng1 ; Xia, Chenbo >> >> Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX >> ; Wang, Yinan >> Subject: Re: [PATCH v3] examples/vhost:

Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Jiang, Cheng1
Hi, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, February 3, 2021 5:52 PM > To: Jiang, Cheng1 ; Xia, Chenbo > > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Wang, Yinan > Subject: Re: [PATCH v3] examples/vhost: remove async inflight packet > counter > > > > On 2

Re: [dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-03 Thread Maxime Coquelin
On 2/2/21 7:17 AM, Cheng Jiang wrote: > Remove async inflight packet counter since there is no need to keep > tracking it. Increase MAX_ENQUEUED_SIZE to prevent packet segment number > tracking ring from being exhausted. Is that an optimization or a fix? If the former, let's move it to v21.05.

[dpdk-dev] [PATCH v3] examples/vhost: remove async inflight packet counter

2021-02-01 Thread Cheng Jiang
Remove async inflight packet counter since there is no need to keep tracking it. Increase MAX_ENQUEUED_SIZE to prevent packet segment number tracking ring from being exhausted. Fixes: a68ba8e0a6b6 ("examples/vhost: refactor vhost data path") Signed-off-by: Cheng Jiang --- v3: fixed fixes commit