Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove c-11 memcpy checks from perf-critical code
[vpp.git]
/
src
/
plugins
/
map
/
map.h
diff --git
a/src/plugins/map/map.h
b/src/plugins/map/map.h
index
1e07b59
..
c4cc855
100644
(file)
--- a/
src/plugins/map/map.h
+++ b/
src/plugins/map/map.h
@@
-538,7
+538,7
@@
ip4_map_t_embedded_address (map_domain_t *d,
u8 offset = d->ip6_src_len == 64 ? 9 : 12;
ip6->as_u64[0] = d->ip6_src.as_u64[0];
ip6->as_u64[1] = d->ip6_src.as_u64[1];
- clib_memcpy(&ip6->as_u8[offset], ip4, 4);
+ clib_memcpy
_fast
(&ip6->as_u8[offset], ip4, 4);
}
static_always_inline u32