DPDK
19.11.1
lib
librte_stack
rte_stack_lf_stubs.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2019 Arm Limited
3
*/
4
5
#ifndef _RTE_STACK_LF_STUBS_H_
6
#define _RTE_STACK_LF_STUBS_H_
7
8
#include <
rte_common.h
>
9
10
static
__rte_always_inline
unsigned
int
11
__rte_stack_lf_count(
struct
rte_stack *s)
12
{
13
RTE_SET_USED
(s);
14
15
return
0;
16
}
17
18
static
__rte_always_inline
void
19
__rte_stack_lf_push_elems(
struct
rte_stack_lf_list *list,
20
struct
rte_stack_lf_elem *first,
21
struct
rte_stack_lf_elem *last,
22
unsigned
int
num)
23
{
24
RTE_SET_USED
(first);
25
RTE_SET_USED
(last);
26
RTE_SET_USED
(list);
27
RTE_SET_USED
(num);
28
}
29
30
static
__rte_always_inline
struct
rte_stack_lf_elem *
31
__rte_stack_lf_pop_elems(
struct
rte_stack_lf_list *list,
32
unsigned
int
num,
33
void
**obj_table,
34
struct
rte_stack_lf_elem **last)
35
{
36
RTE_SET_USED
(obj_table);
37
RTE_SET_USED
(last);
38
RTE_SET_USED
(list);
39
RTE_SET_USED
(num);
40
41
return
NULL;
42
}
43
44
#endif
/* _RTE_STACK_LF_STUBS_H_ */
__rte_always_inline
#define __rte_always_inline
Definition:
rte_common.h:153
rte_common.h
RTE_SET_USED
#define RTE_SET_USED(x)
Definition:
rte_common.h:90
Generated by
1.8.17