Proposal for MACSec SAI Attribute enhancements#2213
Proposal for MACSec SAI Attribute enhancements#2213rushanmu-cisco wants to merge 1 commit intoopencomputeproject:masterfrom
Conversation
3d9012b to
3d68794
Compare
|
/azp run |
|
Commenter does not have sufficient privileges for PR 2213 in repo opencomputeproject/SAI |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 2213 in repo opencomputeproject/SAI |
|
@rushanmu-cisco - please squash your commits |
a60d624 to
9deba66
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
cd971f7 to
85d50a8
Compare
|
@tjchadaga, can you please help trigger azp? Thank you! |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@JaiOCP , @judyjoseph - could you please help review? |
1 similar comment
|
@JaiOCP , @judyjoseph - could you please help review? |
006dbfc to
d2b28de
Compare
|
/azp run |
|
Commenter does not have sufficient privileges for PR 2213 in repo opencomputeproject/SAI |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
2f50064 to
aae9253
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Pull request overview
This pull request proposes enhancements to the SAI MACsec API to support additional configuration options as defined in IEEE 802.1AE standard. The changes add three major capabilities: security mode configuration (Must Secure/Should Secure), confidentiality offset configuration, and Tag Control Information (TCI) field configuration for End Station (ES) and Single Copy Broadcast (SCB) bits.
Changes:
- Added
sai_macsec_port_security_mode_tenum andSAI_MACSEC_PORT_ATTR_SECURITY_MODEattribute to configure whether the port operates in fail-open (Should Secure) or fail-closed (Must Secure) mode - Added
SAI_MACSEC_SC_ATTR_CONFIDENTIALITY_OFFSETattribute to allow selective unencrypted bytes in the payload while maintaining integrity protection - Added
SAI_MACSEC_SC_ATTR_USE_ESandSAI_MACSEC_SC_ATTR_USE_SCBattributes for TCI field configuration
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 9 comments.
| File | Description |
|---|---|
| inc/saimacsec.h | Adds new enum for security modes, new port attribute for security mode configuration, and new SC attributes for confidentiality offset and TCI bits (ES/SCB) |
| doc/SAI-Proposal-MACSec-Enhancements.md | Provides detailed technical documentation explaining the rationale, usage, and API workflow for the new MACsec enhancements with code examples |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aae9253 to
59dcded
Compare
Signed-off-by: rushanmu <rushanmu@cisco.com>
59dcded to
78781ab
Compare
This PR brings support for Configuration of MACSec security modes, Confidentiality offset and extended TCI configuration