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, which is just before my vhost > > > lib patch, I found that not only it has the issue Which is fixed by the > > > following patch but the --mergeable feature also doesn't work. > > > Haven't got the change to dig into it. > > > > > > Hints here: > > > 1. mbuf allocation failure after thousands of packets. > > > 2. disable INC_VEC(vectore scatter receive) in configure could solve > > > this. > > > 3. tried sending the packets directly out after receiving from vmdq > > > queue, it > > > works. > > > > > > Could you root cause the issue, Changchun? You could work on the most > > > recent > > > example. > > > > 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. Then > > this issue > > should not > > block you from sending out your vhost app patch. > > > > Your vhost app patch will block my another patch about multicast feature as > > your vhost lib patch delete the vhost sample app totally. > > So expect your vhost app patch send out soon. > > Thomas: > Thoughts about this? Could I send example patch with this walk around?
Yes, please send the new example with this small workaround. It's better than nothing. -- Thomas