📄 sk98lin.4
字号:
,.IR SymOrRem,.IR LocSendor.IR Nonewhereby.IR SymOrRemis the default. The different modes have the following meaning:.IR Sym= Symmetric both link partners are allowed to send PAUSE frames.br.IR SymOrRem= SymmetricOrRemote both or only remote partner are allowed to send PAUSE frames.br.IR LocSend= LocalSend only local link partner is allowed to send PAUSE frames.br.IR None= None no link partner is allowed to send PAUSE frames.brNote that this parameter is ignored if AutoNeg_B is set to.IR Off ..TP.BI Role_A= i,j,...This parameter is only valid for 1000Base-T adapter cards. For two 1000Base-T ports to communicate, one must take the role of the master (providing timing information), while the other must be the slave. Possible values are:.IR Auto,.IR Masteror.IR Slavewhereby.IR Autois the default. Usually, the role of a port is negotiated between two ports during link establishment, but if that fails the port A of an adapter card can be forced to a specific setting with this parameter. .TP.BI Role_B= i,j,...This parameter is only valid for 1000Base-T adapter cards. For two 1000Base-T ports to communicate, one must take the role of the master (providing timing information), while the other must be the slave. Possible values are:.IR Auto,.IR Masteror.IR Slavewhereby.IR Autois the default. Usually, the role of a port is negotiated between two ports during link establishment, but if that fails the port B of an adapter card can be forced to a specific setting with this parameter. .TP.BI ConType= i,j,...This parameter (for copper adapters only) is a combination of all five per-port parameters within one single parameter. This simplifies the configuration of both ports of an adapter card. The different values of this variable reflect the most meaningful combinations of port parameters. Possible values and their corresponding combination of per-port parameters:.br.ad lConType | DupCap AutoNeg FlowCtrl Role Speed--------+-------------------------------------------.br.IR Auto \c | Both On SymOrRem Auto Auto.br.IR 1000FD \c | Full Off None Auto 1000.br.IR 100FD \c | Full Off None Auto 100.br.IR 100HD \c | Half Off None Auto 100.br.IR 10FD \c | Full Off None Auto 10.br.IR 10HD \c | Half Off None Auto 10.ad b Stating any other port parameter together with this .IR ConTypeparameter will result in a merged configuration of those settings. This is due tothe fact, that the per-port parameters (e.g. .IR Speed_A) have a higher priority than the combined variable .IR ConType..TP.BI TxModeration= i,j,...Interrupt moderation is employed to limit the maximum number of transmitcomplete interrupts the driver has to serve. That is, one or more interrupts(which indicate any transmit packet to be processed) are queued until thedriver processes them. The value "1" means, that all interrupts will be generated immediately. 10 means, that the card will generate one interruptafter 10 served packets...TP.BI Moderation= i,j,...Interrupt moderation is employed to limit the maximum number of interrupts the driver has to serve. That is, one or more interrupts (which indicate any transmit or receive packet to be processed) are queued until the driver processes them. When queued interrupts are to be served, is determined by the .IR IntsPerSecparameter, which is explained later below. Possible moderation modes are:.IR None,.IR Staticor.IR Dynamicwhereby.IR Noneis the default. The different modes have the following meaning:.IR NoneNo 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.IR StaticInterrupt moderation is applied on the adapter card. All transmit and receive interrupts are queued until a complete moderation interval ends. If such a moderation interval ends, all queued interrupts are processed in one big bunch without any delay. The term .IR Staticreflects the fact, that interrupt moderation is always enabled, regardless how much network load is currently passing via a particular interface. In addition, the duration of the moderation interval has a fixed length that never changes while the driver is operational..br.IR DynamicInterrupt moderation might be applied on the adapter card, depending on the load of the system. If the driver detects that the system load is too high, the driver tries to shield the system against too much network load by enabling interrupt moderation. If - at a later time - the CPU utilization decreases again (or if the network load is negligible) the interrupt moderation will automatically be disabled.Interrupt moderation should be used when the driver has to handle one or more interfaces with a high network load, which - as a consequence - leads 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.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 dedicatedmoderation times..TP.BI IntsPerSec= i,j,...This parameter determines the length of any interrupt moderation interval.Assuming that static interrupt moderation is to be used, an .IR IntsPerSecparameter value of 2000 will lead to an interrupt moderation interval of500 microseconds. Possible values for this parameter are in the range of 30...40000 (interrupts per second). The default value is 2000.This parameter is only used, if either static or dynamic interrupt moderationis enabled on a network adapter card. This parameter is ignored if no moderation isapplied.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 persecond) seems to be meaningful, but the increase of packet-processing delayis tremendous. On the other hand, selecting a very short moderation time mightcompensate the use of any moderation being applied..TP.BI PrefPort= i,j,...This parameter is used to force the preferred port to A or B (on dual-port network adapters). The preferred port is the one that is used if both ports A and B are detected as fully functional. Possible values are:.IR Aor.IR Bwhereby.IR Ais the default..TP.BI RlmtMode= i,j,...RLMT monitors the status of the port. If the link of the active port fails, RLMT switches immediately to the standby link. The virtual link is maintained as long as at least one 'physical' link is up. This parameters states how RLMT should monitor both ports. Possible values are:.IR CheckLinkState,.IR CheckLocalPort,.IR CheckSegor.IR DualNetwhereby.IR CheckLinkStateis the default. The different modes have the following meaning:.IR CheckLinkStateCheck 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.IR CheckLocalPortIn 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.IR CheckSegCheck local port and segmentation: This mode supports the same functions as the CheckLocalPort mode and additionally checks network segmentation between the ports. Therefore, this mode is only to be used if Gigabit Ethernet switches are installed on the network that have been configured to use the Spanning Tree protocol. .br.IR DualNetIn this mode, ports A and B are used as separate devices. If you have a dual port adapter, port A will be configured as .IR eth[x] and port B as .IR eth[x+1]Both ports can be used independently with distinct IP addresses. The preferred port setting is not used. RLMT is turned off.Note that RLMT modes .IR CheckLocalPort and .IR CheckLinkState are designed to operate in configurations where a network path between the ports on one adapter exists. Moreover, they are not designed to work where adapters are connected back-to-back..TP.BI LowLatency= i,j,...This parameter is used to reduce the packet latency time of the adapter. Setting .IR LowLatencyto .IR On forces the adapter to pass any received packet immediately to upper network layers and to send out any transmit packet as fast as possible. Possible values are .IR Onor.IR Offwhereby.IR Offis the default.Be aware of the fact that the system load increases if.IR LowLatencyis set to .IR Onand a lot of data packets are transmitted and received.Note that this parameter is only used on adapters which are based on PCI Express compatible chipsets..TP.BI BroadcastPrio= i,j,...This parameter specifies whether received broadcast packets have thehighest priority for the port switch decision ("Off") or not ("On").Possible values are.IR Onor.IR Offwhereby.IR Offis the default.NOTE: This parameter is only valid for dual port adapters..SH FILES.TP.B /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.B /usr/src/linux/Documentation/networking/sk98lin.txt.br This is the .IR READMEfile of the .IR sk98lindriver. It contains a detailed installation HOWTO and describes all parameters of the driver. It denotes also common problems and provides the solution to them..SH BUGSReport any bugs to linux@syskonnect.de.SH AUTHOR(C)Copyright 1999-2008 Marvell(R)..brRalph Roesler \- rroesler@syskonnect.de.brMirko Lindner \- mlindner@syskonnect.de.SH "SEE ALSO"modprobe(8), insmod(8), ifconfig(8).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -