diff options
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 221aa4795017..657babe82c9c 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c | |||
@@ -3703,8 +3703,11 @@ static int i40e_up_complete(struct i40e_vsi *vsi) | |||
3703 | 3703 | ||
3704 | if ((pf->hw.phy.link_info.link_info & I40E_AQ_LINK_UP) && | 3704 | if ((pf->hw.phy.link_info.link_info & I40E_AQ_LINK_UP) && |
3705 | (vsi->netdev)) { | 3705 | (vsi->netdev)) { |
3706 | netdev_info(vsi->netdev, "NIC Link is Up\n"); | ||
3706 | netif_tx_start_all_queues(vsi->netdev); | 3707 | netif_tx_start_all_queues(vsi->netdev); |
3707 | netif_carrier_on(vsi->netdev); | 3708 | netif_carrier_on(vsi->netdev); |
3709 | } else if (vsi->netdev) { | ||
3710 | netdev_info(vsi->netdev, "NIC Link is Down\n"); | ||
3708 | } | 3711 | } |
3709 | i40e_service_event_schedule(pf); | 3712 | i40e_service_event_schedule(pf); |
3710 | 3713 | ||
@@ -4153,8 +4156,9 @@ static void i40e_link_event(struct i40e_pf *pf) | |||
4153 | if (new_link == old_link) | 4156 | if (new_link == old_link) |
4154 | return; | 4157 | return; |
4155 | 4158 | ||
4156 | netdev_info(pf->vsi[pf->lan_vsi]->netdev, | 4159 | if (!test_bit(__I40E_DOWN, &pf->vsi[pf->lan_vsi]->state)) |
4157 | "NIC Link is %s\n", (new_link ? "Up" : "Down")); | 4160 | netdev_info(pf->vsi[pf->lan_vsi]->netdev, |
4161 | "NIC Link is %s\n", (new_link ? "Up" : "Down")); | ||
4158 | 4162 | ||
4159 | /* Notify the base of the switch tree connected to | 4163 | /* Notify the base of the switch tree connected to |
4160 | * the link. Floating VEBs are not notified. | 4164 | * the link. Floating VEBs are not notified. |