summaryrefslogtreecommitdiffstats
path: root/examples/tep_termination/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tep_termination/main.c')
-rw-r--r--examples/tep_termination/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c
index cd6e3f1c..aee36c6e 100644
--- a/examples/tep_termination/main.c
+++ b/examples/tep_termination/main.c
@@ -50,6 +50,7 @@
#include <rte_string_fns.h>
#include <rte_malloc.h>
#include <rte_vhost.h>
+#include <rte_pause.h>
#include "main.h"
#include "vxlan.h"
@@ -559,7 +560,7 @@ check_ports_num(unsigned max_nb_ports)
* This function routes the TX packet to the correct interface. This may be a local device
* or the physical port.
*/
-static inline void __attribute__((always_inline))
+static __rte_always_inline void
virtio_tx_route(struct vhost_dev *vdev, struct rte_mbuf *m)
{
struct mbuf_table *tx_q;