Re: [PATCH 2/2] vhost-net: revert vhost_exceeds_maxpend logic to its original

2017-08-21 Thread Koichiro Den
On Mon, 2017-08-21 at 20:40 +0800, Jason Wang wrote: > > On 2017年08月21日 11:06, Jason Wang wrote: > > > > > > On 2017年08月19日 14:41, Koichiro Den wrote: > > > To depend on vq.num and the usage of VHOST_MAX_PEND is not succinct > > > and in some case unexpected, so revert its logic part only. > >

Re: [PATCH 2/2] vhost-net: revert vhost_exceeds_maxpend logic to its original

2017-08-21 Thread Koichiro Den
On Mon, 2017-08-21 at 11:06 +0800, Jason Wang wrote: > > On 2017年08月19日 14:41, Koichiro Den wrote: > > To depend on vq.num and the usage of VHOST_MAX_PEND is not succinct > > and in some case unexpected, so revert its logic part only. > > Hi: > > Could you explain a little bit more on the case t

Re: [PATCH 2/2] vhost-net: revert vhost_exceeds_maxpend logic to its original

2017-08-21 Thread Jason Wang
On 2017年08月21日 11:06, Jason Wang wrote: On 2017年08月19日 14:41, Koichiro Den wrote: To depend on vq.num and the usage of VHOST_MAX_PEND is not succinct and in some case unexpected, so revert its logic part only. Hi: Could you explain a little bit more on the case that is was not sufficent?

Re: [PATCH 2/2] vhost-net: revert vhost_exceeds_maxpend logic to its original

2017-08-20 Thread Jason Wang
On 2017年08月19日 14:41, Koichiro Den wrote: To depend on vq.num and the usage of VHOST_MAX_PEND is not succinct and in some case unexpected, so revert its logic part only. Hi: Could you explain a little bit more on the case that is was not sufficent? Thanks Signed-off-by: Koichiro Den ---

[PATCH 2/2] vhost-net: revert vhost_exceeds_maxpend logic to its original

2017-08-18 Thread Koichiro Den
To depend on vq.num and the usage of VHOST_MAX_PEND is not succinct and in some case unexpected, so revert its logic part only. Signed-off-by: Koichiro Den --- drivers/vhost/net.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.