You are on page 1of 10

DP83200SMT XLNT Manager FDDI Station Management (SMT) Software Support Package

October 1994

DP83200SMT XLNT Manager TM


FDDI Station Management
(SMT) Software Support Package
General Description
The XLNT ManagerTM Software Package completely imple-
ments all required and most optional FDDI SMT Protocol Features
functions. It comes complete with well documented source Y Implements all required and most optional FDDI Station
code written in the C programming language and an easy to Management Protocol functions
use Integration Guide. The source code is modular so that it Y Complete portability of the code to most hardware plat-
can be partitioned over multiple processors and can be forms
used in all FDDI applications including concentrators, and Y Direct interface with the FDDI Chip Set for compact
dual and single attach stations. The porting guide includes and efficient implementation
step by step instructions how to port the software to your Y Flexible architecture to allow code partitioning for single
hardware platform. XLNT Manager FDDI SMT Software is a
and multiple processors
product of XLNT Design Inc., and is made available to Na- Y Standard interface between SMT software and custom
tional Semiconductor FDDI customers through a sublicens-
management applications
ing agreement. Technical support is provided by National
Semiconductor’s fully trained FDDI Applications team.
Y Well documented source code (C Language)
XLNT Manager FDDI SMT Software combined with National Y Supports single and dual attach stations and concentra-
Semiconductor’s FDDI chip set provides a complete FDDI tors
solution. Y Operating System Independent
The software can easily be integrated into an operating en- Y Includes easy-to-use porting guide
vironment using minimal hardware and system support from
the operating environment. Custom Management services
can interface with the SMT software through a standard,
well defined, software interface. An integration sequence
example is included.

TL/F/11121 – 1
FIGURE 1. Station Management (SMT) Software Block Diagram

UNIXÉ is a registered trademark of AT&T Bell Laboratories.


XLNT ManagerTM is a trademark of XLNT Designs Incorporated.

C1995 National Semiconductor Corporation TL/F/11121 RRD-B30M105/Printed in U. S. A.


Table of Contents 2.0 Functional Description
The XLNT Manager Software Package completely imple-
1.0 OVERVIEW
ments all required and most optional FDDI SMT Protocol
2.0 FUNCTIONAL DESCRIPTION Functions. The software package consists of three main
functional blocks as shown in Figure 1 . The three main func-
3.0 INTEGRATION PROCEDURE tional blocks are 1) Management Services Process (MSP),
2) the Frame Services Process (FSP) and 3) the Connection
4.0 SUBLICENSE AGREEMENT AND MAINTENANCE Services Processes (CSP).
5.0 TECHNICAL SUPPORT 2.1 MANAGEMENT SERVICES PROCESS
The Management Services Process (MSP) processes infor-
1.0 Overview mation in the Management Information Base (MIB). The
One of the key areas in the FDDI standardization process MIB is an information database which is defined by the FDDI
has been Station Management (SMT). The SMT document SMT Standard. It includes information about the status and
provides the guidelines and protocols which can be used to performance of a station. The information is collected from
manage an FDDI network. the hardware and other processes and stored in a central
database. The Management Information Base (MIB) can be
To ensure interoperability in a multi-vendor environment,
accessed by a Management Application Process like the
some of the protocols described in the SMT document are
Simple Network Management Protocol (SNMP) or by a re-
mandatory. However, to facilitate the diverse network envi-
mote station over the network. The Management Services
ronments envisioned for FDDI, many of the protocols de-
Process maintains the MIB and provides a uniform interface
scribed are optional. Implementation of the optional proto-
to the Management Application Process, the Frame Serv-
cols will depend upon the application need.
ices Process (FSP) and the Connection Services Process
The basic SMT functions required are: (CSP).
Ð Fault management for high network availability
2.2 FRAME SERVICES PROCESS
Ð Reliable error detection and recovery
The Frame Services Process (FSP) implements the frame
Ð Access to networked resources based services defined by the FDDI SMT Protocol. The
Ð Fast and reliable connection management procedure FDDI SMT Protocol defines several different frame types
Ð Management for multi-vendor networks which are used to convey status and control information
Ð Access to individual station information between stations on the network. For example, Neighbor
Information Frames (NIFs) convey information about the
Ð Flexible network configuration station to its neighbor. This information can be used in the

TL/F/11121 – 2
FIGURE 2. Connection Services Process Block Diagram

