diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 99e0b34416e8..362541aa946e 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -2406,6 +2406,12 @@ static int __devinit ixgbe_set_interrupt_capability(struct ixgbe_adapter | |||
2406 | int vector, v_budget; | 2406 | int vector, v_budget; |
2407 | 2407 | ||
2408 | /* | 2408 | /* |
2409 | * Set the default interrupt throttle rate. | ||
2410 | */ | ||
2411 | adapter->rx_eitr = (1000000 / IXGBE_DEFAULT_ITR_RX_USECS); | ||
2412 | adapter->tx_eitr = (1000000 / IXGBE_DEFAULT_ITR_TX_USECS); | ||
2413 | |||
2414 | /* | ||
2409 | * It's easy to be greedy for MSI-X vectors, but it really | 2415 | * It's easy to be greedy for MSI-X vectors, but it really |
2410 | * doesn't do us much good if we have a lot more vectors | 2416 | * doesn't do us much good if we have a lot more vectors |
2411 | * than CPU's. So let's be conservative and only ask for | 2417 | * than CPU's. So let's be conservative and only ask for |