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

2018-09-07 Thread Gavin Hu (Arm Technology China)
> maxime.coque...@redhat.com; Jiayu Hu > Subject: [dpdk-dev] [PATCH] vhost: fix corner case for split ring enqueue > operation > > When perform enqueue operations on the split ring, if the reserved buffer > length from the descriptor table execeeds 65535, the returned length by >

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

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