]> git.baikalelectronics.ru Git - 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)
commitd0f44faa9a9a86e03292cba0fc45de845bab60c6
tree6743dd92fab93d2e7f18d957ed1697c416a28007
parent2534431aadc75c7ca470820ea335a761a9b79baa
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