Skip to content

Added support for ICMP-echo session stats#4613

Open
manamand2020 wants to merge 4 commits into
sonic-net:masterfrom
manamand2020:icmp-stats
Open

Added support for ICMP-echo session stats#4613
manamand2020 wants to merge 4 commits into
sonic-net:masterfrom
manamand2020:icmp-stats

Conversation

@manamand2020
Copy link
Copy Markdown
Contributor

@manamand2020 manamand2020 commented May 27, 2026

What I did
Added support for ICMP echo session stats. The orchagent changes support both selective counters and native counters based on platform capability.

Related PRs:
sonic-net/SONiC#2354
sonic-net/sonic-swss-common#1192
sonic-net/sonic-sairedis#1910
sonic-net/sonic-utilities#4559

Why I did it
These changes will enable 'show icmp stats' which display icmpecho session stats.

How I verified it
Verified on hardware.
Mock and VS tests added.

Details if related

Signed-off-by: Manas Kumar Mandal <manamand@cisco.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Manas Kumar Mandal <manamand@cisco.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@manamand2020 manamand2020 marked this pull request as ready for review June 3, 2026 16:18
@manamand2020 manamand2020 requested a review from prsunny as a code owner June 3, 2026 16:18
Signed-off-by: Manas Kumar Mandal <manamand@cisco.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

using Traits = SaiOffloadHandlerTraits<T>;
using api_t = typename Traits::api_t;

SaiOffloadStatsHandler(const std::string& flex_counter_group,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why header file is this big. Please move to a .cpp file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The header file has all the sai offload related template code that can be inlcuded safely and reused by other offload feature like bfdorch.

@prsunny prsunny requested review from Ndancejic and zjswhhh June 3, 2026 16:54
Signed-off-by: Manas Kumar Mandal <manamand@cisco.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants