diff options
author | dg <dg@FreeBSD.org> | 1995-02-10 06:06:42 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-02-10 06:06:42 +0000 |
commit | 54d8522bec3a462e74c5c2f9ce573a6f7308c516 (patch) | |
tree | f6ff2a0d06681a85ea1f6fa68c7e83eace510b03 /sys/dev/de | |
parent | b52377f6a8831a3e6df2b835e5b0fddaeff4f12c (diff) | |
download | FreeBSD-src-54d8522bec3a462e74c5c2f9ce573a6f7308c516.zip FreeBSD-src-54d8522bec3a462e74c5c2f9ce573a6f7308c516.tar.gz |
Turn on "Capture Effect" avoidence. This modifies the collision algorithm
so that the interface won't have the effect of blocking other senders
during bulk transfers (i.e. hogging the ethernet). It improves performance
in all of my tests by reducing collisions and I believe it to be a Good
Thing.
Diffstat (limited to 'sys/dev/de')
-rw-r--r-- | sys/dev/de/if_de.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index c7887a2..1c332dc 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.14 1995/02/02 12:36:15 davidg Exp $ + * $Id: if_de.c,v 1.15 1995/02/02 13:12:13 davidg Exp $ * */ @@ -315,6 +315,7 @@ tulip_init( tulip_start(&sc->tulip_if); } sc->tulip_cmdmode |= TULIP_CMD_THRSHLD160; + sc->tulip_cmdmode |= TULIP_CMD_CAPTREFFCT; *sc->tulip_csrs.csr_intr = sc->tulip_intrmask; *sc->tulip_csrs.csr_command = sc->tulip_cmdmode; } else { |