net/qede/base: allocate VF queues before PF
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:29:44 +0000 (18:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commite41266b57cfaf00cc9e1c2133a4c5e12dc661f95
tree13f76f82b4b831cdadfacd91fe10313f2892ab6d
parent03637634ef45dd78c97976b4724d3d5f856cd2fc
net/qede/base: allocate VF queues before PF

Change the order by which we allocate the resources to align with
management FW by first allocating the VF l2 queues and only
afterwards use what's left for the PF.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c