Skip to content

WIP: Flowstats #744

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

Draft
wants to merge 41 commits into
base: master
Choose a base branch
from
Draft

WIP: Flowstats #744

wants to merge 41 commits into from

Conversation

FelixMcFelix
Copy link
Collaborator

@FelixMcFelix FelixMcFelix commented May 2, 2025

Implements part of RFD 549.

This PR starts by assigning a full set of packet counters to every rule, LFT, and active flow within OPTE. From here, we track parent relationships to assign credit back to counters and to memorise every ID for every rule hit by a packet in each direction.

Base automatically changed from optehdl-cleanup to master May 29, 2025 12:49
This should make it more clear at each stage which types are being used
where. This also reduced struct sizes for each, and in a given `parent`s
list we take no more space than an Arc<dyn> would. It may be worth
applying the same to `children`.
Now we have the primitives for flow and rule stats. Let's go!
@FelixMcFelix FelixMcFelix self-assigned this Jun 18, 2025
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.

1 participant