bnxt_en: Add new VF resource allocation strategy mode.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 5 Aug 2018 20:51:50 +0000 (16:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 00:08:26 +0000 (17:08 -0700)
commitbf82736da3c376c03a42c74ea6fa971e89740d7a
treeb85f798b3897ac83390f4d7824816f3f0bbd0989
parenta1ef4a7920549d015128a8a49d7c9e654d197c98
bnxt_en: Add new VF resource allocation strategy mode.

The new mode is "minimal-static" to be used when resources are more
limited to support a large number of VFs, for example  The PF driver
will provision guaranteed minimum resources of 0.  Each VF has no
guranteed resources until it tries to reserve resources during device
open.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c