Skip to content

Commit

Permalink
[schema] Add table definitions required by dynamic buffer calculation
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Sun <stephens@mellanox.com>
  • Loading branch information
Stephen Sun committed Jul 1, 2020
1 parent 4e50be7 commit a540982
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions common/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ namespace swss {
#define APP_STP_FASTAGEING_FLUSH_TABLE_NAME "STP_FASTAGEING_FLUSH_TABLE"
#define APP_STP_BPDU_GUARD_TABLE_NAME "STP_BPDU_GUARD_TABLE"

#define APP_BUFFER_POOL_TABLE_NAME "BUFFER_POOL"
#define APP_BUFFER_PROFILE_TABLE_NAME "BUFFER_PROFILE"
#define APP_BUFFER_PG_TABLE_NAME "BUFFER_PG"
#define APP_BUFFER_QUEUE_TABLE_NAME "BUFFER_QUEUE"
#define APP_BUFFER_PORT_INGRESS_PROFILE_LIST_NAME "BUFFER_PORT_INGRESS_PROFILE_LIST"
#define APP_BUFFER_PORT_EGRESS_PROFILE_LIST_NAME "BUFFER_PORT_EGRESS_PROFILE_LIST"

/***** TO BE REMOVED *****/

#define APP_TC_TO_QUEUE_MAP_TABLE_NAME "TC_TO_QUEUE_MAP_TABLE"
Expand All @@ -80,13 +87,6 @@ namespace swss {
#define APP_PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_NAME "PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE"
#define APP_PFC_PRIORITY_TO_QUEUE_MAP_NAME "MAP_PFC_PRIORITY_TO_QUEUE"

#define APP_BUFFER_POOL_TABLE_NAME "BUFFER_POOL_TABLE"
#define APP_BUFFER_PROFILE_TABLE_NAME "BUFFER_PROFILE_TABLE"
#define APP_BUFFER_QUEUE_TABLE_NAME "BUFFER_QUEUE_TABLE"
#define APP_BUFFER_PG_TABLE_NAME "BUFFER_PG_TABLE"
#define APP_BUFFER_PORT_INGRESS_PROFILE_LIST_NAME "BUFFER_PORT_INGRESS_PROFILE_LIST"
#define APP_BUFFER_PORT_EGRESS_PROFILE_LIST_NAME "BUFFER_PORT_EGRESS_PROFILE_LIST"

/***** COUNTER DATABASE *****/

#define COUNTERS_PORT_NAME_MAP "COUNTERS_PORT_NAME_MAP"
Expand Down Expand Up @@ -219,6 +219,8 @@ namespace swss {
#define CFG_BUFFER_PORT_INGRESS_PROFILE_LIST_NAME "BUFFER_PORT_INGRESS_PROFILE_LIST"
#define CFG_BUFFER_PORT_EGRESS_PROFILE_LIST_NAME "BUFFER_PORT_EGRESS_PROFILE_LIST"

#define CFG_DEFAULT_LOSSLESS_BUFFER_PARAMETER "DEFAULT_LOSSLESS_BUFFER_PARAMETER"

#define CFG_POLICER_TABLE_NAME "POLICER"

#define CFG_WARM_RESTART_TABLE_NAME "WARM_RESTART"
Expand Down Expand Up @@ -292,6 +294,12 @@ namespace swss {
#define STATE_COPP_GROUP_TABLE_NAME "COPP_GROUP_TABLE"
#define STATE_COPP_TRAP_TABLE_NAME "COPP_TRAP_TABLE"

#define STATE_ASIC_TABLE "ASIC_TABLE"
#define STATE_BUFFER_MAXIMUM_VALUE_TABLE "BUFFER_MAX_PARAM"
#define STATE_PERIPHERAL_TABLE "PERIPHERAL_TABLE"
#define STATE_PORT_PERIPHERAL_TABLE "PORT_PERIPHERAL_TABLE"
#define STATE_BUFFER_POOL_TABLE_NAME "BUFFER_POOL"
#define STATE_BUFFER_PROFILE_TABLE_NAME "BUFFER_PROFILE"
/***** MISC *****/

#define IPV4_NAME "IPv4"
Expand Down

0 comments on commit a540982

Please sign in to comment.