Optimized Forwarding Headers#2285
Conversation
| SAI_IN_DROP_REASON_LPM_MISS = 0x00000039, | ||
|
|
||
| /** OFH packet TTL expired */ | ||
| SAI_IN_DROP_REASON_OFH_TTL, |
There was a problem hiding this comment.
Keep it consistent with IP or not ?
| SAI_SWITCH_ATTR_OFH, | ||
|
|
||
| /** | ||
| * @brief OFH header max size |
There was a problem hiding this comment.
Improve comments to explian the use of max size supported by HW.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@JaiOCP validator is not handling merges, you will need to rebase your change on master and force push |
|
Sounds Good. I will recreate the PR as well. Too many changes have gone in
mainline.
…On Thu, May 21, 2026 at 1:06 PM Kamil Cudnik ***@***.***> wrote:
*kcudnik* left a comment (opencomputeproject/SAI#2285)
<#2285 (comment)>
@JaiOCP <https://github.com/JaiOCP> validator is not handling merges, you
will need to rebase your change on master and force push
—
Reply to this email directly, view it on GitHub
<#2285 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKCSHLLXBLZHRZQUZVKIL53435OTDAVCNFSM6AAAAACY6TZJW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKMJSGM2DAMZYGU>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
you dont need to recreate, you can jsut rebase and force push to your branch |
|
you need to squash and force push |
| * @default 0 | ||
| * @validonly SAI_OFH_ATTR_TYPE == SAI_OFH_TYPE_AFH_TYPE_1 or SAI_OFH_ATTR_TYPE == SAI_OFH_TYPE_AFH_TYPE_2 | ||
| */ | ||
| SAI_OFH_ATTR_VER_OFFSET, |
There was a problem hiding this comment.
Some headers have their format defined by the version field. While the ofh_type may be the same, the actual header format can differ depending on the version.
For example, the next version of ESUN will likely share the same Ethertype as the current version, but the header format will be determined by the value of the version (RevisionNumber) field.
To handle these cases, add a version enum attribute. This attribute specifies which version of the OFH is being defined.
Signed-off-by: JaiOCP <jai.kumar@broadcom.com> OFH Support Signed-off-by: JaiOCP <jai.kumar@broadcom.com> Fix gensairpc.pl crash on Doxygen 1.9.8+ by reusing NeedsTwoPassProcessing (opencomputeproject#2282) Why: To fix below build error Uncaught exception from user code: at gensairpc.pl line 480. main::assign_attr_types(HASH(0x55e190dc20c8), ARRAY(0x55e190d2d080)) called at gensairpc.pl line 434 main::get_definitions() called at gensairpc.pl line 156 main::assign_attr_types(HASH(0x55e190dc20c8), ARRAY(0x55e190d2d080)) called at gensairpc.pl line 434 main::get_definitions() called at gensairpc.pl line 156 How: gensairpc.pl crashed during SAI thrift build with an uncaught exception at line 480 (assign_attr_types) because its inline Doxygen layout detection was too weak - it only checked sai_8h.xml for any enumvalue presence, missing cases where the new Doxygen 1.9.8+ XML structure requires group__*.xml files to be processed for complete definitions. This caused incomplete parsing, leading to missing types and a croak in assign_attr_types when sai_attribute_value_t could not be found. Changes: - xmlutils.pm: Add NeedsTwoPassProcessing and export it. - parse.pl: Remove local NeedsTwoPassProcessing; use imported version. - gensairpc.pl: Replace inline detection with NeedsTwoPassProcessing() call, fixing the build failure and eliminating code duplication. Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com> OFH Header Signed-off-by: JaiOCP <jai.kumar@broadcom.com> Count BFD session state changes from UP to DOWN (opencomputeproject#2268) Signed-off-by: Chikkegowda Chikkaiah <cchikkai@cisco.com> HW FRR switchover notification support for protection groups (opencomputeproject#2269) Signed-off-by: Chikkegowda Chikkaiah <cchikkai@cisco.com> Port storm control enhancemnets (opencomputeproject#2258) (opencomputeproject#2258) Signed-off-by: rpmarvell <rperumal@marvell.com>
Signed-off-by: JaiOCP <jai.kumar@broadcom.com>
This PR brings a generic framework to support multiple activities going on for defining the Optimized Forwarding Header like IEEE compressed Header, OCP ESUN Header, UEC Unified Forwarding Header and more.