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 new bitmap API #1144

Merged
merged 5 commits into from
Mar 10, 2022
Merged

Add new bitmap API #1144

merged 5 commits into from
Mar 10, 2022

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented Feb 28, 2022

This series adds new bitmap implementation to util directory which replaces the ccan equivalent.

The ccan/bitmap stuff was published under the LGPLv2+ license which is not fitting in rdma-core.

As of the above, the applicable bitmap code in rdma-core was adapted to use the util new API.

Adds new bitmap implementation to util directory, which replaces the
ccan equivalent, due to the license used (LGPLv2+) which is not fitting
in rdma-core.

Signed-off-by: Maher Sanalla <[email protected]>
Reviewed-by: Avihai Horon <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Replace the usage of ccan bitmap with the newly added bitmap
implementation in util.

As part of it, remove mlx5 bitmap API.

Signed-off-by: Maher Sanalla <[email protected]>
Reviewed-by: Avihai Horon <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Replace the usage of ccan bitmap with the newly added bitmap
implementation in util.

Signed-off-by: Maher Sanalla <[email protected]>
Reviewed-by: Avihai Horon <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Replace the usage of ccan bitmap with the newly added bitmap
implementation in util.

Signed-off-by: Maher Sanalla <[email protected]>
Reviewed-by: Avihai Horon <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Removes ccan bitmap implementation, along with adjustments to the
ccan Makefile.

Signed-off-by: Maher Sanalla <[email protected]>
Reviewed-by: Avihai Horon <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
#else
#define MLX5_SHM_ADDR NULL
#define MLX5_SHMAT_FLAGS 0
#endif
Copy link
Member

Choose a reason for hiding this comment

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

What is this stuff?

Copy link
Member Author

Choose a reason for hiding this comment

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

This comes from the deleted file providers/mlx5/bitmap.h to control shmat(), it's orthogonal to the bitmap changes.

@yishaih yishaih merged commit f8d7f42 into linux-rdma:master Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants