Skip to content

Conversation

dylandreimerink
Copy link
Member

Upstreaming some modularization changes while working on runtime device detection, these are in preparation of removing option.Config.GetDevices and replacing it with a devices table, which requires depending subsystems to be in hive.

In theory, this should not contain functional changes, but in practice there's some questions around the order of operations, specifically in the commit modularizing the bandwidth manager.

Modularized the bandwidth manager

@dylandreimerink dylandreimerink added release-note/misc This PR makes changes that have no direct user impact. feature/bandwidth-manager Impacts BPF bandwidth manager. area/modularization Relates to code modularization and maintenance. labels Oct 16, 2023
@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch 2 times, most recently from a834899 to a7436a2 Compare October 16, 2023 14:13
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from a7436a2 to 272b937 Compare October 16, 2023 15:52
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from 272b937 to cc555ff Compare October 17, 2023 08:56
@dylandreimerink
Copy link
Member Author

/ci-clustermesh

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from cc555ff to c753a8a Compare October 17, 2023 09:33
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from c753a8a to c85b6a1 Compare October 17, 2023 10:28
@dylandreimerink
Copy link
Member Author

/ci-clustermesh

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from c85b6a1 to ca2a008 Compare October 17, 2023 11:53
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from ca2a008 to 97b30b5 Compare October 17, 2023 13:26
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from 97b30b5 to b0875f1 Compare October 18, 2023 08:56
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from b0875f1 to e7037ba Compare October 20, 2023 11:15
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from e7037ba to ac95bc9 Compare October 20, 2023 12:23
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from ac95bc9 to 1c2b269 Compare October 23, 2023 12:15
@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from e9e7c51 to 526532a Compare October 31, 2023 14:10
Copy link
Member

@asauber asauber left a comment

Choose a reason for hiding this comment

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

Approving for CLI, there were no changes to the flags. I'll leave questions about init order to the datapath teams.

@tommyp1ckles
Copy link
Contributor

K8s changes look good 🚀 ... just some random comments/questions.

@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from 526532a to b5b7989 Compare November 3, 2023 10:40
Copy link
Member

@aditighag aditighag left a comment

Choose a reason for hiding this comment

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

Minor comment about code comments.
Approved for cilium/contributing.

@aditighag aditighag requested review from a team November 6, 2023 18:29
Copy link
Contributor

@tommyp1ckles tommyp1ckles left a comment

Choose a reason for hiding this comment

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

Just a few suggestions left over from my review, but relevant changes lgtm.

@lmb
Copy link
Contributor

lmb commented Nov 7, 2023

Thanks for switching to the extra defines thingie.

@dylandreimerink
Copy link
Member Author

Thanks for switching to the extra defines thingie.

Would have been a bit dumb to do all that work to introduce it and then not use it 😁

bimmlerd and others added 3 commits November 14, 2023 13:24
In preparation of adding more inputs to the linux datapath NewDatapath
func, pull out the dependencies into a struct.

Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
Minor cleanups for how this cell looks and reads, in preparation of runtime
device detection work which will further extend the
configWriterParameters. Changed the module name to match the subsystem
log field that was used previously.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
This work moves the bandwidth manager to the datapath package and
turns it into a cell. It is now provided via hive or via arguments
from a component that is itself a cell.

Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
@dylandreimerink dylandreimerink force-pushed the pr/bimmlerd/modularize-bandwidth-manager branch from b5b7989 to 9e2dd6f Compare November 14, 2023 13:18
@dylandreimerink
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 14, 2023
@dylandreimerink dylandreimerink merged commit 32fbb7f into main Nov 15, 2023
@dylandreimerink dylandreimerink deleted the pr/bimmlerd/modularize-bandwidth-manager branch November 15, 2023 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/modularization Relates to code modularization and maintenance. feature/bandwidth-manager Impacts BPF bandwidth manager. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants