-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
multicast: check support for batch lookup #31892
multicast: check support for batch lookup #31892
Conversation
9c920e5
to
d6fee88
Compare
/test |
4285d2e
to
6e3a38a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, may want to move the BatchLookup probe function somewhere useful for other maps.
6e3a38a
to
05c95df
Compare
05c95df
to
04e03c3
Compare
d4f2eb4
to
af9ecda
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit/question with regards to exporting the cached feature probe result, otherwise LGTM!
In GroupV4OuterMap which is map of HashOfMaps, we need to check if kernel supports batch lookup. If batch lookup is not supported, list operation will fallback to iterator lookup. Signed-off-by: harsimran pabla <[email protected]>
af9ecda
to
d95a961
Compare
/test |
In multicast GroupV4 map, we need to check if kernel supports batch lookup for the map type HashOfMaps.
If batch lookup is not supported, list operation will fallback to iterator lookup.