summaryrefslogtreecommitdiff
path: root/kernel/kallsyms.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-12-09 07:01:01 -0500
committerDavid S. Miller <davem@davemloft.net>2018-12-09 11:46:58 -0800
commitc0b8cda05e1d8151f57a79e525c2c7d51cec2f4e (patch)
tree330aff091d8869e8d04e81347c9c775c4220583f /kernel/kallsyms.c
parent75720e6323a1d195ae3ebf1a7b5e17c2e687f552 (diff)
bnxt_en: Fix NQ/CP rings accounting on the new 57500 chips.
The new 57500 chips have introduced the NQ structure in addition to the existing CP rings in all chips. We need to introduce a new bnxt_nq_rings_in_use(). On legacy chips, the 2 functions are the same and one will just call the other. On the new chips, they refer to the 2 separate ring structures. The new function is now called to determine the resource (NQ or CP rings) associated with MSIX that are in use. On 57500 chips, the RDMA driver does not use the CP rings so we don't need to do the subtraction adjustment. Fixes: 41e8d7983752 ("bnxt_en: Modify the ring reservation functions for 57500 series chips.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions