diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2018-12-16 18:46:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-17 23:08:53 -0800 |
commit | c027c6b4e91f21dfa4feab91e2155c8403f49f5c (patch) | |
tree | 7e9eb27bce322cbd6a40836ba6a0ff70cec489e4 /CREDITS | |
parent | e916b0815a11c6cbc82f2d8510982ea022628880 (diff) | |
download | blackbird-op-linux-c027c6b4e91f21dfa4feab91e2155c8403f49f5c.tar.gz blackbird-op-linux-c027c6b4e91f21dfa4feab91e2155c8403f49f5c.zip |
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 'CREDITS')
0 files changed, 0 insertions, 0 deletions