commit | ac3158cb01084aa654222f1ad970b6c1af3cef98 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Mon May 04 04:50:28 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon May 04 10:44:10 2020 -0700 |
tree | 4292a4a82edf7976a7daa4fda51211a8308bd8b9 | |
parent | 460c2577aaf349f4e49eaf2b9ec3d8c52a619ef5 [diff] |
bnxt_en: Allocate TQM ring context memory according to fw specification. Newer firmware spec. will specify the number of TQM rings to allocate context memory for. Use the firmware specified value and fall back to the old value derived from bp->max_q if it is not available. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>