summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-02-20 23:43:38 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-21 01:11:54 +0300
commit85750d74fba5a7c31309c038c5f9f019edc6ea31 (patch)
treee3194d9387b34055cd809dc412b194f460f8c049 /tools/perf/scripts/python/export-to-postgresql.py
parentafe981d664aeeebc8d1bcbd7d2070b5432edaecb (diff)
downloadlinux-85750d74fba5a7c31309c038c5f9f019edc6ea31.tar.xz
qed: Don't allocate SBs using main PTT
Flows accessing registers require the flow to hold a PTT entry. To protect 'major' load/unload flows a main_ptt is pre-allocated to guarantee such flows wouldn't be blocked by PTT being unavailable. Status block initialization currently uses the main_ptt which is incorrect, as this flow might run concurrently to others [E.g., loading qedr while toggling qede]. That would have dire effects as it means registers' access to device breaks and further read/writes might access incorrect addresses. Instead, when initializing status blocks acquire/release a PTT as part of the flow. Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions