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

add support for bpf map flags #843

Merged
merged 1 commit into from
Dec 9, 2016
Merged

add support for bpf map flags #843

merged 1 commit into from
Dec 9, 2016

Conversation

shodoco
Copy link
Contributor

@shodoco shodoco commented Dec 8, 2016

This pull request adds support to specify map flags when creating a bpf map (RFE: support map flags when creating a bpf map). It's done via inspecting initializer information for the table struct.

Also includes a few other changes:
1). Test case for map flags.
2). Interface bpf_table_flags[_id] to query flags from python/other.
3). Removal of dead code in two places (b_frontend_action.cc and loader.h).

@4ast
Copy link
Member

4ast commented Dec 8, 2016

lgtm
[buildbot, ok to test]
[buildbot, add to whitelist]

@4ast 4ast merged commit a3ddcd5 into iovisor:master Dec 9, 2016
@shodoco shodoco deleted the flag branch December 18, 2016 01:44
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.

2 participants