source: rtems/c/src/libchip/network/README.open_eth @ 55a685b

4.104.114.95
Last change on this file since 55a685b was 398ed76, checked in by Joel Sherrill <joel.sherrill@…>, on 09/03/03 at 13:29:15

2003-09-03 Jiri Gaisler <jiri@…>

PR 477/networking

  • network/Makefile.am: Add driver for OpenCores? NIC.
  • network/README.open_eth, network/open_eth.c, network/open_eth.h: New files.
  • Property mode set to 100644
File size: 3.0 KB
Line 
1
2Driver for opencores ethernet MAC - README
3------------------------------------------
4
5The device name for the driver is 'open_eth1', the attach
6function for the leon bsp is rtems_leon_open_eth_driver_attach().
7
8No cache flushing is made when a frame is received. On leon,
9this means that cache snooping must be configured in the
10vhdl model and enabled by software.
11
12TX interrupts are not used and masked in the interrupt mask
13register.
14
15For now, only 10 Mbit/s half-duplex is supported.
16100 Mbit/s operations does not work reliably, the transmitter
17locks up or skips frames. Seems to depend on the TX fifo
18implementation in the opencores MAC. Send a mail to
19jiri@gaisler.com if you know how to fix this.
20
21Tested only on leon, using the GR-PCI-XC2V board @ 40 MHz.
22Output from ttcp receiving 1 Mbyte file:
23
24>>> ttcp -r -s
25ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001  tcp
26ttcp-r: socket
27ttcp-r: accept from 192.168.0.2
28ttcp-r: 1145339 bytes in 1.18 real seconds = 947.88 KB/sec +++
29ttcp-r: 792 I/O calls, msec/call = 1.53, calls/sec = 671.19
30ttcp-r: 0.0user 1.1sys 0:01real 100% 0i+0d 0maxrss 0+0pf 0+0csw
31************ MBUF STATISTICS ************
32mbufs:1024    clusters: 128    free: 112
33drops:   0       waits:   0  drains:   0
34      free:1007          data:17          header:0           socket:0
35       pcb:0           rtable:0           htable:0           atable:0
36    soname:0           soopts:0           ftable:0           rights:0
37    ifaddr:0          control:0          oobdata:0
38
39************ INTERFACE STATISTICS ************
40***** open_eth1 *****
41Address:192.168.0.66    Broadcast Address:192.168.0.255
42Flags: Up Broadcast Running Simplex
43Send queue limit:50   length:0    Dropped:0
44         Rx Packets:796           Rx Interrupts:796               Length:0
45            Bad CRC:0                Overrun:0                   Miss:0
46      Tx Interrupts:0               Deferred:0        Missed Hearbeat:0
47         No Carrier:0       Retransmit Limit:0         Late Collision:0
48           Underrun:0        Raw output wait:0
49
50************ IP Statistics ************
51             total packets received         795
52 datagrams delivered to upper level         795
53    total ip packets generated here         401
54
55************ TCP Statistics ************
56               connections accepted           1
57            connections established           1
58      conn. closed (includes drops)           1
59     segs where we tried to get rtt           2
60                 times we succeeded           2
61                  delayed acks sent           4
62                 total packets sent         401
63              ack-only packets sent           6
64    window update-only packets sent         394
65 control (SYN|FIN|RST) packets sent           1
66             total packets received         795
67       packets received in sequence         792
68         bytes received in sequence     1145339
69                   rcvd ack packets           2
70           bytes acked by rcvd acks           2
71 times hdr predict ok for data pkts         791
72
73
Note: See TracBrowser for help on using the repository browser.