summaryrefslogtreecommitdiff
path: root/kernel/async.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2015-12-27 18:19:27 -0500
committerDavid S. Miller <davem@davemloft.net>2015-12-28 00:57:28 -0500
commitb72d4a68c443e29cb59e15a1a9b2c2f4bf802831 (patch)
tree8f311557800a7044893c019cc3c66f5659b161f3 /kernel/async.c
parent4a21b49b34c01137a67bf0fe185c5d0fff747e4d (diff)
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 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions