X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Ftep_termination%2Fmain.c;h=aee36c6e48be3a4a272e089a6cd5166be98c82ae;hb=5b2b0a740fba32db438d92390a4a853d3af2381c;hp=cd6e3f1cfa74a5bc9611f989b8c3eedf71067d35;hpb=a798beb47c8e40f03261ee869a00578d2c44c824;p=dpdk.git diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c index cd6e3f1cfa..aee36c6e48 100644 --- a/examples/tep_termination/main.c +++ b/examples/tep_termination/main.c @@ -50,6 +50,7 @@ #include #include #include +#include #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;