ZCOM Tables and Data Structures

Interface Table

IFPLOOK - Physical terminal table lookup

This table is used by the DAM during FIRQ processing to determine the physical terminal table address based on the port and terminal number passed back from the Mux interface. It is indexed by the value [(port number * 8) + terminal number] for the 2/8-channel NIO and EISA ACC cards. For the ACC E1/T1 and 8-Port PCI cards, it is simply indexed by the terminal number. The DAM uses this table as an interrupt vector to the PTT associated with an unsolicited interrupt (FIRQ). This table is variable in size and is dynamically allocated from HP-UX kernel memory. Usually only a few of the values in the array are used. Unused entries are null filled. The LDM creates and initializes this table during startup of the ZCOM subsystem. This table is not accessible by user space applications.

This field is an array of pointers, which will be accessed by an array index.

ICFG_LKUPT - Optional E1/T1 tunable parameters (zcfg_lookup_t)

This structure contains the optional E1/T1 tunable parameters that allow you to fine tune the allocation of resources (memory) within the E1/T1 card. Specifically, these parameters allow you to fine tune how card memory is divided up between internal tables and I/O buffers. These parameters may be specified in the TTGEN Interface-Definitionsection. This structure has the fields shown in Table 3-24.

Table 3-24

Optional E1/T1 Tunable Parameters

 

 

 

 

 

 

 

Field Name

Field Description

 

Field Type

Size

 

(Bytes)

 

 

 

 

 

 

 

 

 

datadelay

$DATA transfer delay (milliseconds)

 

uns.short

2

 

 

 

 

 

ttablenbr

Maximum # of terminal table entries

 

uns.int

2

 

 

 

 

 

ttablesize

Size of terminal table entries (in bytes)

 

uns.int

4

 

 

 

 

 

zbufsize

Size of the card’s buffers (in bytes)

 

uns.int

4

 

 

 

 

 

zbufnbr

Number of I/O buffers

 

uns.int

4

 

 

 

 

 

mheadnbr

Number of buffer header entries

 

uns.int

4

 

 

 

 

 

mquota

Quota of msg headers allowed for each

 

uns.int

4

 

subchannel

 

 

 

 

 

 

 

 

96

Chapter 3