RE: [PATCH v2] vhost: use dedicated variable for vhost message result code

2022-09-29 Thread Pei, Andy
Hi Chenbo, Thanks for your efforts. > -Original Message- > From: Xia, Chenbo > Sent: Thursday, September 29, 2022 4:38 PM > To: Pei, Andy ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v2] vhost: use dedicated variable for vhost mes

RE: [PATCH v2] vhost: use dedicated variable for vhost message result code

2022-09-29 Thread Xia, Chenbo
> -Original Message- > From: Xia, Chenbo > Sent: Monday, September 26, 2022 2:58 PM > To: Pei, Andy ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v2] vhost: use dedicated variable for vhost message > result code > > > -Original Me

RE: [PATCH v2] vhost: use dedicated variable for vhost message result code

2022-09-25 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Friday, September 23, 2022 10:33 AM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com > Subject: [PATCH v2] vhost: use dedicated variable for vhost message result > code > > Currently in func

[PATCH v2] vhost: use dedicated variable for vhost message result code

2022-09-22 Thread Andy Pei
Currently in function vhost_user_msg_handler, variable ret is used to store both vhost msg result code and function call return value. After this patch, variable ret is used only to store function call return value, a new dedicated variable msg_result is used to store vhost msg result. This can imp