diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2018-12-17 02:46:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-18 10:08:53 +0300 |
commit | c027c6b4e91f21dfa4feab91e2155c8403f49f5c (patch) | |
tree | 7e9eb27bce322cbd6a40836ba6a0ff70cec489e4 /tools/perf/scripts/python/stackcollapse.py | |
parent | e916b0815a11c6cbc82f2d8510982ea022628880 (diff) | |
download | linux-c027c6b4e91f21dfa4feab91e2155c8403f49f5c.tar.xz |
bnxt_en: get rid of num_stat_ctxs variable
For bnxt_en driver, stat_ctxs created will always be same as
cp_nr_rings. Remove extra variable that duplicates the value.
Also introduce bnxt_get_avail_stat_ctxs_for_en() helper to get
available stat_ctxs and bnxt_get_ulp_stat_ctxs() helper to return
number of stat_ctxs used by RDMA.
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