|
@@ -7319,7 +7319,7 @@ static int i40e_sw_init(struct i40e_pf *pf)
|
|
|
|
|
|
#endif /* I40E_FCOE */
|
|
#endif /* I40E_FCOE */
|
|
#ifdef CONFIG_PCI_IOV
|
|
#ifdef CONFIG_PCI_IOV
|
|
- if (pf->hw.func_caps.num_vfs) {
|
|
|
|
|
|
+ if (pf->hw.func_caps.num_vfs && pf->hw.partition_id == 1) {
|
|
pf->num_vf_qps = I40E_DEFAULT_QUEUES_PER_VF;
|
|
pf->num_vf_qps = I40E_DEFAULT_QUEUES_PER_VF;
|
|
pf->flags |= I40E_FLAG_SRIOV_ENABLED;
|
|
pf->flags |= I40E_FLAG_SRIOV_ENABLED;
|
|
pf->num_req_vfs = min_t(int,
|
|
pf->num_req_vfs = min_t(int,
|