-
Notifications
You must be signed in to change notification settings - Fork 39
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
Exposing IBV_LINK_LAYER_.* unnamed enum variants in bindings #40
Comments
jonhoo
added a commit
that referenced
this issue
Dec 27, 2024
These are useful for matching against and providing some known constant numeric values with meaningful names. Fixes #40.
Consider it done! |
btw, both |
Thank you so much for the great effort! 🎉🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rust-ibverbs/ibverbs-sys/build.rs
Line 43 in aed0c60
Hey @jonhoo, would you mind adding a one line change so that the ffi exposes three more variants as below? This will be useful for determining the default
gid_index
based on the link layer types (IB: no gid; ETH: default to 0).The proposed one line change:
The changes to the generated bindings:
The text was updated successfully, but these errors were encountered: