summaryrefslogtreecommitdiff
path: root/examples/l3fwd
diff options
context:
space:
mode:
authorJan Viktorin <viktorin@rehivetech.com>2016-04-26 13:30:59 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-06-08 22:38:52 +0200
commitf8ed6a2dc224de455b5712619e3fbb8a32eda6e0 (patch)
treea8a7d86af9a29b3c49491c371a6a2607b12a5df7 /examples/l3fwd
parent9de6337d29d8db8f1e94c095025b592390ca7edc (diff)
downloaddpdk-f8ed6a2dc224de455b5712619e3fbb8a32eda6e0.zip
dpdk-f8ed6a2dc224de455b5712619e3fbb8a32eda6e0.tar.gz
dpdk-f8ed6a2dc224de455b5712619e3fbb8a32eda6e0.tar.xz
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 <viktorin@rehivetech.com>
Diffstat (limited to 'examples/l3fwd')
-rw-r--r--examples/l3fwd/l3fwd_em.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c
index fc59243..def5a02 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