From: Yongseok Koh Date: Thu, 25 Jan 2018 21:02:42 +0000 (-0800) Subject: eal: group memory barriers by type in doxygen X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9bea9e865a57ece9a60b1ab8302f5f2305e2c363;p=dpdk.git eal: group memory barriers by type in doxygen Signed-off-by: Yongseok Koh --- diff --git a/lib/librte_eal/common/include/generic/rte_atomic.h b/lib/librte_eal/common/include/generic/rte_atomic.h index 3ba7245a3e..58c40489bf 100644 --- a/lib/librte_eal/common/include/generic/rte_atomic.h +++ b/lib/librte_eal/common/include/generic/rte_atomic.h @@ -17,6 +17,9 @@ #ifdef __DOXYGEN__ +/** @name Memory Barrier + */ +///@{ /** * General memory barrier. * @@ -43,7 +46,11 @@ static inline void rte_wmb(void); * This function is architecture dependent. */ static inline void rte_rmb(void); +///@} +/** @name SMP Memory Barrier + */ +///@{ /** * General memory barrier between lcores * @@ -70,7 +77,11 @@ static inline void rte_smp_wmb(void); * before the LOAD operations that follows it. */ static inline void rte_smp_rmb(void); +///@} +/** @name I/O Memory Barrier + */ +///@{ /** * General memory barrier for I/O device * @@ -97,6 +108,7 @@ static inline void rte_io_wmb(void); * operations that follow it. */ static inline void rte_io_rmb(void); +///@} #endif /* __DOXYGEN__ */