diff options
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c index f5b9d2062573..d2dabae5b40c 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +++ b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | |||
@@ -2077,6 +2077,8 @@ int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac) | |||
2077 | } | 2077 | } |
2078 | ether_addr_copy(vf->default_lan_addr.addr, mac); | 2078 | ether_addr_copy(vf->default_lan_addr.addr, mac); |
2079 | vf->pf_set_mac = true; | 2079 | vf->pf_set_mac = true; |
2080 | /* Force the VF driver stop so it has to reload with new MAC address */ | ||
2081 | i40e_vc_disable_vf(pf, vf); | ||
2080 | dev_info(&pf->pdev->dev, "Reload the VF driver to make this change effective.\n"); | 2082 | dev_info(&pf->pdev->dev, "Reload the VF driver to make this change effective.\n"); |
2081 | ret = 0; | 2083 | ret = 0; |
2082 | 2084 | ||