summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-01-17 11:21:10 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-17 22:48:26 +0300
commit6a1eef5b9079742ecfad647892669bd5fe6b0e3f (patch)
treee28b64a9c1b07b4582b2d19f66e15fe4f3c2670c /drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
parent674f50a5b026151f4109992cb594d89f5334adde (diff)
downloadlinux-6a1eef5b9079742ecfad647892669bd5fe6b0e3f.tar.xz
bnxt_en: Reserve resources for RFS.
In bnxt_rfs_capable(), add call to reserve vnic resources to support NTUPLE. Return true if we can successfully reserve enough vnics. Otherwise, reserve the minimum 1 VNIC for normal operations not supporting NTUPLE and return false. Also, suppress warning message about not enough resources for NTUPLE when only 1 RX ring is in use. NTUPLE filters by definition require multiple RX rings. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c')
0 files changed, 0 insertions, 0 deletions