git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal: introduce macro for always inline
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
arch
/
x86
/
rte_memcpy.h
diff --git
a/lib/librte_eal/common/include/arch/x86/rte_memcpy.h
b/lib/librte_eal/common/include/arch/x86/rte_memcpy.h
index
b9785e8
..
74c280c
100644
(file)
--- a/
lib/librte_eal/common/include/arch/x86/rte_memcpy.h
+++ b/
lib/librte_eal/common/include/arch/x86/rte_memcpy.h
@@
-44,6
+44,7
@@
#include <stdint.h>
#include <string.h>
#include <rte_vect.h>
#include <stdint.h>
#include <string.h>
#include <rte_vect.h>
+#include <rte_common.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-64,8
+65,8
@@
extern "C" {
* @return
* Pointer to the destination data.
*/
* @return
* Pointer to the destination data.
*/
-static inline void *
-rte_memcpy(void *dst, const void *src, size_t n)
__attribute__((always_inline))
;
+static
__rte_always_
inline void *
+rte_memcpy(void *dst, const void *src, size_t n);
#ifdef RTE_MACHINE_CPUFLAG_AVX512F
#ifdef RTE_MACHINE_CPUFLAG_AVX512F