aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/mpls_fib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/fib/mpls_fib.h')
-rw-r--r--src/vnet/fib/mpls_fib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/fib/mpls_fib.h b/src/vnet/fib/mpls_fib.h
index 33eaa88ca9d..e9fee9990ac 100644
--- a/src/vnet/fib/mpls_fib.h
+++ b/src/vnet/fib/mpls_fib.h
@@ -31,7 +31,7 @@
* Type exposure is to allow the DP fast/inlined access
*/
#define MPLS_FIB_KEY_SIZE 21
-#define MPLS_FIB_DB_SIZE (1 << (MPLS_FIB_KEY_SIZE-1))
+#define MPLS_FIB_DB_SIZE (1 << MPLS_FIB_KEY_SIZE)
/**
* There are no options for controlling the MPLS flow hash,
@@ -54,7 +54,7 @@ typedef struct mpls_fib_t_
/**
* The load-balance indices keyed by 21 bit label+eos bit.
- * A flat array for maximum lookup performace.
+ * A flat array for maximum lookup performance.
*/
index_t mf_lbs[MPLS_FIB_DB_SIZE];
} mpls_fib_t;