[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-17 Thread Thomas Monjalon
2014-10-17 03:19, Xie, Huawei: > From: Ouyang, Changchun > > From: Xie, Huawei > > > I generated the vhost example patch based on vhost library, but find > > > there is > > > issue with --mergeable feature. > > > Only thousands of packets could be sent. > > > Then I tried the latest vhost example,

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-17 Thread Xie, Huawei
Thomas: Thoughts about this? Could I send example patch with this walk around? > -Original Message- > From: Ouyang, Changchun > Sent: Thursday, October 16, 2014 8:15 PM > To: Xie, Huawei; Thomas Monjalon; dev at dpdk.org > Cc: Cao, Waterman; Richardson, Bruce; Ouyang, Changchun > Subject:

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-17 Thread Ouyang, Changchun
No problem, I will investigate the root cause. But before figuring out the root cause, I think we could add check in your new sample to Check the INC_VEC is enable or not, If it is enabled, print error message and hint user Disable it in config file if mergeable feature is triggered in vhost. T

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-15 Thread Xie, Huawei
I generated the vhost example patch based on vhost library, but find there is issue with --mergeable feature. Only thousands of packets could be sent. Then I tried the latest vhost example, which is just before my vhost lib patch, I found that not only it has the issue Which is fixed by the foll

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-13 Thread Ouyang Changchun
As the vhost sample is broken by the following commit, commit 08b563ffb19d8baf59dd84200f25bc85031d18a7 Author: Olivier Matz Date: Thu Sep 11 14:15:35 2014 +0100 mbuf: replace data pointer by an offset It leads to segment fault error in vhost when binding a virtio device

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-13 Thread Ouyang, Changchun
Hi Thomas, If HuaweiXie's patch set for vhost library and new vhost sample could be applied into dpdk.org very soon, Then this patch could be depressed/superseded, I think his patch can fix this issue. Otherwise, this patch could be high priority as the vhost is broken in the tip code due to re