summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-06-29 18:16:46 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-01 02:00:26 +0300
commitd77b1ad8e87dc5a6cd0d9158b097a4817946ca3b (patch)
treec3dd6330e49694541c2225c4a06a07d5f48950fa /tools/perf/scripts/python/stackcollapse.py
parentd27e2ca1166aefd54d9c48fb6647dee8115a5dfc (diff)
downloadlinux-d77b1ad8e87dc5a6cd0d9158b097a4817946ca3b.tar.xz
bnxt_en: Fix statistics context reservation logic for RDMA driver.
The current logic assumes that the RDMA driver uses one statistics context adjacent to the ones used by the network driver. This assumption is not true and the statistics context used by the RDMA driver is tied to its MSIX base vector. This wrong assumption can cause RDMA driver failure after changing ethtool rings on the network side. Fix the statistics reservation logic accordingly. Fixes: 780baad44f0f ("bnxt_en: Reserve 1 stat_ctx for RDMA driver.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions