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

bpf, datapath: unconditionally assume support for LRU hash maps #24378

Merged
merged 2 commits into from Mar 15, 2023

Conversation

tklauser
Copy link
Member

@tklauser tklauser added kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. labels Mar 15, 2023
@tklauser tklauser force-pushed the pr/tklauser/bpf-assume-lru-hash-maps branch 4 times, most recently from c665d12 to 02668ec Compare March 15, 2023 04:25
As of the previous commit we unconditionally assume support for LRU hash
BPF maps. Thus the map type dependent GC interval calculation for the
ctmap can be simplified to always assume LRU hash maps.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser force-pushed the pr/tklauser/bpf-assume-lru-hash-maps branch from 02668ec to 38c1033 Compare March 15, 2023 04:49
@tklauser
Copy link
Member Author

/test

@tklauser tklauser marked this pull request as ready for review March 15, 2023 05:29
@tklauser tklauser requested review from a team as code owners March 15, 2023 05:29
Copy link
Member

@jibi jibi left a comment

Choose a reason for hiding this comment

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

Nice 🚀

Copy link
Member

@jrajahalme jrajahalme left a comment

Choose a reason for hiding this comment

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

Runtime test panic seems unrelated.

@tklauser
Copy link
Member Author

tklauser commented Mar 15, 2023

@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 Mar 15, 2023
@tklauser tklauser merged commit 40d65b7 into master Mar 15, 2023
@tklauser tklauser deleted the pr/tklauser/bpf-assume-lru-hash-maps branch March 15, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. 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.

None yet

3 participants