RE: [PATCH] vhost: use another variable to store vhost msg result code

2022-09-22 Thread Pei, Andy
> Subject: RE: [PATCH] vhost: use another variable to store vhost msg result > code > > > -Original Message- > > From: Pei, Andy > > Sent: Monday, July 18, 2022 10:07 AM > > To: dev@dpdk.org > > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; &

RE: [PATCH] vhost: use another variable to store vhost msg result code

2022-09-22 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Monday, July 18, 2022 10:07 AM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Ma, > WenwuX > Subject: [PATCH] vhost: use another variable to store vhost msg result > code Patch looks good. I sug

[PATCH] vhost: use another variable to store vhost msg result code

2022-07-17 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 variable msg_result is used to store vhost msg result. This can improve reada