OSDN Git Service

IB/mlx4: Adjust delayed work when a dup is observed
authorHåkon Bugge <haakon.bugge@oracle.com>
Mon, 3 Aug 2020 06:19:41 +0000 (08:19 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 24 Aug 2020 14:31:22 +0000 (11:31 -0300)
commit785167a114855c5aa75efca97000e405c2cc85bf
treec203e448f2a4bce2c02ee2f879669e8815b1708a
parent227a0e142e375909959a74b7782403e14331f6f3
IB/mlx4: Adjust delayed work when a dup is observed

When scheduling delayed work to clean up the cache, if the entry already
has been scheduled for deletion, we adjust the delay.

Fixes: 3cf69cc8dbeb ("IB/mlx4: Add CM paravirtualization")
Link: https://lore.kernel.org/r/20200803061941.1139994-7-haakon.bugge@oracle.com
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx4/cm.c