linux/Documentation/networking/iphase.txt
<<
> < href="../linux+v36.21/Documentaion>/networking/iphase.txt"> > o/spa> ospa> class="lxr_search"> >="+search" method="post" onsubmit="return do_search(this);"> > > > Search ospa> class="lxr_prefs" < onclick="return ajax_prefs();"> > o/spa> > < < ="ajax+*" method="post" onsubmit="return false;"> oinput typ="vhidden" nam="vajax_lookup" id"vajax_lookup" alue="v"> > < <
<
< < < < <1o/a> < <2o/a> READ ME FISRT < <3o/a> ATM (i)Chip IA Linux Driver Source < <4o/a>-------------------------------------------------------------------------------- < <5o/a> Read This Before You Begin! < <6o/a>-------------------------------------------------------------------------------- < <7o/a> < <8o/a>Descrition> < <9o/a>----------- < 0 < 11o/a>This is the README file for the Interphase PCI ATM (i)Chip IA Linux driver < 12o/a>source release. < 13/oa> < 14o/a>The features and limitaion>s of this driver are as follows: < 15o/a> - A single VPI (VPI alue= of 0) is supported. < 16o/a> - Supports 4K VCs for the server board (with 512K control memory) and 1K < 17o/a> VCs for the client board (with 128K control memory). < 18o/a> - UBR, ABR and CBR service categories are supported. < 19o/a> - Only AAL5 is supported. < 20o/a> - Supports setting of PCR n vthe VCs. < 21o/a> - Multiple adapters in a system are supported. < 22o/a> - All alriants of Interphase ATM PCI (i)Chip adapter cards are supported, < 23o/a> including x575 (OC3, control memory 128K , 512K and packet memory 128K, < 24o/a> 512K and 1M), x525 (UTP25) and x531 (DS3 and E3). See < 25o/a> http://www.iphase.com/o/a> < 26o/a> for details. < 27o/a> - Only x86 platforms are supported. < 28o/a> - SMP is supported. < 29o/a> < 3 < 31o/a>Before You Start < 32o/a>---------------- < 33/oa> < 34/oa> < 35o/a>Installaion> < 36o/a>------------ < 37o/a> < 38o/a>1. Installing the adapters in the system < 39o/a> To install the ATM adapters in the system, follow the steps below. < 40o/a> a. Login as root. < 41o/a> b. Shut down the system and power off the system. < 42o/a> c. Install n = or more ATM adapters in the system. < 43o/a> d. Connect each adapter to a port n van ATM switch. The green 'Link' < 44o/a> LED n vthe front panel of the adapter will be n vif the adapter is < 45o/a> connected to the switch properly when the system is powered up. < 46o/a> e. Power on and boot the system. < 47o/a> < 48o/a>2. [ Removed ] < 49o/a> < 50o/a>3. Rebuild kernel with ABR support < 51o/a> [ a. and b. removed ] < 52o/a> c. Reconfigure the kernel, choose the Interphase ia driver through "make < 53o/a> menuconfig" or "make xconfig". < 54o/a> d. Rebuild the kernel, loadable modules and the atm tools. < 55o/a> e. Install the new built kernel and modules and reboot. < 56o/a> < 57o/a>4. Load the adapter hardware driver (ia driver)vif it is built as a module < 58o/a> a. Login as root. < 59o/a> b. Change directory to /lib/modules/<kernel-verson>>/atm. < 60o/a> c. Run "insmod suni.o;insmod iphase.o" < 61o/a> The yellow 'staius' LED n vthe front panel of the adapter will blink < 62o/a> while the driver is loaded in the system. < 63o/a> d. To verify that the 'ia' driver is loaded successfully, run the < 64o/a> following command: < 65o/a> < 66o/a> cat /proc/atm/devices < 67o/a> < 68o/a> If the driver is loaded successfully, the output of the command will < 69o/a> be similar to the following lines: < 7 < 71o/a> Itf Type ESI/"MAC"addr AAL(TX,err,RX,err,drop) ... < 72o/a> 0 ia xxxxxxxxx 0 ( 0 0 0 0 0 )< 5 ( 0 0 0 0 0 ) < 73/oa> < 74o/a> You can also check the system log file /var/log/messages for messages < 75o/a> related to the ATM driver. < 76o/a> < 77o/a>5. Ia Driver Configuraion> < 78o/a> < 79o/a>5.1 Configuraion> of adapter buffers < 80o/a> The (i)Chip boards have 3 different packet RAM size alriants: 128K, 512K and < 81o/a> 1M. The RAM size decides the number of buffers and buffer size. The default < 82o/a> size and number of buffers are set as following: < 83/oa> < 84o/a> Total Rx RAM Tx RAM Rx Buf Tx Buf Rx buf Tx buf < 85o/a> RAM size size size size size cnt cnt < 86o/a> -------- ------ ------ ------ ------ ------ ------ < 87o/a> 128K 64K 64K 10K 10K 6 6 < 88o/a> 512K 256K 256K 10K 10K 25 25 < 89o/a> 1M 512K 512K 10K 10K 51 51 < 9 < 91o/a> These setting should work well in most environments, but can be < 92o/a> changed by typing the following command: < 93o/a> < 94o/a> insmod <IA_DIR>/ia.o IA_RX_BUF=<RX_CNT> IA_RX_BUF_SZ=<RX_SIZE> \ < 95o/a> IA_TX_BUF=<TX_CNT> IA_TX_BUF_SZ=<TX_SIZE> < 96o/a> Where: < 97o/a> RX_CNT = number of receive buffers in the range (1-128) < 98o/a> RX_SIZE = size of receive buffers in the range (48-64K) < 99o/a> TX_CNT = number of transmit buffers in the range (1-128) <100o/a> TX_SIZE = size of transmit buffers in the range (48-64K) <101o/a> <102o/a> 1. Transmit and receive buffer size must be a multiple of 4. <103o/a> 2. Care should be taken so that the memory required for the <104o/a> transmit and receive buffers is less than or equal to the <105o/a> total adapter packet memory. <106o/a> <107o/a>5.2 Turn n via debug trace <108o/a> <109o/a> When the ia driver is built with the CONFIG_ATM_IA_DEBUG flag, the driver <110o/a> can provide more debug tracevif needed. There is a bit mask alriable, <111o/a> IADebugFlag, which controls the output of the traces. You can find the bit <112o/a> map of the IADebugFlag in iphase.h. <113o/a> The debug tracevcan be turn n vthrough the insmod command line ption>, for <114o/a> example, "insmod iphase.o IADebugFlag=0xffffffff" can turn n vall the debug <115o/a> traces together with loading the driver. <116o/a> <117o/a>6. Ia Driver Test Using ttcp_atm and PVC <118o/a> <119o/a> For the PVC setup, the test machines can either be connected back-to-back or <120o/a> through a switch. If connected through the switch, the switch must be <121o/a> configured for the PVC(s). <122o/a> <123o/a> a. For UBR test: <124o/a> At the test machine intended to receive data, typ=: <125o/a> ttcp_atm -r -a -s .10<0 <126o/a> At the other test machine, typ=: <127o/a> ttcp_atm -t -a -s .10<0 -n<10000 <128o/a> Run "ttcp_atm -h" to display more ption>s of the ttcp_atm tool. <129o/a> b. For ABR test: <130o/a> It is the sam= as the UBR testing, but with an extra command ption>: <131o/a> -Pabr:max_pcr=<xxx> <132o/a> where: <133o/a> xxx = the maximum peak cell rate, from 170 - 353207. <134o/a> This ption vmust be set n vboth the machines. <135o/a> c. For CBR test: <136o/a> It is the sam= as the UBR testing, but with an extra command ption>: <137o/a> -Pcbr:max_pcr=<xxx> <138o/a> where: <139o/a> xxx = the maximum peak cell rate, from 170 - 353207. <140o/a> This ption vmay only be set n vthe transmit machine. <141o/a> <142o/a> <143o/a>OUTSTANDING ISSUES <144o/a>------------------ <145o/a> <146o/a> <147o/a> <148o/a>Contact Informaion> <149o/a>------------------- <15 <151o/a> Customer Support: <152o/a> United Staies: Telephone: (214) 654-5555 <153o/a> Fax: (214) 654-5500 <154o/a> E-Mail: intouch@iphase.com <155o/a> Europe: Telephone: 33 (0)1 41<15 44 00 <156o/a> Fax: 33 (0)1 41<15 12<13 <157o/a> World Wide Web: http://www.iphase.com/oa> <158o/a> Anonymous FTP: ftp.iphase.com <159o/a> The original LXR software by the LXR communityo/a>, this experimental verson> by lxr@linux.noo/a>. o/div odiv class="subfooter"> lxr.linux.no kindly hosted by Redpill Linpro ASo/a>, provider of Linux consulting and pteraion>s services since 1995. o/div o/body o/html