vhost: do not inline packed and split functions
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Wed, 29 May 2019 13:04:17 +0000 (15:04 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:29 +0000 (23:54 +0900)
commit5a5f6e78b24881941a75d6b9f1214f0ee0e2f9aa
tree7de6f0b7c94bbfcf25e79235713b307c044fe31f
parent094b643d9b425c942aa18d1d229832f8d96940af
vhost: do not inline packed and split functions

At runtime either packed Tx/Rx functions will always be called,
or split Tx/Rx functions will always be called.

This patch removes the forced inlining in order to reduce
the I-cache pressure.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
lib/librte_vhost/virtio_net.c