diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2018-12-16 18:46:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-17 23:08:53 -0800 |
commit | 780baad44f0f1e87df5508d1ad5a87d359fb96d1 (patch) | |
tree | bfc890f90af043ab457c36ba704af5876ce08c79 /tools/perf/scripts/python/stackcollapse.py | |
parent | f4e896142de8304b433fd94f7eed55750c34defd (diff) |
bnxt_en: Reserve 1 stat_ctx for RDMA driver.
bnxt_en requires same number of stat_ctxs as CP rings but RDMA
requires only 1 stat_ctx. Also add a new parameter resv_stat_ctxs
to better keep track of stat_ctxs reserved including resources used
by RDMA. Add a stat_ctxs parameter to all the relevant resource
reservation functions so we can reserve the correct number of
stat_ctxs.
Prior to this patch, we were not reserving the extra stat_ctx for
RDMA and RDMA would not work on the new 57500 chips.
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
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