Re: [dpdk-dev] [PATCH] rte_vhost: do not treat empty socket message as error

2020-02-05 Thread Maxime Coquelin
On 1/30/20 9:05 AM, Vitaliy Mysak wrote: > According to recvmsg() specification, 0 is a valid > return code when client is disconnecting. > Therefore, it should not be reported as error, unless there > are other dependencies that require message to not be empty. > But there are none, since the n

Re: [dpdk-dev] [PATCH] rte_vhost: do not treat empty socket message as error

2020-02-04 Thread Tiwei Bie
[PATCH] rte_vhost: do not treat empty socket message as error s/rte_vhost:/vhost:/ On Thu, Jan 30, 2020 at 09:05:39AM +0100, Vitaliy Mysak wrote: > According to recvmsg() specification, 0 is a valid > return code when client is disconnecting. > Therefore, it should not be reported as error, unl

[dpdk-dev] [PATCH] rte_vhost: do not treat empty socket message as error

2020-01-30 Thread Vitaliy Mysak
According to recvmsg() specification, 0 is a valid return code when client is disconnecting. Therefore, it should not be reported as error, unless there are other dependencies that require message to not be empty. But there are none, since the next immediate caller of recvmsg() reports "vhost peer

[dpdk-dev] [PATCH] rte_vhost: do not treat empty socket message as error

2020-01-29 Thread Vitaliy Mysak
According to recvmsg() specification, 0 is a valid return code when client is disconnecting. Therefore, it should not be reported as error, unless there are other dependencies that require message to not be empty. But there are none, since the next immediate caller of recvmsg() reports "vhost peer