mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
i40e: fix annoying message
The driver was printing a message about not being able to assign VMDq because of a lack of MSI-X vectors. This was because a line was missing that initialized a variable, simply a merge error. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
74a6c66565
commit
e9e53662d8
@ -7911,6 +7911,7 @@ static int i40e_sw_init(struct i40e_pf *pf)
|
|||||||
if (pf->hw.func_caps.vmdq) {
|
if (pf->hw.func_caps.vmdq) {
|
||||||
pf->num_vmdq_vsis = I40E_DEFAULT_NUM_VMDQ_VSI;
|
pf->num_vmdq_vsis = I40E_DEFAULT_NUM_VMDQ_VSI;
|
||||||
pf->flags |= I40E_FLAG_VMDQ_ENABLED;
|
pf->flags |= I40E_FLAG_VMDQ_ENABLED;
|
||||||
|
pf->num_vmdq_qps = i40e_default_queues_per_vmdq(pf);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef I40E_FCOE
|
#ifdef I40E_FCOE
|
||||||
|
Loading…
Reference in New Issue
Block a user