2
The steps described will, in general, have to be done to
2.0 Functional Description (Continued) integrate the SMT software package into a system, but
development of a ring map. The Frame Services Process need not happen in the exact sequence given below.
responds to requests (from the Management Application
Process) to send frames. It also sends frames as required
# Hardware test
by SMT and responds to SMT frames from other stations. # Write network interface functions
For more information on FDDI frame based services refer to # Define partitioning of SMT function
the ANSI/ISO FDDI SMT Documents. # Customize headers and initialization function
2.3 CONNECTION SERVICES PROCESS # Provide control interface
The Connection Services Process implements the Connec- # Compile, link and test
tion Management (CMT) and Ring Management (RMT) # Integrate Management Application Process
functions of the FDDI SMT Protocol. The Connection Man-
agement (CMT) Protocol consists of three functional blocks 3.1 HARDWARE TEST
as shown in Figure 2 . It is imperative that the hardware platform is debugged be-
The three main functional blocks of the Connection Man- fore starting the XLNT Manager Software integration. Prop-
agement (CMT) protocol are the Configuration Management er data flow and timer operation is required before starting
(CFM) block, the Physical Connection Management (PCM) the integration procedure. The time required to port the soft-
block and the Entity Co-ordination Management (ECM) ware could be greatly extended if the hardware platform is
block. not fully debugged.
The Physical Connection Management (PCM) block is re- 3.2 INTERFACE FUNCTIONS
sponsible for establishing a photonic or electrical connec- A detailed description of how to write interface functions are
tion between two neighboring stations, signaling configura- described in the XLNT Manager Integration Guide. A brief
tion information and monitoring the link errors between sta- explanation, with examples, follows here.
tions. The PCM process interacts with the National
The SMT software uses a number of interface functions that
DP83256/56-AP/57 which performs the physical signaling
deal directly with the FDDI chip set hardware, provide timer
process and error monitoring functions.
service to the FDDI functions and support transmission and
The Configuration Management process controls the data reception of SMT frames. Before writing and testing the
paths between MAC and PHY devices. This process inter- hardware interface, it is important to fully test the hardware
acts with the configuration switch in the National platform.
DP83256/56-AP/57 PLAYER a Device. It also interacts
Example system functions:
with other SMT processes.
uInt32 ReadSystemTimer (void)
The Entity Co-ordination Management process controls the void SetSystemTimer (uInt32 interval)
optional optical by-pass switch and acts as a well defined uInt StationPathTest (void)
interface to the Management Services Process. void BypassRequest (uInt bypassState)
The primary function of the Ring Management process is to void ConfigureStation (uInt CFMÐstate)
detect duplicate addresses that would inhibit the ring from Example PHY interface functions:
becoming operational, and other network failures. void TransmitPMD (uInt phyID, uInt state)
Implementation uInt16 ReadLineState (uInt phyID)
void SendLineState (uInt phyID, LineState ls)
The effective implementation of Station Management soft-
ware in a design is tied directly to the ability of the FDDI chip Example MAC interface functions:
set silicon to provide the appropriate hooks and manage- void MACResetRequest (uInt macID)
ment information. The DP83200 FDDI Chip Set provides the void SetBeacon (uInt macID, char beaconType,
essential support for FDDI Station Management functions. LongAddr *DA, uInt infoLength, char *beaconInfo)
void BeaconRequest (uInt macID)
The PLAYER a Device and the MAC portion of the MACSI
Device support the Connection Mangement services and Write Interface Code
the Ring Management service respectively. The system in- The majority of the integrator supplied code is in the inter-
terface portion of the MACSI Device provides separate Sta- face routines. The interface routines are those that directly
tion Management and data frame channels for the maxi- deal with hardware. Over four thousand lines of prototype
mum support of the SMT Frame Services. source code is supplied for these functions to aid the imple-
mentor.
3.0 Integration Procedure The complexity of these functions varies significantly and
The following description presents a possible sequence for there is little correlation of the complexity of the function
integration of the XLNT Manager SMT software package with the amount of code. The most complex and important
onto your system. implementor code is for frame transmission and reception.
This code is important because it provides the basic func-
tion of an FDDI attachment, moving data. SMT requires

