mbox series

[rdma-next,0/3] Remove not possible checks

Message ID cover.1627048781.git.leonro@nvidia.com (mailing list archive)
Headers show
Series Remove not possible checks | expand

Message

Leon Romanovsky July 23, 2021, 2:08 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

The iwpm is part of iw_cm module load, it ensures that iwpm is valid
prior to execution of any commands.

This series deletes such checks.

Thanks

Leon Romanovsky (3):
  RDMA/iwcm: Release resources if iw_cm module initialization fails
  RDMA/iwpm: Remove not-needed reference counting
  RDMA/iwpm: Rely on the upper to ensure that requests are valid

 drivers/infiniband/core/iwcm.c      | 19 ++++---
 drivers/infiniband/core/iwpm_msg.c  | 34 +------------
 drivers/infiniband/core/iwpm_util.c | 78 ++++++-----------------------
 drivers/infiniband/core/iwpm_util.h | 18 -------
 4 files changed, 28 insertions(+), 121 deletions(-)

Comments

Jason Gunthorpe July 30, 2021, 2:09 p.m. UTC | #1
On Fri, Jul 23, 2021 at 05:08:54PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> The iwpm is part of iw_cm module load, it ensures that iwpm is valid
> prior to execution of any commands.
> 
> This series deletes such checks.
> 
> Thanks
> 
> Leon Romanovsky (3):
>   RDMA/iwcm: Release resources if iw_cm module initialization fails
>   RDMA/iwpm: Remove not-needed reference counting
>   RDMA/iwpm: Rely on the upper to ensure that requests are valid

Applied to for-next, thanks

Jason