Beruflich Dokumente
Kultur Dokumente
Applications in Communication
Systems
Akber Kazmi
PLX Technology
• High Speed Serial • Reduced cost, pin count, PCB layers & area
PCI
PCIExpress
Expresscan
canbe
beused
usedin
inmany
manymarket
marketsegments
segments
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 5
Typical PCI Express System
Root Complex
Connects host CPU/memory
complex to PCI Express CPU CPU
hierarchy
Not limited to a single device
One or more downstream ports
Switch
Assembly of logical PCI-to-PCI bridges
One upstream port directed towards root
MEM Root Complex
complex
One or more downstream ports
Switches can be stacked Links
Peer to peer traffic allowed
Bridge
One upstream port
PCI Express PCI Express
directed towards root Bridge Switch
complex
One downstream to
other devices
PCI/ PCI-X This Switch
J2
Example: PCI or J1 J2 has 4 ports
PCI-X bus J1 J2
J1 PCI Express PCI Express
Switch End Point
Endpoints
Native PCI Express Endpoints
Examples:
USB, InfiniBand, E’net
FibreChannel, etc.
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 6
Configuration
1) The Host CPU enumerates
the PCI Express system CPU
2) Enumeration MUST flow
downstream
MEM Root Complex
3) Switches are enumerated
as a number of P2P bridges
Host Host
Bus 0
Bus 0
P2P
P2P Bus 1
Bus 1
P2P P2P
Bus 3 Bus 2
End Point End Point End Point End Point
B1, D1, F0 B1, D0, F0 B3, D0, F0 B2, D0, F0
Bus0
configuration CPU
Bus=0
Sub=9
Host/PCI
Bridge
requester device to route
accesses are completion data.
Bus0
accesses at
Sub=9 Sub=11 make routing easy.
the destination 2) Device 8,0,0
Bus1
bus. E.g. a requests read
Upstream Pri=1
Type 1 access P2P Sec=2 data from device
Port0 Sub=9
to a device with 9,0,0
bus number 1 Bus2
is converted to
a Type 0 3) Device 9,0,0
access here Pri=2 Pri=2 Pri=2 Pri=2 Pri=2 Pri=2 Pri=2 sends data
Sec=3 Sec=4 Sec=5 Sec=6 Sec=7 Sec=8 Sec=9
Sub=3 Sub=4 Sub=5 Sub=6 Sub=7 Sub=8 Sub=9 with Requester
Configuration Down Down Down Down Down Down Down ID of 8,0,0
and P2P
Port1
P2P
Port2
P2P
Port3
P2P
Port4
P2P
Port5
P2P
Port6
P2P
Port7
completions
Bus3 Bus4 Bus5 Bus6 Bus7 Bus8 Bus9
accesses use
Endpoint Endpoint Endpoint
Bus, Device, Bus 3
Endpoint Endpoint Endpoint Endpoint
Bus 8 Bus 9
Dev. 0 Dev 0 Dev 0
Function Fun. 0 Fun 0 Fun 0
numbers.
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 12
Reverse and Forward Bridging
Processor
SDRAM
GFX North Bridge
PCI
Forward
PCI
Bridge
End-point
PCI Express
Link
Upstream
Port0 (T)
Virtual
Interface
NTB Port2 Down
Down Down
Port 1 Type0 Type1 Port 3 Port 7
Idle
Type0
Link
Interface
PCI Express PCI Express PCI Express PCI Express
Link Link Link Link
HOST/
Device Device Device
Fabric
Link
Physical Layer
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 18
Transaction Layer
- Implementation
Packet Header for Address Routing is either 12 or 16
bytes
0 1 2 3
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
T E
Byte 0 R Fmt Type R TC R D P Attr R Length
0 1 2 3
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
T E
Byte 0 R Fmt Type R TC R D P Attr R Length
Byte 4 Request Specific
Byte 8 Address [31:2] R
Link
9 Bit lock, Serialization/Deserialization
9 LVDS signaling
High
HighSpeed
SpeedSerial
SerialInterface
Interfacewith
withEconomies
Economiesof
ofScale
Scale
x1 Lane
Chip-to-chip, board-to-board, box-to-box Character7
9 Cable spec in development Character6
Character2
9 Gen-2 in definition Character1
No sideband signals
9 8b/10b encoding used
Character4 Character5 Character6 Character7
x4 Lane
x4 Byte Striping
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 26
Data Integrity Support
Data Link Layer Mechanisms (Link/Local):
9 TLPs protected using 32bit CRC
9 DLLPs protected using 16bit CRC
9 TLP error recovery through Data Link-level retry
9 Supplemental coverage through 8b/10b
9 Loss of packets detected using Sequence Numbers
Transaction Layer Mechanisms (End-to-End):
9 Optional coverage using 32bit CRC
9 Data Poisoning capability
PCI
PCIExpress
ExpressEnables
EnablesHot
HotPlug
PlugCapability
Capabilityfor
forthe
theMainstream
Mainstream
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 30
Quality of Service
Traffic Classes (TC)
9 Software-controlled method to add traffic priority
9 Part of HEADER field in a TLP
Header Payload
Virtual Channels (VC)
9 Hardware method to provide separate data paths
9 Part of queue structure in switches and bridges
9 Hardware may have fewer than 8 VCs
TC0 VC0
Software TC1 VC1 Hardware
.
TC7
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 31
VCs and TCs
QoS though VC’s and TC’s
9 Software decides what TC a packet should use
9 VC’s allow multiple independent logical data flows over the link
9 TC’s are mapped into VC’s
9 Multiple TC’s may be mapped into one VC
9 TC/VC mappings can be configured per port
9 Ingress and egress payload credits are programmable per VC, port and
transaction type
VC Buffers
VC Buffers
Device A
Device B
TC[2:0] to VC0
TC/VC Mapping
VC0
Arbitration
VC1
TC[7:3] to VC1
Port Arbitration:
9 Traffic targeting same VC/Egress Port
9 Fixed Round-Robin (RR), programmable Weighted RR,
programmable Time-based WRR
VC Arbitration:
9 Traffic from different VC competing for the Link
9 Fixed priority, RR, programmable WRR
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 34
Agenda
Fiber Channel
Fiber Channel
Core
Network
Metro Public
PCI, PCI Express Networks
Enterprise
Ethernet
SONET,
XAUI OIF standards
PCI, Backplane PCI Express
PCI Express
Host/ /System
Host System Line
Line Resource
Resource Switch
Switch
Controller Line
Line
Cards Resource
Cards Card(s)
Controller Line
Cards
Cards Cards
Cards Card(s)
Cards
Cards
•• Security,
Security, database,
database, storage,
storage,
protocols,
protocols, signalling, etc.
signalling, etc.
•• Line
Line speed
speed packet
packet •• Voice:
•• System
System level
level control
control & & Voice: codecs,
codecs, speech
speech
forwarding
forwarding synthesis
management
management synthesis && recognition,
recognition, echo
echo
•• Control
Control && management
management of
of cancel,
•• Config,
Config, provisioning,
provisioning, errors
errors cancel,
lines, devices, connections,
lines, devices, connections, •• Content:
&
& faults,
faults, stats,
stats, billing,
billing, Content: transcoding,
transcoding,
users
users etc.
etc. localization
•• Redundant
Redundant w w failover
failover localization
•• Protocol
Protocol processing
processing •• Standalone
•• Some
Some resource processing
resource processing Standalone appliances,
appliances, oror
common designs
common designs
Current implementations:
9 Fixed Configurations
NPU Coprocessor
9 Chips connected in
discrete daisy chain
fashion
Traffic
I/O
9 Optimized for particular (PHY &
Manager
& Fabric
applications
Control
MAC) CPU Interface
9 Devices must
pass/process traffic
NPU
destined for another Coprocessor
device
9 more flexible
9 scalable Control
CPU
NPU
LC 1 LC 3
CPU
LC 2 CPU
EP
CPU
PCIX
EP MCH MEM
PCIX MCH MEM
To Host B 1GE
PEx RC MEM
PEx 1GE1GE
To Fabric B
PEx
Switch To Host A 1GE
Switch
Fabric Card 2
PCI-SIG Developers Conference Copyright © 2004, PCI-SIG, All Rights Reserved 42
I/O Mezzanine Form Factors
PCI-X P-
PCI-X P--
Device
PCI-X P--
Device
PCI-X P--
Device
PICMG Express
AdvancedTCA
XMC Mezzanine Card
AMC Mezzanine Card
Co-
NPU Processor
Port 1
PCI Express
Switch (Control)
PCI Express
Switch
Host/CPU
Co-
NPU Processor
Port 1
Control Module
I/O CPU
CPU
Local Bus Bus
FGPA Bridge Bridge
I/O CPU
CPU
Bus
I/O
Bridge