Skip to content

Commit

Permalink
Add bulk meter stats fetch support in syncd
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshmv committed Nov 14, 2024
1 parent 866985f commit b6f6ab1
Show file tree
Hide file tree
Showing 4 changed files with 635 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meta/SaiSerialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,14 @@ std::string sai_serialize_eni_stat(
return sai_serialize_enum(counter, &sai_metadata_enum_sai_eni_stat_t);
}

std::string sai_serialize_meter_bucket_entry_stat(
_In_ const sai_meter_bucket_entry_stat_t counter)
{
SWSS_LOG_ENTER();

return sai_serialize_enum(counter, &sai_metadata_enum_sai_meter_bucket_entry_stat_t);
}

std::string sai_serialize_tunnel_stat(
_In_ const sai_tunnel_stat_t counter)
{
Expand Down
3 changes: 3 additions & 0 deletions meta/sai_serialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ std::string sai_serialize_buffer_pool_stat(
std::string sai_serialize_eni_stat(
_In_ const sai_eni_stat_t counter);

std::string sai_serialize_meter_bucket_entry_stat(
_In_ const sai_meter_bucket_entry_stat_t counter);

std::string sai_serialize_tunnel_stat(
_In_ const sai_tunnel_stat_t counter);

Expand Down
Loading

0 comments on commit b6f6ab1

Please sign in to comment.