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

[AssignPacketIds] Prioritize ID assignment for control packets #1092

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

Yu-Zhewen
Copy link
Contributor

This change is part of the effort to make control packet routing static.

Copy link
Collaborator

@jtuyls jtuyls left a comment

Choose a reason for hiding this comment

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

LGTM

// normal flows. Control packet flows will be prioritized for packet ID
// assignment.
SmallVector<AMDAIE::FlowOp> ctrlPktFlowOps;
SmallVector<AMDAIE::FlowOp> normalPktFlowOps;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I suggestdataPktFlowOps as I think it's more descriptive.

Suggested change
SmallVector<AMDAIE::FlowOp> normalPktFlowOps;
SmallVector<AMDAIE::FlowOp> dataPktFlowOps;


// -----

// Test that control packets should take priority in the ID assignment.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe add that this can be seen in the checks by those flow ops getting packet_id == 0 assigned?

@Yu-Zhewen Yu-Zhewen enabled auto-merge (squash) February 10, 2025 16:55
@Yu-Zhewen Yu-Zhewen merged commit 109ec45 into main Feb 10, 2025
7 checks passed
@Yu-Zhewen Yu-Zhewen deleted the zhewen_pktid branch February 10, 2025 17:53
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