3
3.0 Integration Procedure (Continued)
comparatively little frame transmission and reception and A few implementor provided functions are affected by the
performance of the SMT frame processes will not be critical options in the SMT Standard. Two examples are the method
in most devices. An implementor supplied function that can to be used for scrubbing, and generation of data for link
be fairly complex is the path test, though this is a logical confidence testing. If the implementor desires to use the
subset of a power on self test for the board. The majority of MAC in these cases, the interface code complexity will be
the functions are simple and direct. These simple functions increased, since the MAC will need to be set up for genera-
include transmitting a line state, managing MAC frame tion of the desired data.
counters, and setting interrupt masks. Many of these interface functions can be used in initial test-
ing of the board. Planning ahead and using the functions as
part of the basic hardware test plan can reduce the total
development time.

Example Section of Interface Function Code

TL/F/11121 – 3

The XLNT Manager Integration Guide includes detailed descriptions of all the functions.

4
3.0 Integration Procedure (Continued)
3.3 PARTITION OF SMT FUNCTION The next step is to customize header files. This includes
The partitioning of SMT software is quite simple. In most general customization like declaring whether the processor
implementations, all SMT code will run on the same proces- uses big endian or little endian byte ordering.
sor. If this is the case, there is no further effort associated Certain attributes need to be modified for differences in sta-
with this task. If the code is to be partitioned between proc- tion type, (e.g., SM-DAS, DM-DAS, bridge, etc). In some
essors, then communication routines need to be written to cases, the implementation may be flexible, for example, an
transfer SMT signals between the different environments. optional external optical bypass relay. In these cases, the
Defining the partition of the SMT function can be simple for customization of values is done in the initialization routines
an adaptor card and less straight forward in a concentrator. so that the implementor can read hardware signals to deter-
Implementors can partition the SMT functions between dif- mine the current configuration. (In the bypass case, inser-
ferent processors. This includes the ability to separate Con- tion of the connector for switching the bypass could be de-
nection Services from the rest of SMT. Those implementa- tected through loopback between two pins on the connec-
tions partitioning SMT software onto multiple processors tor.) Where the configuration is stable, the customization
must provide routines for communication between the SMT can be done in header files or the initialization routine.
functions in the separate environments. In SMT 7.3, the User must review approximately 10 attri-
3.4 CUSTOMIZATION OF HEADERS AND butes for a node implementation with approximately 25 ad-
INITIALIZATION FUNCTIONS ditional attributes that the User may optionally review. In
some cases, these attributes occur multiple times (e.g., one
FDDI includes a large number of possible station types with
per PHY). In a few cases, the values of occurrences of an
optional capability. The SMT software provides options sup-
attribute may differ (e.g., Requested Path for a MAC). These
ported by the code, and the SMT Standard. Examples, of
attributes requiring review are well documented with de-
this customization include: number of MACs, number of
faults for the most common implementations included and
PHYs, default policies, and bypass relay present.
guidelines for selection of different values.

5
3.0 Integration Procedure (Continued)
Example Section of Initialization Code

TL/F/11121 – 5

6
3.0 Integration Procedure (Continued)
Write Interrupt Handler Code classes include only one interrupt (e.g., TVX expiration),
The nature of this task is affected by the environment in while others include virtually identical code for multiple inter-
which the code is running. The functionality of an Interrupt rupts (e.g., MAC Counter overflow: FrameÐCt, ErrorÐCt,
Handler may be included in the interrupt service routine or it etc.). National’s Chip Set includes additional interrupts that
may be implemented as a separate function. There are sev- are not used by SMT. These can be added as events that
eral interrupt classes used by SMT 7.3. Most of these are passed through the SMT code to the MAP interface.

Example Interrupt Handler Function

TL/F/11121 – 4

The XLNT Manager Integration Guide outlines the options and how to select them.

