IB/core: Avoid SGID attributes query while converting GID from OPA to IB
authorParav Pandit <parav@mellanox.com>
Sun, 28 Jan 2018 09:25:31 +0000 (11:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 28 Jan 2018 21:07:16 +0000 (14:07 -0700)
commit708ea056b30de17e38f2842c8e953df04b3e8b31
tree1c8f8c198c4805040ea70162e2d4b04832aff53d
parentb081808a66345ba725b77ecd8d759bee874cd937
IB/core: Avoid SGID attributes query while converting GID from OPA to IB

SGID attributes are not used during OPA to IB GID conversion.
Therefore don't query it.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cm.c