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
pci: avoid inlining functions
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
generic
/
rte_memcpy.h
diff --git
a/lib/librte_eal/common/include/generic/rte_memcpy.h
b/lib/librte_eal/common/include/generic/rte_memcpy.h
index
03e8477
..
4e9d879
100644
(file)
--- a/
lib/librte_eal/common/include/generic/rte_memcpy.h
+++ b/
lib/librte_eal/common/include/generic/rte_memcpy.h
@@
-64,6
+64,8
@@
rte_mov16(uint8_t *dst, const uint8_t *src);
static inline void
rte_mov32(uint8_t *dst, const uint8_t *src);
static inline void
rte_mov32(uint8_t *dst, const uint8_t *src);
+#ifdef __DOXYGEN__
+
/**
* Copy 48 bytes from one location to another using optimised
* instructions. The locations should not overlap.
/**
* Copy 48 bytes from one location to another using optimised
* instructions. The locations should not overlap.
@@
-76,6
+78,8
@@
rte_mov32(uint8_t *dst, const uint8_t *src);
static inline void
rte_mov48(uint8_t *dst, const uint8_t *src);
static inline void
rte_mov48(uint8_t *dst, const uint8_t *src);
+#endif /* __DOXYGEN__ */
+
/**
* Copy 64 bytes from one location to another using optimised
* instructions. The locations should not overlap.
/**
* Copy 64 bytes from one location to another using optimised
* instructions. The locations should not overlap.
@@
-134,11
+138,4
@@
rte_memcpy(void *dst, const void *src, size_t n);
#endif /* __DOXYGEN__ */
#endif /* __DOXYGEN__ */
-/*
- * memcpy() function used by rte_memcpy macro
- */
-static inline void *
-rte_memcpy_func(void *dst, const void *src, size_t n) __attribute__((always_inline));
-
-
#endif /* _RTE_MEMCPY_H_ */
#endif /* _RTE_MEMCPY_H_ */