From: Jan Viktorin Date: Tue, 26 Apr 2016 11:30:59 +0000 (+0200) Subject: examples/l3fwd: report error when no vector engine available X-Git-Tag: spdx-start~6802 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f8ed6a2dc224de455b5712619e3fbb8a32eda6e0;p=dpdk.git examples/l3fwd: report error when no vector engine available If no SSE nor NEON are available the l3fwd should complain loudly to quickly find out the reason. Signed-off-by: Jan Viktorin --- diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c index fc59243d82..def5a02428 100644 --- a/examples/l3fwd/l3fwd_em.c +++ b/examples/l3fwd/l3fwd_em.c @@ -259,6 +259,8 @@ em_mask_key(void *key, xmm_t mask) return vandq_s32(data, mask); } +#else +#error No vector engine (SSE, NEON) available, check your toolchain #endif static inline uint8_t