source: rtems/bsps/shared/net/README.open_eth @ 762fa62

5
Last change on this file since 762fa62 was 27de4e1f, checked in by Sebastian Huber <sebastian.huber@…>, on 04/03/18 at 05:20:11

bsps: Move libchip to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

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