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: Sub Address Family types. Feature enable for each SAFI
[vpp.git]
/
src
/
vnet
/
ip
/
ip_source_and_port_range_check.h
diff --git
a/src/vnet/ip/ip_source_and_port_range_check.h
b/src/vnet/ip/ip_source_and_port_range_check.h
index
b04fe61
..
b78e25e
100644
(file)
--- a/
src/vnet/ip/ip_source_and_port_range_check.h
+++ b/
src/vnet/ip/ip_source_and_port_range_check.h
@@
-78,7
+78,7
@@
typedef struct
*
* struct B {
* u16 n_ranges;
*
* struct B {
* u16 n_ranges;
- * range_t *ra
gn
es; // vector of ranges.
+ * range_t *ra
ng
es; // vector of ranges.
* }
*
* so to read ranges[0] we would first d-cache miss on the address
* }
*
* so to read ranges[0] we would first d-cache miss on the address
@@
-88,7
+88,7
@@
typedef struct
*
* struct B {
* u16 n_ranges;
*
* struct B {
* u16 n_ranges;
- * range_t ra
gn
es[N];
+ * range_t ra
ng
es[N];
* }
*
* memory:
* }
*
* memory:
@@
-101,9
+101,14
@@
typedef struct
*/
typedef struct protocol_port_range_dpo_t_
{
*/
typedef struct protocol_port_range_dpo_t_
{
+ /**
+ * Required for pool_get_aligned
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
+
/**
* The number of blocks from the 'block' array below
/**
* The number of blocks from the 'block' array below
- * that have r
na
ges configured. We keep this count so that in the data-path
+ * that have r
an
ges configured. We keep this count so that in the data-path
* we can limit the loop to be only over the blocks we need
*/
u16 n_used_blocks;
* we can limit the loop to be only over the blocks we need
*/
u16 n_used_blocks;