X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Ftep_termination%2Fmain.c;h=83c2189fff845888ca562805af856959a00f940b;hb=7236d2bfe0acc48330e3c2a3dfac4ada9a792cd8;hp=24c62cd612cf3521c49990052520259a0d3ae6e7;hpb=af14759181240120f76c82f894982e8f33f0ba2a;p=dpdk.git diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c index 24c62cd612..83c2189fff 100644 --- a/examples/tep_termination/main.c +++ b/examples/tep_termination/main.c @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include "main.h" #include "vxlan.h" @@ -559,7 +559,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;