Re: [dpdk-dev] [PATCH v2] vhost: fix corner case for enqueue operation

2018-09-27 Thread Maxime Coquelin
On 09/27/2018 08:05 PM, Kevin Traynor wrote: On 09/27/2018 01:37 PM, Maxime Coquelin wrote: On 09/27/2018 02:24 PM, Maxime Coquelin wrote: On 09/17/2018 05:54 AM, Jiayu Hu wrote: When perform enqueue operations on the split and packed ring, s/perform/performing/ s/ring/rings/ if the r

Re: [dpdk-dev] [PATCH v2] vhost: fix corner case for enqueue operation

2018-09-27 Thread Kevin Traynor
On 09/27/2018 01:37 PM, Maxime Coquelin wrote: > > > On 09/27/2018 02:24 PM, Maxime Coquelin wrote: >> >> >> On 09/17/2018 05:54 AM, Jiayu Hu wrote: >>> When perform enqueue operations on the split and packed ring, >> s/perform/performing/ >> s/ring/rings/ >>> if the reserved buffer length from t

Re: [dpdk-dev] [PATCH v2] vhost: fix corner case for enqueue operation

2018-09-27 Thread Maxime Coquelin
On 09/27/2018 02:24 PM, Maxime Coquelin wrote: On 09/17/2018 05:54 AM, Jiayu Hu wrote: When perform enqueue operations on the split and packed ring, s/perform/performing/ s/ring/rings/ if the reserved buffer length from the descriptor table execeeds 65535, the returned length by fill_vec_

Re: [dpdk-dev] [PATCH v2] vhost: fix corner case for enqueue operation

2018-09-27 Thread Maxime Coquelin
On 09/17/2018 05:54 AM, Jiayu Hu wrote: When perform enqueue operations on the split and packed ring, s/perform/performing/ s/ring/rings/ if the reserved buffer length from the descriptor table execeeds 65535, the returned length by fill_vec_buf_split/_packed() is overflowed. This patch is t

[dpdk-dev] [PATCH v2] vhost: fix corner case for enqueue operation

2018-09-16 Thread Jiayu Hu
When perform enqueue operations on the split and packed ring, if the reserved buffer length from the descriptor table execeeds 65535, the returned length by fill_vec_buf_split/_packed() is overflowed. This patch is to avoid this corner case. Fixes: f689586b ("vhost: shadow used ring update") Fixes