d9237ae227
There are some constellations where Due to lack of resource allocation in MFW, There would be an insufficient number of L2 queues for all the VFs. This introduces a new feature ECORE_VF_L2_QUE which correctly numbers the number of VF queues. Notice it might be larger than the actual number of VFs in configuration space, in which case its the ecore client responsibility not to try activating that many. As part of the fix, also correct the nubmering of the VF queues. As their numbering is dependent on the SBs of the PF, which might only be partially used by L2 [as half would be assigned for RDMA which doesn't require L2 queues], we make the numbering consecutive with that of the L2 queues only. Fixes: ec94dbc57362 ("qede: add base driver") Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>