aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/nldev.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-10-20 09:54:27 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-10-22 16:58:22 -0300
commitc4c8aff5a9ddb061a6246fb34eabdb9244b4d8f6 (patch)
tree37f6130c3e578cfddb2a97851fba20469d5d480c /drivers/infiniband/core/nldev.c
parentIB/mlx5: Align usage of QP1 create flags with rest of mlx5 defines (diff)
downloadlinux-dev-c4c8aff5a9ddb061a6246fb34eabdb9244b4d8f6.tar.xz
linux-dev-c4c8aff5a9ddb061a6246fb34eabdb9244b4d8f6.zip
IB/core: Do not notify GID change event of an unregistered device
When IB device is undergoing unregistration, the GID cache is always cleaned up after all clients are unregistered with the below flow. __ib_unregister_device() disable_device() ib_cache_cleanup_one() gid_table_cleanup_one() cleanup_gid_table_port() There is no use in generating a GID change event at this stage, where there is no active client of the device and device is nearly unregistered. Link: https://lore.kernel.org/r/20191020065427.8772-4-leon@kernel.org Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/nldev.c')
0 files changed, 0 insertions, 0 deletions