mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
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.
This commit is contained in:
parent
99b3da9348
commit
95b44faffd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6295
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user