IB/cm: Remove dgid from the cm_id_priv av
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 9 Jun 2021 10:59:25 +0000 (13:59 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 10 Jun 2021 12:39:27 +0000 (09:39 -0300)
commitbf0480a2df7597b43a8383191e14580243ecc1f9
treef00cff44837f7af2e17fd47302f059cd08e500d9
parent6246f1ccb9c3aa748cd5622dd6b0ddd432eadd5d
IB/cm: Remove dgid from the cm_id_priv av

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.

Link: https://lore.kernel.org/r/2e7c87b6f662c90c642fc1838e363ad3e6ef14a4.1623236345.git.leonro@nvidia.com
Reviewed-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/cm.c