Re: [PATCH rdma-next] IB/cm: Remove dgid from the cm_id_priv av

From: Jason Gunthorpe
Date: Thu Jun 10 2021 - 08:45:11 EST


On Wed, Jun 09, 2021 at 01:59:25PM +0300, Leon Romanovsky wrote:
> From: Jason Gunthorpe <jgg@xxxxxxxxxx>
>
> It turns out this is only being used to store the LID for SIDR mode to
> search the RB tree for request de-duplication. Store the LID value
> directly and don't pretend it is a GID.
>
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Reviewed-by: Mark Zhang <markzhang@xxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> ---
> drivers/infiniband/core/cm.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)

Applied to for-next, thanks

Jason