]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:50 +0000 (20:46 -0700)
commit73938fd796ae8be595bd9ec74d2bd882639c152e
tree2ad883b667190e425fa193f5e23cf00638d1aa93
parentf4faba7d7f6fe5944895735de9c3704461fb6e82
qed: Reserve VF feature before PF

Orabug: 2593305326439680

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>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_dev.c