7
3.0 Integration Procedure (Continued)
3.5 PROVIDE CONTROL INTERFACE For the CSP timer interface, XDI recommends a timer gran-
The SMT software needs stimulus for beginning execution. ularity of one-half ms or less (although the XLNT Manager
In initial test, the person testing the interface should have will work with larger granularity timers). The CSP timer re-
access to basic SMT control. A simple connect and discon- quirements range from 1 ms through 50 seconds with a tol-
nect capability meets the minimum requirements. The trace erance of b0, a 1 ms. CSP needs read and write access to
capabilities of the SMT software and other facilities provid- the timer through the timer interface. It reads from the timer
ed through SMT can provide a more functional control inter- to determine the time remaining before the next interval ex-
face. piration. It writes to the timer set the interval for the next
timer expiration.
3.6 COMPILE, LINK AND TEST
At a minimum, the FSP timer interface requires the ability to
After compiling and linking the code for MSP, CSP, or FSP, start a timer that generates a timer event once every two
the testing stage is entered. The number of stages included seconds. The environment may handle this requirement us-
in integration testing are largely influenced by the degree of ing a timer or through a call-back mechanism. The timer
testing that the hardware has been subjected to prior to interface for FSP does not require read or write access to
integration, and whether the software is partitioned over the timer. It only requires that some entity add an event to
multiple processors. The software includes some basic its timer queue periodically (e.g., once per second).
trace diagnostics to aid in integration testing. A detailed de-
In addition to the two timer interfaces, SMT also requires a
scription of these functions is available in the XLNT Manag-
time stamp function. The SMT standard specifies a time
er Integration Guide.
stamp granularity of 8 ms or less. Depending on the system
3.7 INTEGRATE MANAGEMENT APPLICATION environment, the User could implement the time stamp us-
PROCESS ing a system clock tick, a system time of day function, or
The scope of defining an interface to an application process using the timer supporting the CSP and FSP timer interfac-
can vary in degree of complexity. If no management agent es.
like SNMP is required the task is very simple. In some sta-
tions, the higher layer protocols used will also include a 4.0 Sublicense Agreement
Management Application Process. TCP/IP networks will and Maintenance
likely employ SNMP. The management agent requires ac-
cess to the management information base within the FDDI XLNT Manager is a product of XLNT Designs Inc. National
attachment, and may require access to optional SMT Semiconductor sublicenses XLNT Manager source code to
frames that the SMT software supports. Although not all its customers. A sublicense agreement is available on re-
stations provide a formal management agent, the SMT soft- quest. Maintenance upgrades are available under the terms
ware requires some external control process to provide the of the optional maintenance agreement. A maintenance
initial request for Connection Services and to handle cata- agreement is available on request.
strophic errors or conditions that the SMT components may
report. This simplifies implementation in basic stations, as 5.0 Technical Support
well as those that include an agent. A more detailed de- XLNT Manager software written in the C programming lan-
scription of the procedure interface is provided in the XLNT guage comes complete with an easy to use integration
Manager Integration Guide. guide. Most engineers can port XLNT Manager software to
their hardware platform in less than six weeks. A detailed
3.8 TIMER REQUIREMENT
description of the integration procedures are outlined in the
Although the SMT protocol may require timing many events Integration Guide. Most customers can proceed with little
at once, the XLNT Manager handles this by using only two assistance but should the need arise, National’s application
timer interfaces. This includes one timer interface for CSP staff can answer your technical questions.
and one for FSP. Each interface requires different timer
ranges and specifications.

8
9
DP83200SMT XLNT Manager FDDI Station Management (SMT) Software Support Package

LIFE SUPPORT POLICY

NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL
SEMICONDUCTOR CORPORATION. As used herein:

1. Life support devices or systems are devices or 2. A critical component is any component of a life
systems which, (a) are intended for surgical implant support device or system whose failure to perform can
into the body, or (b) support or sustain life, and whose be reasonably expected to cause the failure of the life
failure to perform, when properly used in accordance support device or system, or to affect its safety or
with instructions for use provided in the labeling, can effectiveness.
be reasonably expected to result in a significant injury
to the user.

National Semiconductor National Semiconductor National Semiconductor National Semiconductor


Corporation Europe Hong Kong Ltd. Japan Ltd.
1111 West Bardin Road Fax: (a49) 0-180-530 85 86 13th Floor, Straight Block, Tel: 81-043-299-2309
Arlington, TX 76017 Email: cnjwge @ tevm2.nsc.com Ocean Centre, 5 Canton Rd. Fax: 81-043-299-2408
Tel: 1(800) 272-9959 Deutsch Tel: (a49) 0-180-530 85 85 Tsimshatsui, Kowloon
Fax: 1(800) 737-7018 English Tel: (a49) 0-180-532 78 32 Hong Kong
Fran3ais Tel: (a49) 0-180-532 93 58 Tel: (852) 2737-1600
Italiano Tel: (a49) 0-180-534 16 80 Fax: (852) 2736-9960

National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.

You might also like