1 .\" $NetBSD: dge.4,v 1.7 2004/10/04 19:06:46 rumble Exp $
3 .\" Copyright (c) 2004, SUNET, Swedish University Computer Network.
4 .\" All rights reserved.
6 .\" Written by Anders Magnusson for SUNET, Swedish University Computer Network.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. All advertising materials mentioning features or use of this software
17 .\" must display the following acknowledgement:
18 .\" This product includes software developed for the NetBSD Project by
19 .\" SUNET, Swedish University Computer Network.
20 .\" 4. The name of SUNET may not be used to endorse or promote products
21 .\" derived from this software without specific prior written permission.
23 .\" THIS SOFTWARE IS PROVIDED BY SUNET ``AS IS'' AND
24 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
25 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
26 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC
27 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 .\" POSSIBILITY OF SUCH DAMAGE.
40 .Nd Intel i82597EX Ten Gigabit Ethernet driver
42 .Cd "dge* at pci? dev ? function ?"
46 device driver supports the Intel i82597EX PRO/10GbE LR Ethernet
48 which uses a single mode fiber (1310nm) interface.
50 The i82597EX supports IPv4/TCP/UDP checksumming in hardware, as well
51 as TCP Segmentation Offloading (TSO).
52 The driver does currently only support the hardware checksumming
56 for information on how to enable the hardware checksum calculations.
58 The driver also makes use of the
64 to set the PCIX burst size.
65 The burst size is set according to
68 .Bl -column "link0" "link1" "burst size"
69 .It Em "link0 link1 burst size"
70 .It Li off Ta off Ta 512
71 .It Li on Ta off Ta 1024
72 .It Li off Ta on Ta 2048
73 .It Li on Ta on Ta 4096
76 A larger burst size will increase the transmit capacity of the card
77 dramatically but may have negative effect on other devices in
81 .It dge%d: Tx packet consumes too many DMA segments, dropping...
82 The packet consisted of too many small mbufs and could therefore
83 not be loaded into a DMA map.
84 This is most unlikely, the driver can currently handle up to 100
85 segments, but over 80 segments has been seen using large (16k)
88 .It dge%s: device timeout (txfree %d txsfree %d txnext %d)
89 The i82597EX had been given packets to send, but didn't interrupt
91 This diagnostic is most likely the result of a hardware failure,
92 and the chip will be reset to resume normal operation.
94 .It dge%d: Receive overrun
95 If the computer is under heavy load, the software may not be able to
96 keep up removing received datagrams from the receive queue, and
97 will therefore loose datagrams.
98 To avoid this, check that the other end is using the XON/XOFF
99 protocol, if possible, or increase the receive descriptor ring size
102 .It dge%d: symbol error
103 .It dge%d: parity error
104 An error in the XGMII communication was detected.
105 This is a hardware error in the MAC\*[Lt]-\*[Gt]PHY communication bus.
108 A CRC error in the received datagram was detected.
109 The error is probably caused in the fiber communication.
111 .It dge%d: WARNING: reset failed to complete
112 This is a fatal error and means that the hardware is broken and
113 will most likely not function correctly.
115 .It "dge%d: unable to allocate or map rx buffer %d error = %d"
116 The driver was not able to map a mbuf cluster page to a receive
117 descriptor entry in the receive ring.
118 Most likely the system has run out of mbuf clusters or have a too
120 See the errno for more information.
131 driver first appeared in
136 driver was written by
137 .An Anders Magnusson Aq ragge@ludd.luth.se .
139 There should be an XGMII framework for the driver to use.