Skip to content

Packet Drop Monitoring#2298

Open
JaiOCP wants to merge 1 commit into
opencomputeproject:masterfrom
JaiOCP:DropMon
Open

Packet Drop Monitoring#2298
JaiOCP wants to merge 1 commit into
opencomputeproject:masterfrom
JaiOCP:DropMon

Conversation

@JaiOCP

@JaiOCP JaiOCP commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR introduces packet drop monitoring where monitoring can be enabled for a specific set of drop reasons for a specific stage of pipeline like ingress, egress and buffer. If this is done with hw learning enabled for deduplcation then this form packet drop monitoring is considered stateful.

This PR introduces framework for both stateful and stateless packet drop monitoring.

Accidentally closed PR
#2290

Signed-off-by: JaiOCP <jai.kumar@broadcom.com>
@JaiOCP JaiOCP mentioned this pull request Jun 22, 2026
Comment thread inc/saitam.h
*
* @objects SAI_OBJECT_TYPE_TAM_EVENT_LEARN_ENTRY
*/
sai_object_id_t le_id;

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.

does it make sense to make this object first in the structure?

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 attributes need a reference to the object hence I have kept it here in structure.
Any other suggestions?

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.

im just saying make it first field

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.

Just for curiosity. How does it help.

Alignment ??

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.

it does not change alignement, just from order perspective it make sense to have object id first and then it;s attributes, for example the same idea is when you create object or call set api, object id is first

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.

2 participants