summaryrefslogtreecommitdiffstats
path: root/fs/sysv
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@nvidia.com>2020-08-31 15:04:35 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2020-10-02 10:59:55 -0700
commit410bd754cd73c4a2ac3856d9a03d7b08f9c906bf (patch)
treebefc8e8b360dc58eec0f0f84afd436326f15ca00 /fs/sysv
parent1d5558b1f0de81f54ddee05f3793acc5260d107f (diff)
downloadlinux-410bd754cd73c4a2ac3856d9a03d7b08f9c906bf.tar.bz2
net/mlx5: Add retry mechanism to the command entry index allocation
It is possible that new command entry index allocation will temporarily fail. The new command holds the semaphore, so it means that a free entry should be ready soon. Add one second retry mechanism before returning an error. Patch "net/mlx5: Avoid possible free of command entry while timeout comp handler" increase the possibility to bump into this temporarily failure as it delays the entry index release for non-callback commands. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Signed-off-by: Eran Ben Elisha <eranbe@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions