Re: [PATCH v2] examples/vhost: fix floating point exception when no VMDq

2022-06-01 Thread Maxime Coquelin
On 5/18/22 15:36, Yuan Wang wrote: If the VMDQ limits is 0, a divide-by-zero error occurs. This patch replaces throwing a floating point exception with a normal error message. Fixes: d19533e86f ("examples/vhost: copy old vhost example") Cc: sta...@dpdk.org Signed-off-by: Yuan Wang --- exa

RE: [PATCH v2] examples/vhost: fix floating point exception when no VMDq

2022-05-29 Thread Xia, Chenbo
> -Original Message- > From: Wang, YuanX > Sent: Wednesday, May 18, 2022 9:37 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; He, Xingguang > ; Wang, YuanX ; > sta...@dpdk.org > Subject: [PATCH v2] examples/vhost: fix floating

[PATCH v2] examples/vhost: fix floating point exception when no VMDq

2022-05-17 Thread Yuan Wang
If the VMDQ limits is 0, a divide-by-zero error occurs. This patch replaces throwing a floating point exception with a normal error message. Fixes: d19533e86f ("examples/vhost: copy old vhost example") Cc: sta...@dpdk.org Signed-off-by: Yuan Wang --- examples/vhost/main.c | 4 1 file chang