IB/core: Generate GID change event regardless of RoCE GID table property
authorParav Pandit <parav@mellanox.com>
Sun, 25 Mar 2018 10:40:20 +0000 (13:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 27 Mar 2018 22:22:12 +0000 (16:22 -0600)
commit3401857ea347e86a51adb844c5e9207dcdc0139b
treed60e9d3575991f3f3f0a21291bf9805f0254fbf3
parent97c45c2c28cd291e06778d9d36a0f60ee74726bc
IB/core: Generate GID change event regardless of RoCE GID table property

Due to following reasons, GID table event is generated regardless of GID
table property.

1. GID table cache is maintained at ib core layer regardless of link layer.
2. GID change event has no relation with IB link layer.
3. GID change event also doesn't depend on whether HCA supports GID table
or not.

Fixes: f3906bd36087 ("IB/core: Refactor GID cache's ib_dispatch_event")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cache.c