Skip to content

Commit

Permalink
verbs: Adapt bitmap usage to use util API
Browse files Browse the repository at this point in the history
Replace the usage of ccan bitmap with the newly added bitmap
implementation in util.

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
  • Loading branch information
msanalla authored and Yishai Hadas committed Feb 28, 2022
1 parent c34ffb3 commit f553607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libibverbs/ibverbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <pthread.h>

#include <infiniband/driver.h>
#include <ccan/bitmap.h>
#include <util/bitmap.h>

#define INIT __attribute__((constructor))

Expand Down Expand Up @@ -70,7 +70,7 @@ void load_drivers(void);
#endif

struct verbs_ex_private {
BITMAP_DECLARE(unsupported_ioctls, VERBS_OPS_NUM);
BMP_DECLARE(unsupported_ioctls, VERBS_OPS_NUM);
uint32_t driver_id;
bool use_ioctl_write;
struct verbs_context_ops ops;
Expand Down

0 comments on commit f553607

Please sign in to comment.