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/bnxt: fix null dereference in session cleanup
[dpdk.git]
/
lib
/
fib
/
rte_fib.c
diff --git
a/lib/fib/rte_fib.c
b/lib/fib/rte_fib.c
index
6ca180d
..
8af4c40
100644
(file)
--- a/
lib/fib/rte_fib.c
+++ b/
lib/fib/rte_fib.c
@@
-6,11
+6,9
@@
#include <stdint.h>
#include <string.h>
#include <stdint.h>
#include <string.h>
-#include <rte_eal.h>
#include <rte_eal_memconfig.h>
#include <rte_errno.h>
#include <rte_malloc.h>
#include <rte_eal_memconfig.h>
#include <rte_errno.h>
#include <rte_malloc.h>
-#include <rte_rwlock.h>
#include <rte_string_fns.h>
#include <rte_tailq.h>
#include <rte_string_fns.h>
#include <rte_tailq.h>
@@
-40,10
+38,10
@@
EAL_REGISTER_TAILQ(rte_fib_tailq)
struct rte_fib {
char name[RTE_FIB_NAMESIZE];
enum rte_fib_type type; /**< Type of FIB struct */
struct rte_fib {
char name[RTE_FIB_NAMESIZE];
enum rte_fib_type type; /**< Type of FIB struct */
- struct rte_rib *rib; /**< RIB helper datastruct */
+ struct rte_rib *rib; /**< RIB helper datastruct
ure
*/
void *dp; /**< pointer to the dataplane struct*/
void *dp; /**< pointer to the dataplane struct*/
- rte_fib_lookup_fn_t lookup; /**<
fib
lookup function */
- rte_fib_modify_fn_t modify; /**< modify
fib datastruct
*/
+ rte_fib_lookup_fn_t lookup; /**<
FIB
lookup function */
+ rte_fib_modify_fn_t modify; /**< modify
FIB datastructure
*/
uint64_t def_nh;
};
uint64_t def_nh;
};