IB/core: Allow vlan link local address based RoCE GIDs
authorParav Pandit <parav@mellanox.com>
Wed, 10 Apr 2019 08:23:03 +0000 (11:23 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 24 Apr 2019 13:08:15 +0000 (10:08 -0300)
commit823b23da71132b80d9f41ab667c68b112455f3b6
treeb24020aa0670f71a597aef635d08cfc9661683a6
parent5fb58c9e2fb11edd12379b20be01ee54a7bac026
IB/core: Allow vlan link local address based RoCE GIDs

IPv6 link local address for a VLAN netdevice has nothing to do with its
resemblance with the default GID, because VLAN link local GID is in
different layer 2 domain.

Now that RoCE MAD packet processing and route resolution consider the
right GID index, there is no need for an unnecessary check which prevents
the addition of vlan based IPv6 link local GIDs.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cache.c