Skip to content
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

[dash-p4] Add flow_table_id attribute on ENI #669

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jimmyzhai
Copy link
Collaborator

  • By adding flow_table_id attribute on ENI object, ENI can be associated with a specific flow table
  • Flow entry key selection can based on the flow_enabled_key attribute of the flow table
  • Flow entry idle timeout can be based on the flow_ttl_in_milliseconds attribute of the flow table

@mssonicbld
Copy link

/azp run

Copy link

Commenter does not have sufficient privileges for PR 669 in repo sonic-net/DASH

@jimmyzhai jimmyzhai requested a review from r12f February 25, 2025 12:35
@r12f
Copy link
Collaborator

r12f commented Feb 25, 2025

hi @prsunny @marian-pritsak @mukeshmv , trying to bring this up to your radar. This attribute is missing on the ENI level. However, it should not affect the implementation, because we are using the single flow table anyway.

@@ -241,6 +241,7 @@ header flow_data_t {
bit<32> version;
dash_flow_action_t actions;
dash_meter_class_t meter_class;
bit<32> idle_timeout;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be better to split this PR into 2 and only keep the flow table id in this PR.

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.

3 participants