Skip to content

Commit

Permalink
e1000: Enble early receive (ERT) on 82573
Browse files Browse the repository at this point in the history
Enable early receives on 82573 for jumbo frame performance. Jumbo's
are only supported on 82573L with ASPM disabled.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
  • Loading branch information
Auke Kok authored and Jeff Garzik committed Dec 2, 2006
1 parent 87ca4e5 commit 21c4d5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1934,6 +1934,12 @@ e1000_configure_rx(struct e1000_adapter *adapter)
E1000_WRITE_REG(hw, RXCSUM, rxcsum);
}

/* enable early receives on 82573, only takes effect if using > 2048
* byte total frame size. for example only for jumbo frames */
#define E1000_ERT_2048 0x100
if (hw->mac_type == e1000_82573)
E1000_WRITE_REG(hw, ERT, E1000_ERT_2048);

/* Enable Receives */
E1000_WRITE_REG(hw, RCTL, rctl);
}
Expand Down

0 comments on commit 21c4d5e

Please sign in to comment.