Lines 1328-1336
Link Here
|
1328 |
/* Don't lose promiscuous settings */ |
1328 |
/* Don't lose promiscuous settings */ |
1329 |
igb_set_promisc(adapter); |
1329 |
igb_set_promisc(adapter); |
1330 |
|
1330 |
|
1331 |
ifp->if_drv_flags |= IFF_DRV_RUNNING; |
|
|
1332 |
ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; |
1333 |
|
1334 |
callout_reset(&adapter->timer, hz, igb_local_timer, adapter); |
1331 |
callout_reset(&adapter->timer, hz, igb_local_timer, adapter); |
1335 |
e1000_clear_hw_cntrs_base_generic(&adapter->hw); |
1332 |
e1000_clear_hw_cntrs_base_generic(&adapter->hw); |
1336 |
|
1333 |
|
Lines 1356-1361
Link Here
|
1356 |
/* Set Energy Efficient Ethernet */ |
1353 |
/* Set Energy Efficient Ethernet */ |
1357 |
if (adapter->hw.phy.media_type == e1000_media_type_copper) |
1354 |
if (adapter->hw.phy.media_type == e1000_media_type_copper) |
1358 |
e1000_set_eee_i350(&adapter->hw); |
1355 |
e1000_set_eee_i350(&adapter->hw); |
|
|
1356 |
|
1357 |
ifp->if_drv_flags |= IFF_DRV_RUNNING; |
1358 |
ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; |
1359 |
} |
1359 |
} |
1360 |
|
1360 |
|
1361 |
static void |
1361 |
static void |
Lines 1570-1575
Link Here
|
1570 |
E1000_WRITE_REG(&adapter->hw, E1000_EIMC, que->eims); |
1570 |
E1000_WRITE_REG(&adapter->hw, E1000_EIMC, que->eims); |
1571 |
++que->irqs; |
1571 |
++que->irqs; |
1572 |
|
1572 |
|
|
|
1573 |
if (!(adapter->ifp->if_drv_flags & IFF_DRV_RUNNING)) { |
1574 |
return; |
1575 |
} |
1576 |
more_rx = igb_rxeof(que, adapter->rx_process_limit, NULL); |
1577 |
|
1573 |
IGB_TX_LOCK(txr); |
1578 |
IGB_TX_LOCK(txr); |
1574 |
igb_txeof(txr); |
1579 |
igb_txeof(txr); |
1575 |
#if __FreeBSD_version >= 800000 |
1580 |
#if __FreeBSD_version >= 800000 |
Lines 1583-1590
Link Here
|
1583 |
#endif |
1588 |
#endif |
1584 |
IGB_TX_UNLOCK(txr); |
1589 |
IGB_TX_UNLOCK(txr); |
1585 |
|
1590 |
|
1586 |
more_rx = igb_rxeof(que, adapter->rx_process_limit, NULL); |
|
|
1587 |
|
1588 |
if (adapter->enable_aim == FALSE) |
1591 |
if (adapter->enable_aim == FALSE) |
1589 |
goto no_calc; |
1592 |
goto no_calc; |
1590 |
/* |
1593 |
/* |