virtio: deinline some code
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 14 Jun 2014 01:06:20 +0000 (18:06 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Jul 2014 13:00:01 +0000 (15:00 +0200)
commit403ac76b37833dad5e2b65403f35428919dcc8ee
tree944174e241d5ef0175cf14a69001dcace63fbc86
parent51c005546ad5c6b69844bec28a7fc45bebdd1229
virtio: deinline some code

This driver has lots of functions marked always inline which is actually
counterproductive with modern compilers. Better to move the functions to
the one file they are used (proper scope) and let compiler decide.

For trivial functions leave them as static inline.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Alan Carew <alan.carew@intel.com>
lib/librte_pmd_virtio/virtio_rxtx.c
lib/librte_pmd_virtio/virtqueue.h