On 12/3/2015 2:03 PM, Yuanhan Liu wrote: > Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com> > --- > lib/librte_vhost/vhost_rxtx.c | 287 > +++++++++++++++++------------------------- > 1 file changed, 113 insertions(+), 174 deletions(-)
Prefer to unroll copy_mbuf_to_desc and your COPY macro. It prevents us processing descriptors in a burst way in future.