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
build: skip pmdinfogen on Windows
[dpdk.git]
/
lib
/
librte_stack
/
rte_stack_std.h
diff --git
a/lib/librte_stack/rte_stack_std.h
b/lib/librte_stack/rte_stack_std.h
index
5dc9409
..
7142cbf
100644
(file)
--- a/
lib/librte_stack/rte_stack_std.h
+++ b/
lib/librte_stack/rte_stack_std.h
@@
-19,7
+19,8
@@
* @return
* Actual number of objects pushed (either 0 or *n*).
*/
* @return
* Actual number of objects pushed (either 0 or *n*).
*/
-static __rte_always_inline unsigned int __rte_experimental
+__rte_experimental
+static __rte_always_inline unsigned int
__rte_stack_std_push(struct rte_stack *s, void * const *obj_table,
unsigned int n)
{
__rte_stack_std_push(struct rte_stack *s, void * const *obj_table,
unsigned int n)
{
@@
-58,7
+59,8
@@
__rte_stack_std_push(struct rte_stack *s, void * const *obj_table,
* @return
* Actual number of objects popped (either 0 or *n*).
*/
* @return
* Actual number of objects popped (either 0 or *n*).
*/
-static __rte_always_inline unsigned int __rte_experimental
+__rte_experimental
+static __rte_always_inline unsigned int
__rte_stack_std_pop(struct rte_stack *s, void **obj_table, unsigned int n)
{
struct rte_stack_std *stack = &s->stack_std;
__rte_stack_std_pop(struct rte_stack *s, void **obj_table, unsigned int n)
{
struct rte_stack_std *stack = &s->stack_std;
@@
-92,7
+94,8
@@
__rte_stack_std_pop(struct rte_stack *s, void **obj_table, unsigned int n)
* @return
* The number of used entries in the stack.
*/
* @return
* The number of used entries in the stack.
*/
-static __rte_always_inline unsigned int __rte_experimental
+__rte_experimental
+static __rte_always_inline unsigned int
__rte_stack_std_count(struct rte_stack *s)
{
return (unsigned int)s->stack_std.len;
__rte_stack_std_count(struct rte_stack *s)
{
return (unsigned int)s->stack_std.len;