[dpdk-dev] [PATCH 4/7] vhost: fold common message handlers

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > Due to history reason (that we have 2 vhost implementations), some > messages are handled in two calls: vhost specific implementation > handles it first and then invoke the common one to do another handling. > > We have one implementation only now, we

[dpdk-dev] [PATCH 4/7] vhost: fold common message handlers

2016-08-18 Thread Yuanhan Liu
Due to history reason (that we have 2 vhost implementations), some messages are handled in two calls: vhost specific implementation handles it first and then invoke the common one to do another handling. We have one implementation only now, we could write one method for each message. Here fold tho