summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-04-12 06:27:05 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-13 03:29:15 +0300
commitdd5b2498d845f925904cb2afabb6ba11bfc317c5 (patch)
tree076873b35f063ae0536ed7e52bc2585422594f74 /tools/perf/scripts/python/exported-sql-viewer.py
parente64718282c0030f7e0e17f614826c914fa422bf4 (diff)
downloadlinux-dd5b2498d845f925904cb2afabb6ba11bfc317c5.tar.xz
nfp: add a mutex lock for the vNIC ctrl BAR
Soon we will try to write to the vNIC mailbox without RTNL held. Add a new mutex to protect access to specific parts of the PCI control BAR. Move the mailbox size checking to the mailbox lock() helper, where it can be more effective (happen prior to potential overwrite of other data). Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions