Opened 6 years ago
Closed 6 years ago
#48 closed System Defect (wontfix)
if_em driver
| Reported by: | jon@… | Owned by: | kris |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | System Configuration | Version: | 1.4 |
| Keywords: | if_em | Cc: |
Description
There is a bug in the if_em driver that chips with 1.4RC. This causes latency problems and makes it hard to use on late thinkpads among others. The following should fix the problem:
--- if_em.dist.c Wed Jan 17 17:59:46 2007
+++ if_em.c Wed Jan 17 18:03:13 2007
@@ -3348,6 +3348,10 @@
E1000_WRITE_REG(&adapter->hw, RXCSUM, reg_rxcsum);
}
+ /* TEMPORARY WORKAROUND for X60 */
+ if (adapter->hw.mac_type == em_82573)
+ E1000_WRITE_REG(&adapter->hw, RDTR, 32);
+
/* Enable Receives */
E1000_WRITE_REG(&adapter->hw, RCTL, reg_rctl);
/*
Jon
Change History (2)
comment:1 Changed 6 years ago by tim
- Milestone 1.5 deleted
- Owner set to kris
comment:2 Changed 6 years ago by kris
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

The patch may work, but at this point we are trying to not include any extra 3rd party kernel patches, so we don't deviate too much from 6-STABLE.
However, if this patch works well like you say, then it should probably be included into FBSD 6-Stable. You may want to submit it over to the freebsd-stable mailing list, so they can inspect and include it :)
http://lists.freebsd.org/mailman/listinfo/freebsd-stable