2005-06-17 22:22:18 +04:00
|
|
|
.\" $NetBSD: eshconfig.8,v 1.7 2005/06/17 18:22:18 wiz Exp $
|
1998-05-16 22:55:17 +04:00
|
|
|
.\"
|
1998-05-17 20:47:26 +04:00
|
|
|
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
|
1998-05-16 22:55:17 +04:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Kevin Lahey of the Numerical Aerospace Simulation Facility,
|
|
|
|
.\" NASA Ames Research Center.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the NetBSD
|
|
|
|
.\" Foundation, Inc. and its contributors.
|
|
|
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
|
|
|
.\" contributors may be used to endorse or promote products derived
|
|
|
|
.\" from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2005-06-17 21:49:07 +04:00
|
|
|
.Dd June 17, 2005
|
1998-05-16 22:55:17 +04:00
|
|
|
.Dt ESHCONFIG 8
|
1999-03-22 21:43:46 +03:00
|
|
|
.Os
|
1998-05-16 22:55:17 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm eshconfig
|
|
|
|
.Nd configure Essential Communications' HIPPI network interface
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm eshconfig
|
2005-06-17 22:22:18 +04:00
|
|
|
.Op Fl estx
|
1998-05-16 22:55:17 +04:00
|
|
|
.Op Fl b Ar bytes
|
2002-01-19 06:12:18 +03:00
|
|
|
.Op Fl c Ar bytes
|
1998-05-16 22:55:17 +04:00
|
|
|
.Op Fl d Ar filename
|
2005-06-17 21:49:07 +04:00
|
|
|
.Op Fl i Ar usecs
|
1998-05-16 22:55:17 +04:00
|
|
|
.Op Fl m Ar bytes
|
|
|
|
.Op Fl r Ar bytes
|
|
|
|
.Op Fl u Ar filename
|
|
|
|
.Op Fl w Ar bytes
|
|
|
|
.Op Ar interface
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
is used to configure device-specific parameters and download new firmware
|
|
|
|
to the Essential Communications RoadRunner-based HIPPI network interface.
|
|
|
|
The interface is very sensitive to the DMA performance characteristics
|
2002-01-19 06:12:18 +03:00
|
|
|
of the host, and so requires careful tuning to achieve reasonable
|
|
|
|
performance.
|
1998-05-16 22:55:17 +04:00
|
|
|
In addition, firmware is likely to change frequently, which necessitates
|
|
|
|
a reasonably easy way to update that firmware.
|
|
|
|
.Pp
|
|
|
|
Available operands for
|
|
|
|
.Nm eshconfig :
|
|
|
|
.Bl -tag -width Ds
|
2005-06-17 21:49:07 +04:00
|
|
|
.It Fl b Ar bytes
|
1998-05-16 22:55:17 +04:00
|
|
|
Adjust the burst size for read (by NIC of host memory) DMA.
|
2005-06-17 21:49:07 +04:00
|
|
|
.It Fl c Ar bytes
|
1998-05-16 22:55:17 +04:00
|
|
|
Adjust the burst size for write (by NIC of host memory) DMA.
|
2005-06-17 21:49:07 +04:00
|
|
|
.It Fl d Ar filename
|
2002-01-19 06:12:18 +03:00
|
|
|
Filename for file to download into NIC firmware.
|
1998-05-16 22:55:17 +04:00
|
|
|
This must be a file in the standard Essential format, with :04 preceding
|
|
|
|
every line, and a tag line at the end indicating the characteristics
|
2002-01-19 06:12:18 +03:00
|
|
|
of the firmware file.
|
1998-05-16 22:55:17 +04:00
|
|
|
.It Fl e
|
2002-01-19 06:12:18 +03:00
|
|
|
Write data to EEPROM.
|
1998-05-16 22:55:17 +04:00
|
|
|
Normally, setting tuning parameters will only persist until the
|
|
|
|
system is rebooted.
|
|
|
|
Setting this parameter ensures that the changes will be written to
|
|
|
|
EEPROM.
|
2005-06-17 21:49:07 +04:00
|
|
|
.It Fl i Ar usecs
|
|
|
|
Interrupt delay in microseconds.
|
|
|
|
.It Fl m Ar bytes
|
1998-05-16 22:55:17 +04:00
|
|
|
Minimum number of bytes to DMA in one direction (read or write)
|
2005-06-17 22:22:18 +04:00
|
|
|
before allowing a DMA in the other direction.
|
|
|
|
Tuning this prevents one direction from dominating the flow of
|
|
|
|
bytes, and artificially throttling the NIC.
|
2005-06-17 21:49:07 +04:00
|
|
|
.It Fl r Ar bytes
|
1998-05-16 22:55:17 +04:00
|
|
|
Bytes before DMA starts for read (from host to NIC).
|
|
|
|
This controls how soon the DMA is triggered; until this many bytes
|
|
|
|
are requested, the DMA will not begin.
|
|
|
|
.It Fl s
|
2002-01-19 06:12:18 +03:00
|
|
|
Show statistics for the HIPPI NIC.
|
1998-05-16 22:55:17 +04:00
|
|
|
Repeat the option to suppress non-zero statistics.
|
|
|
|
.It Fl t
|
|
|
|
Show current tuning parameters on the host.
|
2005-06-17 21:49:07 +04:00
|
|
|
.It Fl u Ar filename
|
2002-01-19 06:12:18 +03:00
|
|
|
Name of file to which the NIC firmware should be uploaded.
|
1998-05-16 22:55:17 +04:00
|
|
|
Not currently supported.
|
2005-06-17 21:49:07 +04:00
|
|
|
.It Fl w Ar bytes
|
1998-05-16 22:55:17 +04:00
|
|
|
Number of bytes required before write (from NIC to host) DMA
|
|
|
|
is started.
|
|
|
|
Until this many bytes are ready to be written, the DMA will not start.
|
1998-11-20 20:23:27 +03:00
|
|
|
.It Fl x
|
2005-06-17 22:22:18 +04:00
|
|
|
Reset the NIC.
|
|
|
|
This is necessary for the HIPPI-FP support, as
|
1998-11-20 20:23:27 +03:00
|
|
|
.Xr ifconfig 8
|
|
|
|
will no longer physically reset the NIC when the interfaces goes
|
|
|
|
up and down.
|
|
|
|
.El
|
1998-05-16 22:55:17 +04:00
|
|
|
.Pp
|
|
|
|
Only the super-user may modify the configuration of a network interface.
|
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
Messages indicating the specified interface does not exist
|
|
|
|
or the user is not privileged and
|
|
|
|
tried to alter an interface's configuration.
|
|
|
|
.Sh SEE ALSO
|
2002-01-19 06:12:18 +03:00
|
|
|
.Xr esh 4 ,
|
|
|
|
.Xr ifconfig 8
|
1998-05-16 22:55:17 +04:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command first appeared in
|
2002-01-19 06:12:18 +03:00
|
|
|
.Nx 1.4 .
|