Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Harmonize vec/pool_get_aligned object sizes and alignment requests
[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
29cd1d2
..
8d18b00
100644
(file)
--- a/
src/vnet/fib/mpls_fib.h
+++ b/
src/vnet/fib/mpls_fib.h
@@
-40,6
+40,11
@@
typedef struct mpls_fib_t_
{
typedef struct mpls_fib_t_
{
+ /**
+ * Required for pool_get_aligned
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
/**
* A hash table of entries. 21 bit key
* Hash table for reduced memory footprint
/**
* A hash table of entries. 21 bit key
* Hash table for reduced memory footprint
@@
-105,6
+110,8
@@
extern void mpls_fib_table_walk(mpls_fib_t *fib,
fib_table_walk_fn_t fn,
void *ctx);
fib_table_walk_fn_t fn,
void *ctx);
+extern u8 *format_mpls_fib_table_memory(u8 * s, va_list * args);
+
/**
* @brief
* Lookup a label and EOS bit in the MPLS_FIB table to retrieve the
/**
* @brief
* Lookup a label and EOS bit in the MPLS_FIB table to retrieve the