Skip to content

Add new bitmap API

Yishai Hadas linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5util: Add new bitmap APIproviders/mlx5/bitmap.h util/CMakeLists.txt util/bitmap.c +2 more+303 -20 replies
2/5mlx5: Adapt bitmap usage to use util APIproviders/mlx5/bitmap.h providers/mlx5/buf.c providers/mlx5/dr_buddy.c +4 more+53 -2830 replies
3/5libhns: Adapt bitmap usage to use util APIproviders/hns/hns_roce_u.h providers/hns/hns_roce_u_db.c+4 -40 replies
4/5verbs: Adapt bitmap usage to use util APIlibibverbs/ibverbs.h+2 -20 replies
5/5ccan: Remove bitmap codeccan/CMakeLists.txt ccan/bitmap.c ccan/bitmap.h+0 -3660 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAvihai Horon
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-core 0/5] Add new bitmap API

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.

PR was sent:
https://github.com/linux-rdma/rdma-core/pull/1144

Maher Sanalla (5):
util: Add new bitmap API
mlx5: Adapt bitmap usage to use util API
libhns: Adapt bitmap usage to use util API
verbs: Adapt bitmap usage to use util API
ccan: Remove bitmap code

 ccan/CMakeLists.txt           |   2 -
 ccan/bitmap.c                 | 125 ----------------------
 ccan/bitmap.h                 | 239 ------------------------------------------
 libibverbs/ibverbs.h          |   4 +-
 providers/hns/hns_roce_u.h    |   4 +-
 providers/hns/hns_roce_u_db.c |   4 +-
 providers/mlx5/bitmap.h       | 111 --------------------
 providers/mlx5/buf.c          | 187 +++++++--------------------------
 providers/mlx5/dr_buddy.c     |  12 +--
 providers/mlx5/mlx5.h         |  17 +--
 providers/mlx5/mlx5_vfio.c    |   3 +-
 providers/mlx5/mlx5_vfio.h    |   2 +-
 providers/mlx5/mlx5dv_dr.h    |   6 +-
 util/CMakeLists.txt           |   2 +
 util/bitmap.c                 | 180 +++++++++++++++++++++++++++++++
 util/bitmap.h                 | 120 +++++++++++++++++++++
 util/util.h                   |   1 +
 17 files changed, 362 insertions(+), 657 deletions(-)
 delete mode 100644 ccan/bitmap.c
 delete mode 100644 ccan/bitmap.h
 delete mode 100644 providers/mlx5/bitmap.h
 create mode 100644 util/bitmap.c
 create mode 100644 util/bitmap.h
Signature · 1 line
1.8.3.1