.\"
.\" This manpage can be viewed using `groff -Tascii -man sk98lin.4 | less`
.\"
-.TH SK98LIN 4 2012-08-05 "Linux" "Linux Programmer's Manual"
+.TH SK98LIN 4 2020-08-13 "Linux" "Linux Programmer's Manual"
.SH NAME
sk98lin \- Marvell/SysKonnect Gigabit Ethernet driver v6.21
.SH SYNOPSIS
.hy 0
.BR Note :
This obsolete driver was removed from the kernel in version 2.6.26.
-
+.PP
.B sk98lin
is the Gigabit Ethernet driver for
Marvell and SysKonnect network adapter cards.
It supports SysKonnect SK-98xx/SK-95xx
compliant Gigabit Ethernet Adapter and
any Yukon compliant chipset.
-
+.PP
When loading the driver using insmod,
parameters for the network adapter cards
might be stated as a sequence of comma separated commands.
If for instance two network adapters are installed and AutoNegotiation on
Port A of the first adapter should be ON,
but on the Port A of the second adapter switched OFF, one must enter:
-
+.PP
insmod sk98lin.o AutoNeg_A=On,Off
-
+.PP
After
.B sk98lin
is bound to one or more adapter cards and the
.I /proc/net/sk98lin
for all ports of the installed network adapter cards.
Those files are named
-.I eth[x]
-whereas
+.IR eth[x] ,
+where
.I x
is the number of the interface that has been assigned to a
dedicated port by the system.
-
+.PP
If loading is finished, any desired IP address can be
assigned to the respective
.I eth[x]
This causes the adapter to connect to the Ethernet and to display a status
message on the console saying "ethx: network connection up using port y"
followed by the configured or detected connection parameters.
-
+.PP
The
.B sk98lin
also supports large frames (also called jumbo frames).
If for instance eth0 needs an IP
address and a large frame MTU size,
the following two commands might be used:
-
+.PP
ifconfig eth0 10.1.1.1
ifconfig eth0 mtu 9000
-
+.PP
Those two commands might even be combined into one:
-
+.PP
ifconfig eth0 10.1.1.1 mtu 9000
-
+.PP
Note that large frames can be used only if permitted by
your network infrastructure.
This means, that any switch being used in your Ethernet must
In addition to the switches inside the network,
all network adapters that are to be used must also be
enabled regarding jumbo frames.
-If an adapter is not set to receive large frames it will simply drop them.
-
+If an adapter is not set to receive large frames, it will simply drop them.
+.PP
Switching back to the standard Ethernet frame size can be done by using the
.BR ifconfig (8)
command again:
-
+.PP
ifconfig eth0 mtu 1500
-
+.PP
The Marvell/SysKonnect Gigabit Ethernet driver for Linux is able to
support VLAN and Link Aggregation according to
IEEE standards 802.1, 802.1q, and 802.3ad.
Those features are available only after installation of open source modules
which can be found on the Internet:
-
+.PP
.IR VLAN \c
:
-.UR http://www.candelatech.com\:/~greear\:/vlan.html
+.UR http://www.candelatech.com\:/\(tigreear\:/vlan.html
.UE
.br
.I Link
.IR Aggregation \c
:
-.UR http://www.st.rim.or.jp\:/~yumo
+.UR http://www.st.rim.or.jp\:/\(tiyumo
.UE
-
-.br
+.PP
Note that Marvell/SysKonnect does not offer any support for these
open source modules and does not take the responsibility for any
kind of failures or problems arising when using these modules.
Possible values are:
.IR 10 ,
.IR 100 ,
-.I 1000
+.IR 1000 ,
or
-.I Auto
-whereas
+.IR Auto ;
.I Auto
is the default.
Usually, the speed is negotiated between the two ports
Possible values are:
.IR 10 ,
.IR 100 ,
-.I 1000
+.IR 1000 ,
or
-.I Auto
-whereas
+.IR Auto ;
.I Auto
is the default.
Usually, the speed is negotiated between the two ports during link
Enables or disables the use of autonegotiation of port A of an adapter card.
Possible values are:
.IR On ,
-.I Off
+.IR Off ,
or
-.I Sense
-whereas
+.IR Sense ;
.I On
is the default.
The
Enables or disables the use of autonegotiation of port B of an adapter card.
Possible values are:
.IR On ,
-.I Off
+.IR Off ,
or
-.I Sense
-whereas
+.IR Sense ;
.I On
is the default.
The
of an adapter card.
Possible values are:
.IR Half ,
-.I Full
+.IR Full ,
or
-.I Both
-whereas
+.IR Both ;
.I Both
is the default.
This parameter is relevant only if AutoNeg_A of port A is not set to
of an adapter card.
Possible values are:
.IR Half ,
-.I Full
+.IR Full ,
or
-.I Both
-whereas
+.IR Both ;
.I Both
is the default.
This parameter is relevant only if AutoNeg_B of port B is not set to
Possible values are:
.IR Sym ,
.IR SymOrRem ,
-.I LocSend
+.IR LocSend ,
or
-.I None
-whereas
+.IR None ;
.I SymOrRem
is the default.
The different modes have the following meaning:
-
-.br
+.IP
.I Sym
= Symmetric
both link partners are allowed to send PAUSE frames
.I None
= None
no link partner is allowed to send PAUSE frames
-
+.IP
Note that this parameter is ignored if AutoNeg_A is set to
.IR Off .
.TP
Possible values are:
.IR Sym ,
.IR SymOrRem ,
-.I LocSend
+.IR LocSend ,
or
-.I None
-whereas
+.IR None ;
.I SymOrRem
is the default.
The different modes have the following meaning:
-
+.IP
.I Sym
= Symmetric
both link partners are allowed to send PAUSE frames
= None
no link partner is allowed to send PAUSE frames
.br
-
+.IP
Note that this parameter is ignored if AutoNeg_B is set to
.IR Off .
.TP
while the other must be the slave.
Possible values are:
.IR Auto ,
-.I Master
+.IR Master ,
or
-.I Slave
-whereas
+.IR Slave ;
.I Auto
is the default.
Usually, the role of a port is negotiated between two ports during
while the other must be the slave.
Possible values are:
.IR Auto ,
-.I Master
+.IR Master ,
or
-.I Slave
-whereas
+.IR Slave ;
.I Auto
is the default.
Usually, the role of a port is negotiated between
The different values of this variable reflect the
most meaningful combinations of port parameters.
Possible values and their corresponding combination of per-port parameters:
-
+.IP
.nf
ConType | DupCap AutoNeg FlowCtrl Role Speed
--------+-------------------------------------------
\fIAuto\fP | Both On SymOrRem Auto Auto
-.br
\fI100FD\fP | Full Off None Auto 100
-.br
\fI100HD\fP | Half Off None Auto 100
-.br
\fI10FD\fP | Full Off None Auto 10
-.br
\fI10HD\fP | Half Off None Auto 10
-
.fi
+.IP
Stating any other port parameter together with this
.I ConType
parameter will result in a merged configuration of those settings.
parameter, which is explained later below.
Possible moderation modes are:
.IR None ,
-.I Static
+.IR Static ,
or
-.I Dynamic
-whereas
+.IR Dynamic ;
.I None
is the default.
The different modes have the following meaning:
-
+.IP
.I None
No interrupt moderation is applied on the adapter card.
Therefore, each transmit or receive interrupt is served immediately
as soon as it appears on the interrupt line of the adapter card.
-
-.br
+.IP
.I Static
Interrupt moderation is applied on the adapter card.
All transmit and receive interrupts are queued until
particular interface.
In addition, the duration of the moderation interval has a fixed
length that never changes while the driver is operational.
-
-.br
+.IP
.I Dynamic
Interrupt moderation might be applied on the adapter card,
depending on the load of the system.
the driver tries to shield the system against too much network
load by enabling interrupt moderation.
If\(emat a later time\(emthe CPU utilization decreases
-again (or if the network load is negligible) the interrupt
+again (or if the network load is negligible), the interrupt
moderation will automatically be disabled.
-
+.IP
Interrupt moderation should be used when the driver has to
handle one or more interfaces with a high network load,
which\(emas a consequence\(emleads also to a high CPU utilization.
When moderation is applied in such high network load situations,
-CPU load might be reduced by 20-30% on slow computers.
-
+CPU load might be reduced by 20\(en30% on slow computers.
+.IP
Note that the drawback of using interrupt moderation is an increase of
the round-trip-time (RTT), due to the queuing and serving of
interrupts at dedicated moderation times.
Possible values for this parameter are in the range of
30...40000 (interrupts per second).
The default value is 2000.
-
+.IP
This parameter is used only if either static or dynamic interrupt moderation
is enabled on a network adapter card.
This parameter is ignored if no moderation is applied.
-
+.IP
Note that the duration of the moderation interval is to be chosen with care.
At first glance, selecting a very long duration (e.g., only 100 interrupts per
second) seems to be meaningful, but the increase of packet-processing delay
Possible values are:
.I A
or
-.I B
-whereas
+.IR B ;
.I A
is the default.
.TP
Possible values are:
.IR CheckLinkState ,
.IR CheckLocalPort ,
-.I CheckSeg
+.IR CheckSeg ,
or
-.I DualNet
-whereas
+.IR DualNet ;
.I CheckLinkState
is the default.
The different modes have the following meaning:
-
+.IP
.I CheckLinkState
Check link state only: RLMT uses the link state reported by the adapter
hardware for each individual port to determine whether a port can be used
for all network traffic or not.
-
-.br
+.IP
.I CheckLocalPort
In this mode, RLMT monitors the network path between the two
ports of an adapter by regularly exchanging packets between them.
This mode requires a network configuration in which the
two ports are able to "see" each other (i.e., there
must not be any router between the ports).
-
-.br
+.IP
.I CheckSeg
Check local port and segmentation:
This mode supports the same functions as the CheckLocalPort
Therefore, this mode is to be used only if Gigabit Ethernet
switches are installed on the network that have been
configured to use the Spanning Tree protocol.
-
-.br
+.IP
.I DualNet
In this mode, ports A and B are used as separate devices.
If you have a dual port adapter, port A will be configured as
Both ports can be used independently with distinct IP addresses.
The preferred port setting is not used.
RLMT is turned off.
-
+.IP
Note that RLMT modes
.I CheckLocalPort
and
.SH FILES
.TP
.I /proc/net/sk98lin/eth[x]
-.br
The statistics file of a particular interface of an adapter card.
It contains generic information about the adapter card plus a detailed
summary of all transmit and receive counters.
.TP
.I /usr/src/linux/Documentation/networking/sk98lin.txt
-.br
This is the
.I README
file of the