Skip to content

Add port MRU attribute - #2353

Open
AnandhiDhanabalan wants to merge 1 commit into
opencomputeproject:masterfrom
AnandhiDhanabalan:mrvl_port_mru
Open

AnandhiDhanabalan wants to merge 1 commit into
opencomputeproject:masterfrom
AnandhiDhanabalan:mrvl_port_mru

Conversation

@AnandhiDhanabalan

Copy link
Copy Markdown
Contributor

Summary
Adds two port attributes that allow the maximum receive frame size (MRU) to be configured independently of SAI_PORT_ATTR_MTU. Today SAI_PORT_ATTR_MTU governs the egress frame-size limit, and on many implementations the same value is applied as the ingress admission threshold. This change lets an implementation that supports separate RX/TX enforcement expose an independent receive limit, while leaving single-threshold implementations unaffected.

Backward compatibility
SAI_PORT_ATTR_MRU takes effect only when SAI_PORT_ATTR_MRU_ENABLED is true. The default is false, under which receive-side behavior is unchanged: implementations that apply SAI_PORT_ATTR_MTU to both directions continue to do so. Existing applications require no change.

New Attributes

  • SAI_PORT_ATTR_MRU_ENABLED
  • SAI_PORT_ATTR_MRU

Signed-off-by: Anandhi Dhanabalan <adhanabalan@marvell.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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