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
/
ioam
/
lib-vxlan-gpe
/
ioam_pop.c
diff --git
a/src/plugins/ioam/lib-vxlan-gpe/ioam_pop.c
b/src/plugins/ioam/lib-vxlan-gpe/ioam_pop.c
index
7a4580d
..
84900eb
100644
(file)
--- a/
src/plugins/ioam/lib-vxlan-gpe/ioam_pop.c
+++ b/
src/plugins/ioam/lib-vxlan-gpe/ioam_pop.c
@@
-203,7
+203,7
@@
trace00:
option_data) ? trace_len : ARRAY_LEN (t->fmt_trace.
option_data);
t->fmt_trace.trace_len = trace_len;
option_data) ? trace_len : ARRAY_LEN (t->fmt_trace.
option_data);
t->fmt_trace.trace_len = trace_len;
- clib_memcpy (&(t->fmt_trace.option_data), gpe_ioam0, trace_len);
+ clib_memcpy
_fast
(&(t->fmt_trace.option_data), gpe_ioam0, trace_len);
}
/* Remove the iOAM header inside the VxLAN-GPE header */
}
/* Remove the iOAM header inside the VxLAN-GPE header */