[PDF] ENT-UG1060 User Guide Software API Programming





Previous PDF Next PDF



Configurer les paramètres IPv4 ou IPv6 sur le point daccès WAP125

Pourquoi devons-nous configurer IP sur un périphérique ?? La configuration d'IP sur un périphérique active ses interfaces et permet la communication.



ENT-UG1060 User Guide Software API Programming

PCIe end point in the switch chip does not support spread spectrum clock. 05:00.0 Network controller [0280]: Vitesse Semiconductor Device [101b:b002].



B450 AORUS ELITE

La prise en charge de la fonction de contrôle de la vitesse du Realtek PCIe GBE Family Controller (Contrôleur de la famille Realtek PCIe GBE).



Dell Wyse 3040 Thin Client Guide de lutilisateur

Vitesse Ethernet : normalement la valeur par défaut (Détection automatique) doit Boot from IP4 Realtek PCIe GBE Family Controller (Démarrer à partir du ...



Design with QorIQ T2081 and T1040 Processor Families

Freescale T2081 and T1040 family of QorIQ processors 8-Port Gigabit Ethernet Switch. • QUICC Engine ... 4 PCIe Controllers: one at Gen3 three at Gen2.



AIDA64 Engineer Résumé

23-Apr-2020 Realtek PCIe GbE Family Controller (192.168.0.22). Carte réseau ... Vitesse d'horloge 2400 MT/s. Vitesse d'horloge courante. 2400 MT/s.



Unbreakable Enterprise Kernel - Release Notes for Unbreakable

11-Apr-2021 device directly and not to the PCIe controller. You can find the slot number for ... low-level driver for Vitesse VSC7174 SATA controller.



USB-C 3.1 Gigabit Ethernet Adapter Guide dinstructions et mode d

la fente PCI / PCIe soit pour la fente Express / CardBus. Grâce à la spécification. USB 3.1



Unbreakable Enterprise Kernel - Release Notes for Unbreakable

08-May-2021 The Microsemi Smart Family Controller driver ... The driver aggregates NVMe PCIe SSDs and ... Realtek PCI-E Memstick Card Host Driver.



Unbreakable Enterprise Kernel - Release Notes for Unbreakable

17-Apr-2021 device directly and not to the PCIe controller. You can find the slot number for ... low-level driver for Vitesse VSC7174 SATA controller.



Document joint : GAqkw2UXFLe_Report-everesttxt - Cjoint

Carte réseau Realtek PCIe GBE Family Controller (78 218 192 4) Périphériques: Vitesse d'horloge du processeur 3587 25 MHz (original: 3600 MHz)



Ma vitesse locale est passée de 100 à 10 Mbits - Comment Ça Marche

J'ai essayé les manipulations suivantes dans ma carte réseau "Realtek PCIe GBE Family Controller" : Vitesse Duplex réglé à 100Mb full duplex 



Realtek PCIe GBE Family Controller Driver & Speed Windows 10

21 jui 2021 · This page explains Realtek PCIe GBE Family Controller how to update Realtek PCIe GBE Family Controller drivers Realtek PCIe GBE Family 



Realtek PCIe GBE Family Controller Driver Détails du lecteur - Dell

Ce package contient le pilote pour la gamme de contrôleurs Realtek PCIe GbE Il est pris en charge sur les ordinateurs OptiPlex 3010 qui exécutent les 



Carte réseau Bridé ? - Matériels & problèmes divers - Hardware

Realtek PCIe Gbe Family Controller #2 La carte réseau se cale sur la vitesse du câble et du matériel de l'autre côté :



Realtek PCIe GBE Family Controller datasheet & application notes

Realtek PCIe GBE Family Controller datasheet cross reference circuit and application notes in pdf format



Realtek PCIe FE / GBE / 25G / Gaming Ethernet Family Controller

DOS ; GBE PXE ROM Code 2 69 ; 2 5G NDIS2 driver 1 56 ; DASH PXE ROM Code for RTL8111DP/EP/FP 2 03 ; 2 5G PXE ROM Code 3 01 



Guide dinstallation de la carte réseau DIGITUS DN-10130-1 Gigabit

Learn how to install and configure your DIGITUS DN-10130-1 Gigabit Ethernet PCI Express Network Card with this helpful installation guide



[PDF] USB-C HUB 3 PORT + GIGABIT ETHERNET ADAPTER - Icecat

Manual de instrucciones • Manuale • Uživatelská p?íru?ka “Realtek USB GBE Family Controller” si trova (dovrebbe trovarsi)



Preface · (Realtek PCIe GBE Family Controller) / Choose “General

GE3100 www etherwan com User's Manual 1 Preface This manual describes how to install and use the PCI Express Gigabit Ethernet Adapter

:
ENT-UG1060 User Guide Software API Programming

ENT-UG1060 User Guide

Software API Programming

VPPD-03999. 1.1 10/15

Microsemi Corporate

Headquarters

One Enterprise, Aliso Viejo,

CA 92656 USA

Within the USA: +1 (800) 713-4113

Outside the USA: +1 (949) 380-6100

Sales: +1 (949) 380-6136

Fax: +1 (949) 215-4996

E-mail: sales.support@microsemi.com

Microsemi Corporation (Nasdaq: MSCC) offers a comprehensive portfolio of semiconductor and system solutions for communications, defense & security, aerospace and industrial markets. Products include high-performance and radiation-hardened analog mixed-signal integrated circuits, FPGAs, SoCs and ASICs; power management products; timing and synchronization devices and precise time solutions, setting the world's standard for time; voice processing devices; RF solutions; discrete components; security technologies and scalable anti-tamper products; Ethernet solutions; Power-over-Ethernet ICs and midspans; as well as custom design capabilities and services. Microsemi is headquartered in Aliso Viejo, Calif, and has approximately 3,600 employees globally. Learn more at www.microsemi.com.

© 2015 Microsemi Corporation. All

rights reserved. Microsemi and the

Microsemi logo are trademarks of

Microsemi Corporation. All other

trademarks and service marks are the

property of their respective owners.Microsemi makes no warranty, representation, or guarantee regarding the information contained herein or

the suitability of its products and services for any particular purpose, nor does Microsemi assume any

liability whatsoever arising out of the application or use of any product or circuit. The products sold

hereunder and any other products sold by Microsemi have been subject to limited testing and should not

be used in conjunction with mission-critical equipment or applications. Any performance specifications are

believed to be reliable but are not verified, and Buyer must conduct and complete all performance and

other testing of the products, alone and together with, or installed in, any end-products. Buyer shall not rely

on any data and performance specifications or parameters provided by Microsemi. It is the Buyer's

responsibility to independently determine suitability of any products and to test and verify the same. The

information provided by Microsemi hereunder is provided "as is, where is" and with all faults, and the entire

risk associated with such information is entirely with the Buyer. Microsemi does not grant, explicitly or

implicitly, to any party any patent rights, licenses, or any other IP rights, whether with regard to such

information itself or anything described by such information. Information provided in this document is

proprietary to Microsemi, and Microsemi reserves the right to make any changes to the information in this

document or to any products and services at any time without notice.

ENT-UG1060 User Guide Revision 1.1 iii

Contents

1 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.1 Revision 1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.2 Revision 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2 Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

2.1 API Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

2.2 Basic API Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2.3 Advanced API Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2.4 Key API Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2.5 Header File Comments (API Calls and Parameters) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3 System Overview and Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

3.1 CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3.1.1 Internal CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3.1.2 External CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

3.2 Register Access using PCIe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

3.3 Register Access using Serial Protocols (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3.4 Register Access using Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3.5 Packet Insertion and Extraction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3.6 Management Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

3.7 Precision Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

4 API and Device Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

4.1 System and Device Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

4.1.1 API Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4.2 Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4.2.1 Build Flow and Configuration Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4.2.2 API Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

4.2.3 Application Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

4.2.4 Code Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

4.2.5 Applications using Software Development Kits (SDK) and eCos . . . . . . . . . . . . . . . . . . . . . . 14

4.3 Linux Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

4.3.1 Test Application vtss_miniapp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

4.3.2 Build a Linux Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

5 Applications and API Usage Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

5.1 Switch Application Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

5.1.1 Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

5.1.2 The vtss_miniapp Switch Application Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

5.1.3 Setup and Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

5.2 Switch API Demo eCOS Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

5.3 EVC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

5.4 PHY Application Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

5.4.1 PHY Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

5.5 OTN Mapper Application Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

5.5.1 Port and Channel Numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

5.5.2 Register Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

ENT-UG1060 User Guide Revision 1.1 iv

6 API Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

6.1 Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

6.2 Common Data Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

6.2.1 Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

6.2.2 Instance References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

7 Guidelines for Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

7.1 High-Level Design Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

7.2 Recommended API Calling Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

7.3 Checklist for API Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

8 Device Families . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

8.1 1GE PHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

8.1.1 PHY Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

8.1.2 PHY Control after Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

8.2 10G PHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

8.3 Switch Families . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

8.4 OTN Mapper Families . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

9 API Function Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

9.1 Initialization (vtss_init_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

9.2 Miscellaneous (vtss_misc_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

9.3 Port Control (vtss_port_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

9.4 PHY (vtss_phy_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

9.5 PHY 10G (vtss_phy_10g_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

9.6 Security (vtss_security_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.7 Layer 2 (vtss_l2_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.8 Layer 3 (vtss_l3_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.9 QOS, Quality of Service (vtss_qos_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.10 HQOS, Hierarchical QoS (vtss_hqos_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.11 EVC, Ethernet Virtual Connection (vtss_evc_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.12 FDMA, Frame DMA (vtss_fdma_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

9.13 Packet Control (vtss_packet_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

9.14 AFI, Automatic Frame Injection (vtss_afi_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

9.15 OAM (vtss_oam_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

9.16 MPLS (vtss_mpls_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

9.17 Synchronization, SyncE (vtss_sync_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

9.18 OTN Mapper Layers (vtss_otn_api.h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

10 API Call Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

11 Operating System Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

11.1 OS Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

11.2 API Concurrency Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

11.3 Trace Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

11.4 ECOS OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

11.5 Linux OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

11.6 External CPU Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

11.6.1 Internal CPU Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

12 Porting Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

12.1 Board Support Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

ENT-UG1060 User Guide Revision 1.1 v

12.2 Build System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

12.3 OS Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

12.4 Register Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

12.5 API Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

12.6 Trace Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

12.7 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

13 Testing Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

13.1 Basic Test Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

13.2 Status Information from the vtss_miniapp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

13.3 Single Switch and PC Test Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

13.4 Single Switch and Two PC Test Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

13.4.1 Simple Throughput Performance Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

13.4.2 Packet Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

13.4.3 Packet Replay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

13.4.4 Packet Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

13.4.5 Two Switch Test Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

14 Frequently Asked Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

ENT-UG1060 User Guide Revision 1.1 vi

Figures

Figure: 1 Microsemi API Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Figure: 2 Microsemi API Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Figure: 3 Software and Hardware Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Figure: 4 Internal CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Figure: 5 External CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Figure: 6 Injection and Extraction of Packets from CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Figure: 7 Software Layers and Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Figure: 8 API-Device Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Figure: 9 External CPU Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Figure: 10 Packets Captured UNI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Figure: 11 Packets Captured NNI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

Figure: 12 Port and Channel Numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Figure: 13 Instance References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

Figure: 14 1GE PHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

Figure: 15 10G PHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Figure: 16 Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Figure: 17 OTN Mapper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Figure: 18 VSC8489 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Figure: 19 API Call Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Figure: 20 Switch and PC Test Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Figure: 21 Switch and Two PC Test Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

Figure: 22 Ethernet Packet Build Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

Figure: 23 Two Switch and Two PC Test Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

ENT-UG1060 User Guide Revision 1.1 vii

Tables

Table 1: Performance Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Table 2: Build Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Table 3: API Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Table 4: Application Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Table 5: Supported PHYs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Table 6: Supported Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Table 7: Supported OTN Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Table 8: Supported Board Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Table 9: Code Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Table 10: cmake Build Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Table 11: API Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Table 12: API Include Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Table 13: Doxygen File Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

Table 14: Defined Entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Revision History

ENT-UG1060 User Guide Revision 1.1 1

1 Revision History

The revision history describes the changes that were implemented in the document. The changes are listed by revision, starting with the most current publication.

1.1 Revision 1.1

The following is a summary of the changes in revision 1.1 of this document.

• Reference to the function used to detect, set, and reset the PHY operating mode was updated. For

more information, see 10G PHY, page 37.

• The list of PHY control functions was updated. For more information, see PHY (vtss_phy_api.h),

page 41.

1.2 Revision 1.0

Revision 1.0 was the first publication of this document.

Product Overview

ENT-UG1060 User Guide Revision 1.1 2

2 Product Overview

The Microsemi application programming interface (API) provides a comprehensive, user friendly, and

robust function library that supports all Microsemi Ethernet switch, PHY, and optical transport network

(OTN) mapper products. The API is portable to any operating system and targeted for 32/64-bit CPUs.

The software is written in standard C, it supports multi-instance device targets, and it can be used as a

basis for application software solutions such as the following: • Microsemi application software used for production and demonstration • Third party application software provided by a partner company • Customer application software developed by customers using the Microsemi API

Figure 1 • Microsemi API Solution

2.1 API Architecture

The API architecture consists of the following layers that provide a unified interface to Microsemi devices.

• Application Interface Layer Provides the functions and structures for a C interface to the application layer. Functions are arranged in initialization and functional groups. • Chip interface layer Includes the device and functional setup code mapped to device-specific registers. • I/O layer Provides register and interrupt access. This layer is platform dependent and is implemented outside the API. • Trace layer Maps code trace macros to provide debug information. • OS layer Encapsulates OS-specific functions used by the API.

Third-Party

ApplicationMicrosemi

ApplicationCustom

Application

Microsemi API

Microsemi

Device

Product Overview

ENT-UG1060 User Guide Revision 1.1 3

Figure 2 • Microsemi API Architecture

2.2 Basic API Functions

The API provides the following basic functions.

• Device initialization port map setup • Port reset and configuration • Port status polling and configuration based on auto-negotiation statistics • Trace system integration • Board-specific register access and port mapping

2.3 Advanced API Functions

The API provides the following advanced functions. • Quality of service (QoS) configuration • CPU interface functions for packet control • Port filters and access control lists • Layer 2 configurations • Stacking configurations • MEF EVC setup • Synchronization • 1588v2 time stamping

2.4 Key API Specifications

The key specifications for the API are as follows: • Source code in standard C • Portable to any operating system (eCos, Linux) • Portable to 32/64-bit CPUs such as MIPS, PPC, and ARM • Supports all Microsemi Ethernet switches and PHYs

2.5 Header File Comments (API Calls and Parameters)

Descriptive text and detailed parameter/call descriptions added as comments in the header files (include/api/*.h) are provided in pdf files along with the source code, and can be found in the doc/ directory. The header file descriptions use the Doxygen format. OS Layer

Chip Interface Layer

SwitchPHYSwitch

Application Interface Layer

Trace Layer

I/O Layer

Packet ControlLayer 2

Quality of

Service

Security

InitializationPort Control

Miscellaneous

System Overview and Design

ENT-UG1060 User Guide Revision 1.1 4

3 System Overview and Design

This section describes the high-level components of a system with Microsemi devices and the unified

API. It also provides guidelines for design choices and parameters. The following illustration shows a

block diagram of hardware and software in a switch. The Serval-1 device shown in this example can be replaced by other Microsemi switches. Figure 3 • Software and Hardware Block Diagram

SIISSI

PCIe or SPISPSPPCPCPCPIPICIe oIII

EthernetrnernenetnetEtht PorttttPortt Porttt

RS23SRSRS322

Serial GPIOsGPIGPISerial SeriaIOOSSeGPIOsIOss

4× SG4GMII

Twoo-Wire SerialSeriao-Wire Seo Wire SalalWioWir

4× 1G SerDessG SerDes

4× 1G SerDeGS1G Se4× 1GerDerD4×DeDesesese

/2 × 1G×1×11G1GG/2.5G SerDesDeDe5G5GGG/2 5esesGSGGssss

FreqqFreq

4×1000BT00BT4×1004×104×4×

DDR3DRDDRDDDDDDR3

SDSDSDSD

CCCardCardCardC

SPI BootSPI BoBSPI BootB

FlashFlashFlashFlFla

PLLPLLPLLLLLL

OCXOOOCX

20 MHz202220 MH

UART//ART

Two-WireireireTwTere

SerialSeSeria

GPSSS

InputInpuInnpu

LEDLEEDDsDssD

Hardware

AlarmaAlaarAlarmarmmmm

RelayRelelaReelayssssss

ShiftSShiftttShiftSS

ReRReegistersegistersge

T

OOOIOIOOIOODIIMOOOOOIIIMOOOMD

ExternalxtEx

CPUCPUCPUCU

(optional)onaltional(optio))((o

Miscellaneous and control

Ethernet packets

Managemen

t

Precision timing

CPUUCPUC

1588 PTP

OAM MVRPquotesdbs_dbs29.pdfusesText_35
[PDF] définition compétence professionnelle

[PDF] connaissance définition philosophique

[PDF] etymologie du mot medecine

[PDF] mots français empruntés ? l'arabe

[PDF] noms latins utilisés en français dans le domaine de la médecine

[PDF] des mots venus d'ailleurs cm1

[PDF] étymologie médecin

[PDF] mot emprunté ? l'anglais

[PDF] origine du mot malade

[PDF] mots français empruntés ? d'autres langues

[PDF] composition d'un produit cosmétique

[PDF] composition cosmétiques

[PDF] analyse composition produit alimentaire

[PDF] composition chimique d'une étoile

[PDF] liste inci cosmétique