blob: 28830946d8a959871d47179920eb50d3c2c70a85 [file] [log] [blame]
Carmelo Cascone70e816b2019-03-19 16:15:47 -07001#ifndef __TABLE_SIZE__
2#define __TABLE_SIZE__
3
4// Default sizes when building for BMv2.
Daniele Moro7c3a0022019-07-12 13:38:34 -07005#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 Cascone70e816b2019-03-19 16:15:47 -070013#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 Cascone3032b872019-04-13 01:23:54 -070017#define ROUTING_V6_TABLE_SIZE 1024
Carmelo Cascone70e816b2019-03-19 16:15:47 -070018#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