diff options
author | 2018-02-15 21:20:13 -0800 | |
---|---|---|
committer | 2018-02-20 11:59:47 -0500 | |
commit | 7374fbd9e167ddc4f380d056ca74518be5d45518 (patch) | |
tree | 6481dd80c9b23c758b48285cb462ce72e6909034 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/bnxt_re: Fix system crash during load/unload (diff) | |
download | linux-dev-7374fbd9e167ddc4f380d056ca74518be5d45518.tar.xz linux-dev-7374fbd9e167ddc4f380d056ca74518be5d45518.zip |
RDMA/bnxt_re: Avoid system hang during device un-reg
BNXT_RE_FLAG_TASK_IN_PROG doesn't handle multiple work
requests posted together. Track schedule of multiple
workqueue items by maintaining a per device counter
and proceed with IB dereg only if this counter is zero.
flush_workqueue is no longer required from
NETDEV_UNREGISTER path.
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions