Carmelo Cascone | 70e816b | 2019-03-19 16:15:47 -0700 | [diff] [blame] | 1 | #ifndef __TABLE_SIZE__ |
| 2 | #define __TABLE_SIZE__ |
| 3 | |
| 4 | // Default sizes when building for BMv2. |
Daniele Moro | 7c3a002 | 2019-07-12 13:38:34 -0700 | [diff] [blame] | 5 | #define BNG_MAX_SUBSC 8192 |
| 6 | #define BNG_MAX_NET_PER_SUBSC 4 |
| 7 | #define BNG_MAX_SUBSC_NET BNG_MAX_NET_PER_SUBSC * BNG_MAX_SUBSC |
| 8 | #ifdef WITH_BNG |
| 9 | #define PORT_VLAN_TABLE_SIZE BNG_MAX_SUBSC |
| 10 | #else |
| 11 | #define PORT_VLAN_TABLE_SIZE 1024 |
| 12 | #endif // WITH_BNG |
Carmelo Cascone | 70e816b | 2019-03-19 16:15:47 -0700 | [diff] [blame] | 13 | #define FWD_CLASSIFIER_TABLE_SIZE 1024 |
| 14 | #define BRIDGING_TABLE_SIZE 1024 |
| 15 | #define MPLS_TABLE_SIZE 1024 |
| 16 | #define ROUTING_V4_TABLE_SIZE 1024 |
Carmelo Cascone | 3032b87 | 2019-04-13 01:23:54 -0700 | [diff] [blame] | 17 | #define ROUTING_V6_TABLE_SIZE 1024 |
Carmelo Cascone | 70e816b | 2019-03-19 16:15:47 -0700 | [diff] [blame] | 18 | #define ACL_TABLE_SIZE 1024 |
| 19 | #define XCONNECT_NEXT_TABLE_SIZE 1024 |
| 20 | #define NEXT_VLAN_TABLE_SIZE 1024 |
| 21 | #define SIMPLE_NEXT_TABLE_SIZE 1024 |
| 22 | #define HASHED_NEXT_TABLE_SIZE 1024 |
| 23 | #define HASHED_SELECTOR_MAX_GROUP_SIZE 16 |
| 24 | #define HASHED_ACT_PROFILE_SIZE 32w1024 |
| 25 | #define MULTICAST_NEXT_TABLE_SIZE 1024 |
| 26 | #define EGRESS_VLAN_TABLE_SIZE 1024 |
| 27 | |
| 28 | #endif |