diff options
author | Michael Chan <mchan@broadcom.com> | 2015-12-27 23:19:27 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-28 05:57:28 (GMT) |
commit | b72d4a68c443e29cb59e15a1a9b2c2f4bf802831 (patch) | |
tree | 8f311557800a7044893c019cc3c66f5659b161f3 /drivers/hid | |
parent | 4a21b49b34c01137a67bf0fe185c5d0fff747e4d (diff) | |
download | linux-b72d4a68c443e29cb59e15a1a9b2c2f4bf802831.tar.xz |
bnxt_en: Keep track of the ring group resource.
Newer firmware will return the ring group resource when we call
hwrm_func_qcaps(). To be compatible with older firmware, use the
number of tx rings as the number of ring groups if the older firmware
returns 0. When determining how many rx rings we can support, take
the ring group resource in account as well in _bnxt_get_max_rings().
Divide and assign the ring groups to VFs.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions