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_map_lookup_batch] Add test case to retrieve data in batches #3563

Merged
merged 5 commits into from
May 24, 2024

Conversation

shpalani
Copy link
Collaborator

Description

  1. Added the missing test case to retrieve in batches.
  2. Added BPF_MAP_TYPE_LRU_HASH map test.

Testing

_Do any existing tests cover this change? No.
Are new tests needed? Yes

Documentation

_Is there any documentation impact for this change? No

Installation

_Is there any installer impact for this change? No

Copy link
Member

@Alan-Jowett Alan-Jowett left a comment

Choose a reason for hiding this comment

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

Please either remove the "concurrent_delete" flag or make use of it. As it stands right now this is dead code.

tests/unit/libbpf_test.cpp Outdated Show resolved Hide resolved
tests/unit/libbpf_test.cpp Outdated Show resolved Hide resolved
@shpalani
Copy link
Collaborator Author

Please either remove the "concurrent_delete" flag or make use of it. As it stands right now this is dead code.

Removed.

@shpalani shpalani closed this May 21, 2024
@shpalani shpalani reopened this May 21, 2024
@shpalani shpalani requested a review from Alan-Jowett May 23, 2024 17:26
@dthaler dthaler added this pull request to the merge queue May 24, 2024
Merged via the queue into microsoft:main with commit 10fdbbc May 24, 2024
86 checks passed
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.

bpf_map_lookup_batch: Add test cases to fetch data in batches
3 participants