diff options
author | Malli Chilakala <mallikarjuna.chilakala@intel.com> | 2005-04-28 21:56:40 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-12 20:54:41 -0400 |
commit | 6dfbb6dd391139be9f1cd333877c6e2b03da4bba (patch) | |
tree | 2c2d4e22e332eb6602c294b7e65d63031e2db436 /drivers/net/ixgb/ixgb_main.c | |
parent | 0c73f58636385a4d3dc68d0d0829d4c39d61b621 (diff) |
[PATCH] ixgb: Mask RXO interrupt
Disable RXO interrupt to decrease recovery time when system is overloaded with data
Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
diff -up net-drivers-2.6/drivers/net/ixgb/ixgb_main.c net-drivers-2.6/drivers/net/ixgb.new/ixgb_main.c
Diffstat (limited to 'drivers/net/ixgb/ixgb_main.c')
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index 364a9e78b0cc..da6b9d6e6db9 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -224,8 +224,8 @@ ixgb_irq_enable(struct ixgb_adapter *adapter) | |||
224 | { | 224 | { |
225 | if(atomic_dec_and_test(&adapter->irq_sem)) { | 225 | if(atomic_dec_and_test(&adapter->irq_sem)) { |
226 | IXGB_WRITE_REG(&adapter->hw, IMS, | 226 | IXGB_WRITE_REG(&adapter->hw, IMS, |
227 | IXGB_INT_RXT0 | IXGB_INT_RXDMT0 | IXGB_INT_TXDW | | 227 | IXGB_INT_RXT0 | IXGB_INT_RXDMT0 | IXGB_INT_TXDW | |
228 | IXGB_INT_RXO | IXGB_INT_LSC); | 228 | IXGB_INT_LSC); |
229 | IXGB_WRITE_FLUSH(&adapter->hw); | 229 | IXGB_WRITE_FLUSH(&adapter->hw); |
230 | } | 230 | } |
231 | } | 231 | } |