Cleanup of CONFIG_INFINIBAND_ON_DEMAND_PAGING usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | RDMA: Clean structures from CONFIG_INFINIBAND_ON_DEMAND_PAGINGdrivers/ include/ | +0 | 0 replies | |
| 2/5 | RDMA/core: Don't depend device ODP capabilities on kconfig optiondrivers/ drivers/ | +0 | 5 replies | |
| 3/5 | RDMA/mlx5: Introduce and reuse helper to identify ODP MRdrivers/ drivers/ drivers/ | +19 | 0 replies | |
| 4/5 | RDMA/mlx5: Embed into the code flow the ODP config optiondrivers/ drivers/ drivers/ +2 more | +39 | 0 replies | |
| 5/5 | RDMA/mlx5: Delete declaration of already removed functioninclude/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH rdma-next 0/5] Cleanup of CONFIG_INFINIBAND_ON_DEMAND_PAGING usage
From: Leon Romanovsky <[email protected]>
Hi,
As a followup to Jason's request to rethink CONFIG_INFINIBAND_ON_DEMAND_PAGING usage, this series cleans mlx5_ib and RDMA/core code and it is based on already sent but not yet accepted patch https://patchwork.kernel.org/patch/10735547/
It is under extensive testing now, but I wanted to raise awareness as soon as possible for the patch "RDMA/core: Don't depend device ODP capabilities on kconfig option", which changes behavior for mlx5 devices with CONFIG_INFINIBAND_ON_DEMAND_PAGING set to no.
Thanks
Leon Romanovsky (5):
RDMA: Clean structures from CONFIG_INFINIBAND_ON_DEMAND_PAGING RDMA/core: Don't depend device ODP capabilities on kconfig option RDMA/mlx5: Introduce and reuse helper to identify ODP MR RDMA/mlx5: Embed into the code flow the ODP config option RDMA/mlx5: Delete declaration of already removed function
drivers/infiniband/core/uverbs_cmd.c | 8 ++--- drivers/infiniband/hw/mlx5/main.c | 37 ++++++++++------------- drivers/infiniband/hw/mlx5/mem.c | 5 +--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 12 ++++++-- drivers/infiniband/hw/mlx5/mr.c | 45 ++++++++-------------------- drivers/infiniband/hw/mlx5/odp.c | 6 ++-- include/linux/mlx5/driver.h | 4 --- include/rdma/ib_umem_odp.h | 26 ++++++++-------- include/rdma/ib_verbs.h | 2 -- 9 files changed, 58 insertions(+), 87 deletions(-)