]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
qed: Reserve VF feature before PF
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Thu, 23 Mar 2017 13:50:20 +0000 (15:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 18:53:30 +0000 (11:53 -0700)
commitdec26533ae5b00f3f15759bc195cae6fe89a1f42
tree6743dd92fab93d2e7f18d957ed1697c416a28007
parent810bb1f0d32e6d1d30580d4812409133ebc6fb8e
qed: Reserve VF feature before PF

Align the driver feature distribution with the flow utilized
by the management firmware - first reserve L2 queues for
VFs and use all the remaining for the PF.

The current distribution might lead to PFs with an enormous
amount of queues, but at the same time leave us with insufficient
resources for starting all VFs.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c