-
Notifications
You must be signed in to change notification settings - Fork 46
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
NDP.p4 trimming switch code targetting Tofino TNA #92
base: master
Are you sure you want to change the base?
Conversation
Hi @dragosdmtrsc, this is the ONF bot 🤖 I'm glad you want to contribute to our projects! However, before accepting your contribution, we need to ask you to sign a Contributor License Agreement (CLA). You can do it online, it will take only a few minutes: ✒️ 👉 https://cla.opennetworking.org After signing, make sure to add your Github user ID For more information or help:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Left a few minor comments.
# How it works | ||
|
||
To summarize, `ndp.p4` keeps an under-approximation of | ||
the buffer occupancy for each port in ingress (by means of a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: 'each port' -> 'each egress port'
the buffer occupancy for each port in ingress (by means of a | ||
three-color meter). Whenever the meter turns red, it means | ||
that the buffer is full and packet undergoes trimming. To achieve | ||
that, we mark the packet to be cloned to egress and setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'to be cloned from ingress to egress'
NDP trimming implementation targeting Tofino v1 with TNA architecture. Contents of this PR: