[dpdk-dev] [PATCH] vhost: fix index overflow issue in async vhost

2021-07-08 Thread Cheng Jiang
We introduced some new indexes in async vhost. If we don't pay attention to the management of these indexes, they will eventually overflow and lead to errors. This patch is to check and keep these indexes within a reasonable range. Fixes: 873e8dad6f49 ("vhost: support packed ring in async datapath

Re: [dpdk-dev] [PATCH] vhost: fix index overflow issue in async vhost

2021-07-15 Thread Xia, Chenbo
Hi Cheng, > -Original Message- > From: Jiang, Cheng1 > Sent: Thursday, July 8, 2021 6:45 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Jiang, Cheng1 ; > sta...@dpdk.org > Subject: [PATCH] vhost: fix index overflow issue in async vhost

Re: [dpdk-dev] [PATCH] vhost: fix index overflow issue in async vhost

2021-07-15 Thread Jiang, Cheng1
Hi Chenbo, > -Original Message- > From: Xia, Chenbo > Sent: Thursday, July 15, 2021 4:37 PM > To: Jiang, Cheng1 ; maxime.coque...@redhat.com > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; sta...@dpdk.org > Subject: RE: [PATCH] vhost: fix index overflow issue in async vhost > > Hi Chen