git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de6337
)
examples/l3fwd: report error when no vector engine available
author
Jan Viktorin
<viktorin@rehivetech.com>
Tue, 26 Apr 2016 11:30:59 +0000
(13:30 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 8 Jun 2016 20:38:52 +0000
(22:38 +0200)
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>
examples/l3fwd/l3fwd_em.c
patch
|
blob
|
history
diff --git
a/examples/l3fwd/l3fwd_em.c
b/examples/l3fwd/l3fwd_em.c
index
fc59243
..
def5a02
100644
(file)
--- 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