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
net/ice: fix memzone leak after device init failure
[dpdk.git]
/
examples
/
l3fwd
/
l3fwd.h
diff --git
a/examples/l3fwd/l3fwd.h
b/examples/l3fwd/l3fwd.h
index
2cf0609
..
a808d60
100644
(file)
--- a/
examples/l3fwd/l3fwd.h
+++ b/
examples/l3fwd/l3fwd.h
@@
-1,5
+1,5
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2010-20
16
Intel Corporation
+ * Copyright(c) 2010-20
21
Intel Corporation
*/
#ifndef __L3_FWD_H__
*/
#ifndef __L3_FWD_H__
@@
-180,13
+180,16
@@
is_valid_ipv4_pkt(struct rte_ipv4_hdr *pkt, uint32_t link_len)
int
init_mem(uint16_t portid, unsigned int nb_mbuf);
int
init_mem(uint16_t portid, unsigned int nb_mbuf);
-/* Function pointers for LPM
or EM
functionality. */
+/* Function pointers for LPM
, EM or FIB
functionality. */
void
setup_lpm(const int socketid);
void
setup_hash(const int socketid);
void
setup_lpm(const int socketid);
void
setup_hash(const int socketid);
+void
+setup_fib(const int socketid);
+
int
em_check_ptype(int portid);
int
em_check_ptype(int portid);
@@
-207,6
+210,9
@@
em_main_loop(__rte_unused void *dummy);
int
lpm_main_loop(__rte_unused void *dummy);
int
lpm_main_loop(__rte_unused void *dummy);
+int
+fib_main_loop(__rte_unused void *dummy);
+
int
lpm_event_main_loop_tx_d(__rte_unused void *dummy);
int
int
lpm_event_main_loop_tx_d(__rte_unused void *dummy);
int
@@
-225,8
+231,17
@@
em_event_main_loop_tx_q(__rte_unused void *dummy);
int
em_event_main_loop_tx_q_burst(__rte_unused void *dummy);
int
em_event_main_loop_tx_q_burst(__rte_unused void *dummy);
+int
+fib_event_main_loop_tx_d(__rte_unused void *dummy);
+int
+fib_event_main_loop_tx_d_burst(__rte_unused void *dummy);
+int
+fib_event_main_loop_tx_q(__rte_unused void *dummy);
+int
+fib_event_main_loop_tx_q_burst(__rte_unused void *dummy);
+
-/* Return ipv4/ipv6 fwd lookup struct for LPM
or EM
. */
+/* Return ipv4/ipv6 fwd lookup struct for LPM
, EM or FIB
. */
void *
em_get_ipv4_l3fwd_lookup_struct(const int socketid);
void *
em_get_ipv4_l3fwd_lookup_struct(const int socketid);
@@
-239,4
+254,10
@@
lpm_get_ipv4_l3fwd_lookup_struct(const int socketid);
void *
lpm_get_ipv6_l3fwd_lookup_struct(const int socketid);
void *
lpm_get_ipv6_l3fwd_lookup_struct(const int socketid);
+void *
+fib_get_ipv4_l3fwd_lookup_struct(const int socketid);
+
+void *
+fib_get_ipv6_l3fwd_lookup_struct(const int socketid);
+
#endif /* __L3_FWD_H__ */
#endif /* __L3_FWD_H__ */