home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / 19153 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!decwrl!olivea!sgigate!sgi!rhyolite!vjs
  2. From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: DMA transfers between machines
  5. Message-ID: <vcaeso0@rhyolite.wpd.sgi.com>
  6. Date: 26 Jan 93 19:12:57 GMT
  7. References: <35223@adm.brl.mil>
  8. Organization: Silicon Graphics, Inc.  Mountain View, CA
  9. Lines: 44
  10.  
  11. In article <35223@adm.brl.mil>, beyer@bflsgu.fl.bs.dlr.de (Ralf Beyer DLR) writes:
  12. > ...
  13. > In fact, both machines are single user and not connected to
  14. > any net. They are, however, connected via Ethernet controllers
  15. > on both machines and the Ethernet cable. On the LSI-11 side
  16. > we are controlling the Ethernet controller directly by
  17. > accessing its registers and buffer and using its instruction
  18. > set. We are looking now for an opportunity to do the same on
  19. > the SGI machine. The 4D35 has controllers ec0 and ENP-10 (one
  20. > of each). They need not be configured for TCP/IP or other
  21. > protocols, they are available only for the low level protocol
  22. > connection to the LSI-11.
  23. > Is there a handbook available for the ec0 and ENP-10
  24. > controllers with information on registers, buffers and the
  25. > instruction set ?
  26.  
  27.  
  28. There simpler and more portable ways to solve this problem.
  29. The following two solutions are serveral years old in Silicon
  30. Graphics systems:
  31.  
  32. 1. The solution most people pick at first, which I DO NOT recommend, is
  33.     to write user code to send and receive raw ethernet packets.
  34.  
  35.     See `man raw` and `man 7 snoop`.
  36.  
  37. 2. A much better solution is to "spoof UDP".  This consists of taking
  38.     whatever packets you were going to send from the other LSI11,
  39.     and inserting a 28-byte nearly constant block of IP and UDP headers
  40.     between the 14-byte ethernet header and the payload.
  41.  
  42.     The IP and UDP headers are trivial, and only 2 16-bit fields change
  43.     from packet to packet.  If you are willing to give up the
  44.     UDP checksum, only 1 16-bit field needs to change from one UDP/IP
  45.     packet to the next, and it is simply a packet sequence number.
  46.  
  47. (1) is slightly easier to implement on the LSI-11, but (2) is
  48. much simpler on the IRIS.  By using a standard protocol like UDP/IP,
  49. uour code will work on other brands of machines.  You can test
  50. in many more environments, including internets involving routers.
  51.  
  52.  
  53. Vernon Schryver,  vjs@sgi.com
  54.