Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
IP Flow Hash Config fixes
[vpp.git]
/
src
/
vnet
/
fib
/
mpls_fib.h
diff --git
a/src/vnet/fib/mpls_fib.h
b/src/vnet/fib/mpls_fib.h
index
78a61a1
..
dfb8b7f
100644
(file)
--- a/
src/vnet/fib/mpls_fib.h
+++ b/
src/vnet/fib/mpls_fib.h
@@
-33,6
+33,11
@@
#define MPLS_FIB_KEY_SIZE 21
#define MPLS_FIB_DB_SIZE (1 << (MPLS_FIB_KEY_SIZE-1))
#define MPLS_FIB_KEY_SIZE 21
#define MPLS_FIB_DB_SIZE (1 << (MPLS_FIB_KEY_SIZE-1))
+/**
+ * There are no options for controlling the MPLS flow hash
+ */
+#define MPLS_FLOW_HASH_DEFAULT 0
+
typedef struct mpls_fib_t_
{
/**
typedef struct mpls_fib_t_
{
/**
@@
-130,6
+135,4
@@
mpls_fib_table_get_index_for_sw_if_index (u32 sw_if_index)
return (mm->fib_index_by_sw_if_index[sw_if_index]);
}
return (mm->fib_index_by_sw_if_index[sw_if_index]);
}
-extern flow_hash_config_t mpls_fib_table_get_flow_hash_config(u32 fib_index);
-
#endif
#endif