From e3262f1fe3922c5772dc5cc2790567a8a5366b95 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Tue, 14 Jan 2025 04:02:06 +0800 Subject: [PATCH] Add field for bulk chunk size in flex counter (#968) Why I did it Added a new field in `FLEX_COUNTER_TABLE` to represent the bulk chunk size and bulk chunk size per counter ID for bulk counter polling. --- common/schema.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/schema.h b/common/schema.h index 461ea4d..70fae42 100644 --- a/common/schema.h +++ b/common/schema.h @@ -283,6 +283,8 @@ namespace swss { #define LUA_PLUGIN_TYPE "LUA_PLUGIN_TYPE" #define SAI_OBJECT_TYPE "SAI_OBJECT_TYPE" +#define BULK_CHUNK_SIZE_FIELD "BULK_CHUNK_SIZE" +#define BULK_CHUNK_SIZE_PER_PREFIX_FIELD "BULK_CHUNK_SIZE_PER_PREFIX" #define POLL_INTERVAL_FIELD "POLL_INTERVAL" #define STATS_MODE_FIELD "STATS_MODE" #define STATS_MODE_READ "STATS_MODE_READ"