mbox series

[rdma-core,0/5] Add new bitmap API

Message ID 20220228084830.96274-1-yishaih@nvidia.com (mailing list archive)
Headers show
Series Add new bitmap API | expand

Message

Yishai Hadas Feb. 28, 2022, 8:48 a.m. UTC
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

Comments

Yishai Hadas March 10, 2022, 7:33 a.m. UTC | #1
On 2/28/2022 10:48 AM, Yishai Hadas wrote:
> 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
>
The PR was merged.

Yishai