vhost: try to unroll for each loop
authorMarvin Liu <yong.liu@intel.com>
Thu, 24 Oct 2019 16:08:22 +0000 (00:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:20:47 +0000 (19:20 +0200)
commit934274065a596f7fc7d4d5bfe5ab039390915a49
tree2145272e3bdc1933cb2c6e4dd3eec89acaee7a7f
parent93520085efdaf5581710174555ab03dc31766391
vhost: try to unroll for each loop

Create macro for adding unroll pragma before for each loop. Batch
functions will be contained of several small loops which can be
optimized by compilers' loop unrolling pragma.

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/Makefile
lib/librte_vhost/meson.build
lib/librte_vhost/vhost.h