Skip to content

swss-common: WRED and ECN statistics specific changes #777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion common/consumer_table_pops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ for i = n, 1, -3 do
op == 'attr_enum_values_capability_query' or
op == 'attr_enum_values_capability_response' or
op == 'object_type_get_availability_query' or
op == 'object_type_get_availability_response' then
op == 'object_type_get_availability_response' or
op == 'stats_capability_query' or
op == 'stats_capability_response' then

-- do not modify db entries when spotted those commands, they are used to
-- trigger actions or get data synchronously from database
Expand Down
6 changes: 6 additions & 0 deletions common/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ namespace swss {
#define STATS_MODE_READ_AND_CLEAR "STATS_MODE_READ_AND_CLEAR"
#define QUEUE_PLUGIN_FIELD "QUEUE_PLUGIN_LIST"
#define PORT_PLUGIN_FIELD "PORT_PLUGIN_LIST"
#define WRED_QUEUE_PLUGIN_FIELD "WRED_QUEUE_PLUGIN_LIST"
#define WRED_PORT_PLUGIN_FIELD "WRED_PORT_PLUGIN_LIST"
#define MACSEC_SA_PLUGIN_FIELD "MACSEC_SA_PLUGIN_LIST"
#define RIF_PLUGIN_FIELD "RIF_PLUGIN_LIST"
#define PG_PLUGIN_FIELD "PG_PLUGIN_LIST"
Expand Down Expand Up @@ -497,6 +499,10 @@ namespace swss {
#define STATE_ACL_TABLE_TABLE_NAME "ACL_TABLE_TABLE"
#define STATE_ACL_RULE_TABLE_NAME "ACL_RULE_TABLE"

/***** Counter capability tables for Queue and Port ****/
#define STATE_QUEUE_COUNTER_CAPABILITIES_NAME "QUEUE_COUNTER_CAPABILITIES"
#define STATE_PORT_COUNTER_CAPABILITIES_NAME "PORT_COUNTER_CAPABILITIES"

/***** PROFILE DATABASE *****/

#define PROFILE_DELETE_TABLE "PROFILE_DELETE"
Expand Down