summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2022-11-17 10:07:20 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-11-22 05:14:34 +0300
commitaaf2e65cac7f2e1ae729c2fbc849091df9699f96 (patch)
tree73588cb38c88042c531b24eb8ce70db26fba5914 /tools/perf/scripts/python/export-to-postgresql.py
parent870c2481174b839e7159555127bc8b5a5d0699ba (diff)
downloadlinux-aaf2e65cac7f2e1ae729c2fbc849091df9699f96.tar.xz
net/mlx5: Fix handling of entry refcount when command is not issued to FW
In case command interface is down, or the command is not allowed, driver did not increment the entry refcount, but might have decrement as part of forced completion handling. Fix that by always increment and decrement the refcount to make it symmetric for all flows. Fixes: 50b2412b7e78 ("net/mlx5: Avoid possible free of command entry while timeout comp handler") Signed-off-by: Eran Ben Elisha <eranbe@nvidia.com> Signed-off-by: Moshe Shemesh <moshe@nvidia.com> Reported-by: Jack Wang <jinpu.wang@ionos.com> Tested-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions