iphase.txt 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. READ ME FISRT
  2. ATM (i)Chip IA Linux Driver Source
  3. --------------------------------------------------------------------------------
  4. Read This Before You Begin!
  5. --------------------------------------------------------------------------------
  6. Description
  7. -----------
  8. This is the README file for the Interphase PCI ATM (i)Chip IA Linux driver
  9. source release.
  10. The features and limitations of this driver are as follows:
  11. - A single VPI (VPI value of 0) is supported.
  12. - Supports 4K VCs for the server board (with 512K control memory) and 1K
  13. VCs for the client board (with 128K control memory).
  14. - UBR, ABR and CBR service categories are supported.
  15. - Only AAL5 is supported.
  16. - Supports setting of PCR on the VCs.
  17. - Multiple adapters in a system are supported.
  18. - All variants of Interphase ATM PCI (i)Chip adapter cards are supported,
  19. including x575 (OC3, control memory 128K , 512K and packet memory 128K,
  20. 512K and 1M), x525 (UTP25) and x531 (DS3 and E3). See
  21. http://www.iphase.com/site/iphase-web/?epi_menuItemID=e196f04b4b3b40502f150882e21046a0
  22. for details.
  23. - Only x86 platforms are supported.
  24. - SMP is supported.
  25. Before You Start
  26. ----------------
  27. Installation
  28. ------------
  29. 1. Installing the adapters in the system
  30. To install the ATM adapters in the system, follow the steps below.
  31. a. Login as root.
  32. b. Shut down the system and power off the system.
  33. c. Install one or more ATM adapters in the system.
  34. d. Connect each adapter to a port on an ATM switch. The green 'Link'
  35. LED on the front panel of the adapter will be on if the adapter is
  36. connected to the switch properly when the system is powered up.
  37. e. Power on and boot the system.
  38. 2. [ Removed ]
  39. 3. Rebuild kernel with ABR support
  40. [ a. and b. removed ]
  41. c. Reconfigure the kernel, choose the Interphase ia driver through "make
  42. menuconfig" or "make xconfig".
  43. d. Rebuild the kernel, loadable modules and the atm tools.
  44. e. Install the new built kernel and modules and reboot.
  45. 4. Load the adapter hardware driver (ia driver) if it is built as a module
  46. a. Login as root.
  47. b. Change directory to /lib/modules/<kernel-version>/atm.
  48. c. Run "insmod suni.o;insmod iphase.o"
  49. The yellow 'status' LED on the front panel of the adapter will blink
  50. while the driver is loaded in the system.
  51. d. To verify that the 'ia' driver is loaded successfully, run the
  52. following command:
  53. cat /proc/atm/devices
  54. If the driver is loaded successfully, the output of the command will
  55. be similar to the following lines:
  56. Itf Type ESI/"MAC"addr AAL(TX,err,RX,err,drop) ...
  57. 0 ia xxxxxxxxx 0 ( 0 0 0 0 0 ) 5 ( 0 0 0 0 0 )
  58. You can also check the system log file /var/log/messages for messages
  59. related to the ATM driver.
  60. 5. Ia Driver Configuration
  61. 5.1 Configuration of adapter buffers
  62. The (i)Chip boards have 3 different packet RAM size variants: 128K, 512K and
  63. 1M. The RAM size decides the number of buffers and buffer size. The default
  64. size and number of buffers are set as following:
  65. Total Rx RAM Tx RAM Rx Buf Tx Buf Rx buf Tx buf
  66. RAM size size size size size cnt cnt
  67. -------- ------ ------ ------ ------ ------ ------
  68. 128K 64K 64K 10K 10K 6 6
  69. 512K 256K 256K 10K 10K 25 25
  70. 1M 512K 512K 10K 10K 51 51
  71. These setting should work well in most environments, but can be
  72. changed by typing the following command:
  73. insmod <IA_DIR>/ia.o IA_RX_BUF=<RX_CNT> IA_RX_BUF_SZ=<RX_SIZE> \
  74. IA_TX_BUF=<TX_CNT> IA_TX_BUF_SZ=<TX_SIZE>
  75. Where:
  76. RX_CNT = number of receive buffers in the range (1-128)
  77. RX_SIZE = size of receive buffers in the range (48-64K)
  78. TX_CNT = number of transmit buffers in the range (1-128)
  79. TX_SIZE = size of transmit buffers in the range (48-64K)
  80. 1. Transmit and receive buffer size must be a multiple of 4.
  81. 2. Care should be taken so that the memory required for the
  82. transmit and receive buffers is less than or equal to the
  83. total adapter packet memory.
  84. 5.2 Turn on ia debug trace
  85. When the ia driver is built with the CONFIG_ATM_IA_DEBUG flag, the driver
  86. can provide more debug trace if needed. There is a bit mask variable,
  87. IADebugFlag, which controls the output of the traces. You can find the bit
  88. map of the IADebugFlag in iphase.h.
  89. The debug trace can be turn on through the insmod command line option, for
  90. example, "insmod iphase.o IADebugFlag=0xffffffff" can turn on all the debug
  91. traces together with loading the driver.
  92. 6. Ia Driver Test Using ttcp_atm and PVC
  93. For the PVC setup, the test machines can either be connected back-to-back or
  94. through a switch. If connected through the switch, the switch must be
  95. configured for the PVC(s).
  96. a. For UBR test:
  97. At the test machine intended to receive data, type:
  98. ttcp_atm -r -a -s 0.100
  99. At the other test machine, type:
  100. ttcp_atm -t -a -s 0.100 -n 10000
  101. Run "ttcp_atm -h" to display more options of the ttcp_atm tool.
  102. b. For ABR test:
  103. It is the same as the UBR testing, but with an extra command option:
  104. -Pabr:max_pcr=<xxx>
  105. where:
  106. xxx = the maximum peak cell rate, from 170 - 353207.
  107. This option must be set on both the machines.
  108. c. For CBR test:
  109. It is the same as the UBR testing, but with an extra command option:
  110. -Pcbr:max_pcr=<xxx>
  111. where:
  112. xxx = the maximum peak cell rate, from 170 - 353207.
  113. This option may only be set on the transmit machine.
  114. OUTSTANDING ISSUES
  115. ------------------
  116. Contact Information
  117. -------------------
  118. Customer Support:
  119. United States: Telephone: (214) 654-5555
  120. Fax: (214) 654-5500
  121. E-Mail: intouch@iphase.com
  122. Europe: Telephone: 33 (0)1 41 15 44 00
  123. Fax: 33 (0)1 41 15 12 13
  124. World Wide Web: http://www.iphase.com
  125. Anonymous FTP: ftp.iphase.com