Commit b64ba084 authored by Anjali Singhai Jain's avatar Anjali Singhai Jain Committed by Jeff Kirsher

i40e: Re enable Main VSI loopback setting in the reset path

There is an order in which this should happen. It turns out that FW will
not let you change the Loopback setting of the VSI with update VSI prior
to the VEB creation.

Change-ID: I7614ddff8b4c37702930c02f16f8c346aaa64bd1
Signed-off-by: default avatarAnjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: default avatarJim Young <jamesx.m.young@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 79c21a82
...@@ -5888,6 +5888,9 @@ static int i40e_reconstitute_veb(struct i40e_veb *veb) ...@@ -5888,6 +5888,9 @@ static int i40e_reconstitute_veb(struct i40e_veb *veb)
if (ret) if (ret)
goto end_reconstitute; goto end_reconstitute;
/* Enable LB mode for the main VSI now that it is on a VEB */
i40e_enable_pf_switch_lb(pf);
/* create the remaining VSIs attached to this VEB */ /* create the remaining VSIs attached to this VEB */
for (v = 0; v < pf->num_alloc_vsi; v++) { for (v = 0; v < pf->num_alloc_vsi; v++) {
if (!pf->vsi[v] || pf->vsi[v] == ctl_vsi) if (!pf->vsi[v] || pf->vsi[v] == ctl_vsi)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment