summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2015-12-27 23:19:27 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-12-28 05:57:28 (GMT)
commitb72d4a68c443e29cb59e15a1a9b2c2f4bf802831 (patch)
tree8f311557800a7044893c019cc3c66f5659b161f3 /drivers/hid
parent4a21b49b34c01137a67bf0fe185c5d0fff747e4d (diff)
downloadlinux-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