On Fri, Jul 15, 2016 at 02:15:03PM +0300, Ilya Maximets wrote: > Version 3: > * Patch splitted in two. > * Applied workaround from Rich Lane and added comment about > performance issue with some compilers and 'unlikely' macro.
Thanks a lot for the patches. Acked-by: Yuanhan Liu <yuanhan.liu at linux.intel.com> --yliu > > Version 2: > * Rebased on top of current master. > * host's address now checked in meargeable case, > because needed refactoring already done. > * Commit-message changed because old issue with > virtio reload accidentially fixed by commit > 0823c1cb0a73. > > Ilya Maximets (2): > vhost: fix using of bad return value on mergeable enqueue > vhost: do sanity check for ring descriptor address > > lib/librte_vhost/vhost_rxtx.c | 33 ++++++++++++++++++++++++++------- > 1 file changed, 26 insertions(+), 7 deletions(-) > > -- > 2.7.4