We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff185b0 commit 65f81c2Copy full SHA for 65f81c2
dash-pipeline/bmv2/defines.h
@@ -1,13 +1,17 @@
1
#ifndef _DASH_DEFINES_H_
2
#define _DASH_DEFINES_H_
3
4
-#ifdef TABLE_FULL_SCALE
5
-#define TABLE_CA_TO_PA_SIZE (8 * 1024 * 1024)
6
-#define TABLE_ROUTING_SIZE (4 * 1024 * 1024)
+#if defined(TABLE_HERO_SCALE)
+#define TABLE_CA_TO_PA_SIZE (8 * 1000 * 1000)
+#define TABLE_ROUTING_SIZE (4 * 1000 * 1000)
7
8
-#else /* default size */
9
-#define TABLE_CA_TO_PA_SIZE (8 * 1024)
10
-#define TABLE_ROUTING_SIZE (4 * 1024)
+#elif defined(TABLE_BABY_HERO_SCALE)
+#define TABLE_CA_TO_PA_SIZE (8 * 1000 * 10)
+#define TABLE_ROUTING_SIZE (4 * 1000 * 10)
11
+
12
+#else /* default/minimum size */
13
+#define TABLE_CA_TO_PA_SIZE 1000
14
+#define TABLE_ROUTING_SIZE 1000
15
16
#endif
17
0 commit comments