aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kernel/ftrace.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-12-09 07:01:02 -0500
committerDavid S. Miller <davem@davemloft.net>2018-12-09 11:46:58 -0800
commite30fbc33190b8ba1d6e8ff4864627f7414b5ca99 (patch)
treea2196f1b3b09898c84e09abcc2be33e804da4368 /arch/s390/kernel/ftrace.c
parentc0b8cda05e1d8151f57a79e525c2c7d51cec2f4e (diff)
bnxt_en: Fix _bnxt_get_max_rings() for 57500 chips.
The CP rings are accounted differently on the new 57500 chips. There must be enough CP rings for the sum of RX and TX rings on the new chips. The current logic may be over-estimating the RX and TX rings. The output parameter max_cp should be the maximum NQs capped by MSIX vectors available for networking in the context of 57500 chips. The existing code which uses CMPL rings capped by the MSIX vectors works most of the time but is not always correct. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390/kernel/ftrace.c')
0 files changed, 0 insertions, 0 deletions