mbox series

[rdma-next,0/3] IB/cm refactors

Message ID 20220819090859.957943-1-markzhang@nvidia.com (mailing list archive)
Headers show
Series IB/cm refactors | expand

Message

Mark Zhang Aug. 19, 2022, 9:08 a.m. UTC
Hi,

This series provides 2 IB/cm refactors:
- The first 2 patches remove the usage of service_mask, as it is
  always -1 so it doesn't help;
- The third one refines cm_insert_listen() and cm_find_listen().

Link: https://lore.kernel.org/lkml/20220624201733.GA284068@nvidia.com/t/

Thanks.

Mark Zhang (3):
  IB/cm: Remove the service_mask parameter from ib_cm_listen()
  IB/cm: remove cm_id_priv->id.service_mask and service_mask parameter
    of cm_init_listen()
  IB/cm: Refactor cm_insert_listen() and cm_find_listen()

 drivers/infiniband/core/cm.c            | 65 +++++++++----------------
 drivers/infiniband/ulp/ipoib/ipoib_cm.c |  4 +-
 drivers/infiniband/ulp/srpt/ib_srpt.c   |  2 +-
 include/rdma/ib_cm.h                    |  8 +--
 4 files changed, 26 insertions(+), 53 deletions(-)

Comments

Leon Romanovsky Aug. 29, 2022, 8:21 a.m. UTC | #1
On Fri, Aug 19, 2022 at 12:08:56PM +0300, Mark Zhang wrote:
> Hi,
> 
> This series provides 2 IB/cm refactors:
> - The first 2 patches remove the usage of service_mask, as it is
>   always -1 so it doesn't help;
> - The third one refines cm_insert_listen() and cm_find_listen().
> 
> Link: https://lore.kernel.org/lkml/20220624201733.GA284068@nvidia.com/t/
> 
> Thanks.
> 
> Mark Zhang (3):
>   IB/cm: Remove the service_mask parameter from ib_cm_listen()
>   IB/cm: remove cm_id_priv->id.service_mask and service_mask parameter
>     of cm_init_listen()
>   IB/cm: Refactor cm_insert_listen() and cm_find_listen()
> 

Thanks, applied.