Leveraging QorIQ Data Path Acceleration Architecture (DPAA) for Wireless Inf ...

June, 2010
Leveraging the QorIQ Data Path Acceleration
Architecture (DPAA) for Wireless Applications
FTF-NET-F0704
Stephen Cole – Senior Systems Architect
Jonas Svennebring – Senior Software FAE
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
Agenda (time/presenter to be removed)
►Challenges
►QorIQ
►Data
in Wireless Industry
Application Mapping
Path Acceleration – quick recap.
►Packet
I/O
►PME
– traffic monitoring and management
►SEC
– Ciphering and packet formatting
►Use-case:
Voice packet processing
►Use-case:
HSPA, mobile broadband
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
2
Challenges in Wireless Industry
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
3
Trends / Challenges
► Mobile
broadband has taken off
High bandwidths
• High user peak rates
• Low network latency
•
► Smart
Phones (iphone etc) require intensive signaling, i.e. control
processing.
► WCDMA
follows the LTE track in development
Competitive performance with HSPA+
• Support for flat architecture
•
► Home
base-station, will 2010/11 be the break through?
► All IP? Investments in ATM needs smooth migration, i.e. IP over ATM.
► Content Caches in field to offload main pipe to Internet?
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
4
Challenge: Mobile Broadband
R99: 384 kbps
R99: 384 kbps
HSDPA “basic”
HSUPA “basic”
R05: 3.6 Mbps
15 codes
R06: 1.4 Mbps
R05: 14.4 Mbps
64 QAM
HSUPA 2ms TTI
2x2 MIMO
R06: 5.8 Mbps
R07: 21 Mbps 28Mbps
16QAM
MIMO + 64QAM
R07: 12 Mbps
R08: 42 Mbps
Multicarrier
Multicarrier +
high order MIMO
R09-11: 80-160 Mbps
Very high peak rates!
Huge total bandwidth!
R09-11: 20-40 Mbps
How can this be handled
within a device?
R12-- : 400+ Mbps
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
5
WCDMA and LTE Core Networks
MGW
SBG
control/data
UE
NB
RNC
SGSN
GGSN
S-GW
control
UE
internet
data
MME
eNB
P-GW
HSS
internet
IMS
S-GW
CC
router
P-GW
internet
WiMax/CDMA
P-GW
internet
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
6
QorIQ Application Mapping
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
7
QorIQ™ Investment Continues Our Embedded Leadership Tradition
► Our
► 3rd
•
•
•
15+ year Heritage:
Generation Data Path
Gen-1: CPM MPC8260
Gen-2: QUICC Engine™ MPC8360
Gen-3: DPAA QorIQ P4080
► Accelerating
•
•
•
•
Connectivity
eTSEC
SEC 4.0
PME 2.0
PCIe, Serial RapidIO®, XAUI
MPC8572
MPC8548
MPC860
► Power
•
•
•
Architecture™ ISA
e500 PowerQUICC® III
e500 QorIQ P1, P2 platforms
e500mc QorIQ P3, P4 platforms
MPC8260
MPC8360
MPC8555
► Long
life cycle management for
industry
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
PowerQUICC®
TM
8
QorIQ™ Platform Levels matching Wireless Applications
45nm PLATFORMS / PRODUCTS
QorIQ P5
Highest-performing embedded processors
PRODUCTS: P5010 / P5020
MME
QorIQ P4
Octal and Quad core family
PRODUCTS: P4080
P4040
QorIQ P3
SGSN
IS Gateway
Quad core family – entry level MC
PRODUCTS: P3040 / P3041
QorIQ P2
High performance Dual and Single Core
PRODUCTS:
P2020 and P2010
Access
Gateway
Radio Network
Control
Content Caches
Basestation
QorIQ P1
Low Power Dual and Single Core
PRODUCTS: P1020 , P1011, P1010
Network Interface
And Line cards
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
9
QorIQ P4 Series P4080 Block Diagram
P4080
Architecture®
128KB
Backside
L2 Cache
Power
e500-mc Core
32KB
D-Cache
32KB
I-Cache
eOpenPIC
64-bit
DDR-2 / 3
Memory Controller
1024KB
Frontside
L3 Cache
64-bit
DDR-2 / 3
Memory Controller
CoreNet
PreBoot Loader
Security Monitor
1024KB
Frontside
L3 Cache
Coherency Fabric
PAMU
PAMU
PAMU
PAMU
Frame Manager
Frame Manager
PAMU
Peripheral
Access Mgmt Unit
Internal BootROM
Power Mgmt
SD/MMC
eLBC
Security
4.0
Queue
Mgr.
SPI
2x DUART
4x I 2 C
2x USB 2.0/ULPI
Test
Port/
SAP
Pattern
Match
Engine
2.0
Buffer
Mgr.
Parse, Classify,
Distribute
Parse, Classify,
Distribute
Buffer
Buffer
1GE 1GE
1GE 1GE
10GE
10GE
1GE 1GE
Real Time Debug
RapidIO
Message
Unit (RMU)
2x DMA
Watchpoint
Cross
Trigger
Perf CoreNet
Monitor Trace
PCIe PCIe
PCIe SRIO
SRIO
1GE 1GE
Aurora
Clocks/Reset
GPIO
CCSR
18-Lane 5 GHz SerDes
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
10
QorIQ P5 Series P5020 Block Diagram
►2x e500mc-64 core, built on
Power Architecture® technology
Power Architecture®
512 KB e500mc-64 2GHz Core
Backside
32 KB
L2 Cache 32 KB
D-Cache I-Cache
eOpenPIC
►Ethernet
Coherency Fabric
PAMU
PAMU
PAMU
Peripheral
Access Mgmt Unit
• 5 x 10/100/1000 Ethernet controllers
• 1 x 10GE controller (XAUI)
PAMU
PAMU
Internal BootROM
Power Mgmt
2x USB 2.0 PHY
Clocks/Reset
GPIO
CCSR
Buffer
Mgr.
RAID
5/6
Engine
SRIO
Mgr.
Buffer
1GE 1GE
10GE
1GE
1GE 1GE
►High Speed Interconnect
Real Time
Debug
SATA 2.0
Pattern
Match
Engine
2
Parse, Classify,
Distribute
PCIe
4x I 2C
Queue
Mgr.
PCIe
DUART
SEC
4
PCIe
SRIO
SRIO
eLBC
PCIe
SPI
DMA
x2
SATA 2.0
Frame Manager
SD/MMC
►Memory Controller
• Dual 32/64-bit DDR3/3L w/ECC up to
1.3 GHz
CoreNet™
PreBoot Loader
Security Monitor
64-bit
DDR-3
Memory Controller
1024 KB
Frontside
L3 Cache
• 2x 64-bit cores (up to 2+ GHz) with
512 KB backside L2 cache
• Dual 1MB Shared L3 cache w/ECC
Watchpoint
Cross
Trigger
Perf CoreNet
Monitor Trace
Aurora
►CoreNet Switch Fabric
►Trusted Architecture
►Data Path Acceleration
Architecture
18-Lane 5 GHz SerDes
► Pin Compatible to P4080, P4040 & P3041
► 45nm SOI Process
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
• 4 PCI Express® 2.0 controllers
• 2 Serial RapidIO® 1.3 + 2.0
controllers
• 2 SATA 3Gb/s
• 2 USB 2.0 with PHY
•
•
•
•
Security Engine (SEC)
Pattern Matching Engine (PME)
RAID 5/6 Engine
Enhanced RapidIO Messaging
(Rman)
TM
11
QorIQ P3 Series P3041 Block Diagram
Quad e500mc Power Architecture®
128 KB
Backside
L2 Cache
32 KB
D-Cache
64-bit
DDR3/3L
Memory Controller
1024 KB
Frontside
L3 Cache
32 KB
I-Cache
eOpenPIC
PAMU
PAMU
Peripheral
Access Mgmt Unit
PAMU
PAMU
High Speed Interconnect
Internal BootROM
Power Mgmt
Queue
Mgr.
Rapid
IO
RMan
Pattern
Match
Engine
2.0
Buffer
Mgr.
1GE 1GE
10GE
1GE
1GE 1GE
PCIe
2x USB 2.0 PHY
Buffer
PCIe
4x I 2C
Parse, Classify,
Distribute
PCIe
SRIO
SRIO
2x DUART
DMA
x2
SATA 2.0
SEC
4.0
PCIe
SPI
eLBC
32b
►4 PCIe 2.0 Controllers
►2 SRIO 1.3 + 2.0 Controllers
►2 SATA 2.0
►2 USB 2.0 w/PHY
Real Time
Debug
SATA 2.0
Frame Manager
SD/MMC
Watchpoint
Cross
Trigger
Perf CoreNet
Monitor Trace
Aurora
CoreNet Switch Fabric
Trusted Architecture
Datapath Acceleration Architecture
►Security Engine (SEC)
►Pattern Matching Engine (PME)
►Enhanced RapidIO Messaging
(Rman)
Clocks/Reset
GPIO
CCSR
►32/64bit DDR3/3L w/ECC up to 1.3
GHz
►5 x 10/100/1000 Ethernet Controllers
►1 x 10GE Controllers
Coherency Fabric
PAMU
Memory Controller
Ethernet
CoreNet™
PreBoot Loader
Security Monitor
►4 cores (up to 1.5GHz) with 128KB
backside L2 cache
►1MB Shared L3 Cache w/ECC
Power Architecture®
e500-mc Core
18-Lane 5 GHz SerDes
► Pin Compatible to P4080, P4040, P5020 & P5010
► 45nm SOI Process
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
12
MPC8569 PowerQUICC III
Bridging the Gap to the All-IP Network
►e500 PowerPC from 800MHz to 1.33 GHz
• 512KB L2 Cache w/ ECC
• 36bit physical addressing
• Double Precision Floating Point
►System Interfaces
• 64b or 2x32-bit DDR2/3 w/ ECC
• 800 Mbps/pin data rate
• 16-bit Local Bus for SRAM/Flash
• Timers, DUART, 2xI²C, GPIO, SPI
• USB 2.0 Full Speed
►High Speed Serial Interfaces
• Dual SGMII
• Dual x1 Serial RapidIO or PCI-Ex
►QUICC Engine
• 4 RISCs up to 667 MHz
• Maximum of 8 Ethernet interfaces, one per UCC:
• 4 x Gigabit Eth (up to 2 w/SGMII)
• Up to 8 x 10/100 Ethernet
• Multi-PHY UTOPIA/POS-PHY L2 (16-bit)
• IEEE1588 Support v2
• 16 x T1/E1 (512 x 64kbps channels)
►Security Engine (SEC3.0)
• ARC4, 3DES, AES, RSA/ECC, RNG, XOR, Single
pass SSL/TLS, Kasumi, SNOW
►Four-channel DMA
►45nm SOI process technology
►Target <7W Power (@ 800MHz e500)
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
13
Data Path Acceleration: Quick Recap
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
14
DPAA – Data Path Acceleration Architecture
►Frame
►Parse
Manager:
header information
Backside
L2 Cache
packets to allow load
balancing between cores
32 KB
I-Cache
Coherency Fabric
Frame Manager
Security
4.0
►Distribute
32 KB
D-Cache
CoreNet
►Classify
to what destination the
packet is targeted
ex. MAC, IP, UDP destination
Power Architecture®
e500-mc Core
Pattern
Match
Engine
2.0
Queue
Mgr.
Parse, Classify,
Distribute
Buffer
Buffer
Mgr.
1GE 1GE
10GE
1GE 1GE
SerDes
►Police
flows to avoid DoS attacks
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
15
QMan Software Portals
Cores can choose during run time
to dequeue from dedicated or
shared channels
L2 Cache
Power Architecture®
Core
D-Cache
I-Cache
L2 Cache
L2 Cache
Power Architecture®
Core
Power Architecture®
Core
D-Cache
QMan
portal
I-Cache
D-Cache
portal
I-Cache
portal
Pool Channel
Dedicated Channel
channel
channel
channel
channel
WQ7
WQ6
WQ5
WQ4
WQ3
WQ2
WQ1
WQ0
WQ7
WQ6
WQ5
WQ4
WQ3
WQ2
WQ1
WQ0
WQ7
WQ6
WQ5
WQ4
WQ3
WQ2
WQ1
WQ0
WQ7
WQ6
WQ5
WQ4
WQ3
WQ2
WQ1
WQ0
Frame
Queues
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
16
QoS supported through Channel Scheduler
WQ0
WQ1
WQ2
WQ3
WQ4
WQ 5
WQ6
WQ7
Strict Priority 0
Strict Priority 1
RoundRobin Medium
RoundRobin Low
Aging
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
17
Queue Manager (QMan)
To CoreNet
► QMan
provides a set of
building blocks
(Cores, sRIO, PCIe)
•
Memory Mapped Portals
…
…
…
Queuing
Engines
…
HW Portal
Internal queue/descriptor
memory
…
HW Portal
To
SEC4.0
…
…
To
PME
Frame queues (FQ) which are
enqueued onto
…Work queues (WQ) which are
organized into
…Channels with prioritized class
scheduling between WQs
… which can be used to build
connections between blocks (cores,
network I/Fs, HW accelerators)
► Frame
queues are “logical”
queues
•
Actual data is stored in memory
buffers, QMan queues “ frame
descriptors”
► QMan
also supports active
queue management:
Tail drop on FQs
• WRED on groups of FQs
• Tail drop on groups of FQs
•
HW Portal
HW Portal
► Channels
To FM
To FM
can be shared
between consumers which
facilitates load spreading
► Channels may also be
dedicated
to a single consumer
18
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
Unified DPAA Frame Formats
Multi-buffer (Scatter/gather)
Frame
Frame Descriptor
PID
BPID
Address
100
Offset
Length
Status/Cmd
D
Simple Frame
Frame Descriptor
PID
BPID
Address
000
Offset
Length
Status/Cmd
D
S/G List
Address
00
Length
BPID
Offset
Address
00
Length
BPID
Offset
Data
Data
…
Data
Address
01
Length
BPID
Offset
Data
Buffer
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
19
Packet I/O
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
20
FMan/QMan Ingress Packet Processing
16M Queues
(Frame Queues)
References to Packet
3
4
QMan
Frontside Cache
Classification driven enqueue distribution
Packet Data written to
main memory subsystem
DDR SDRAM
Packet Data Stored in
H/W managed buffers
2
FMan
Buffer Acquisition Request
Packets
in
process
…
Buffer Reference
Bman
MURAM
10G
1G
1G
1G
1G
1
Packets Arriving
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
21
Example Location of NAPT Functionality
computational cluster in RNC / SGSN / GGSN / …
192.168.10.1 192.168.10.2
To/From other nodes
10.172.38.10
192.168.10.3 192.168.10.4
P4080
P4080
P4080
P4080
P4080
P4080
P4080
P4080
P4080
NAPT
Common IP address
to all computational
units.
192.168.10.8 192.168.10.7
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
192.168.10.6 192.168.10.5
TM
22
NAPT Basic Principle
typedef struct SHLL_node
{
SHLL_node
*Next;
uint32_t
IpFrom;
uint32_t
IpTo;
uint16_t
PortFrom;
uint16_t
PortTo;
union mac_address_t EthTo;
uint64_t
StatBytes;
uint64_t
StatPackets;
From
IP
To
UDP IP
UDP MAC
Statistics
192.168.10.10 10 10.171.34.10 20 FF:EE:DD
N, M
}
UDP
IP
Ethernet
10
20
192.168.10.10
10.171.34.10
11:22:33:44:55:66
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
FF:EE:DD:CC:BB:AA
UDP
IP
Ethernet
TM
23
System Configuration: Linux® OS and Bare-metal
►Demo
implementation based on separated slow- and fastpath
►Linux
running on 1 core with
control software on top
►7
cores bare-metal application
processing packets
►Hypervisor
protects the partitions
from each other
Linux
Bare-Board
Control
IP Stack
Driver
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
NAPT
NAPT
…
NAPT
Hardware
TM
24
Core / Accelerator Partition
Frame Manager Ingress
1.
2.
3.
4.
5.
Software
6.
7.
8.
Dequeue from Frame Manager
Translation lookup
Enqueue to Frame Manager
Accelerator
►
Buffer allocation in DDR
Parser / classification / policing
IP checksum
UDP checksum
Enqueue to core
Core
►
Accelerator
►
Frame Manager Egress
9.
10.
11.
12.
Dequeue from core
Add UDP checksum
Add IP checksum
Buffer deallocation from DDR
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
25
RMan Datapath
DDR
CoreNet
RMan
QMan
BMan
DMA
DMA
OCN
Logical
Layer
ATMU
ATMU
SRIO
SRIO
Link Controllers
Port 0
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
Port 1
TM
30
RMan for QorIQ: Greater Performance and Functionality
►Many
•
queues allow multiple inbound/outbound queues per core
Hardware queue management via QorIQ Datapath Architecture (DPAA)
►Supports
all messaging-style transaction types
Type 11 Messaging
• Type 10 Doorbells
• Type 9 Data Streaming
•
►Enables
low overhead direct core-to-core communication
QorIQ or DSP
Device-to-Device
Transport
Core Core Core Core
10G
QorIQ or DSP
Channelized CPUto-CPU transport
Core Core Core Core
SRIO
10G
Type9
MSG
SRIO
User PDU
User PDU
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
31
RMan Enables New Zero-CPU Overhead Use Models
QorIQ
Scalable Multicore
System
Core Core Core Core
Channelized
Inbound Enet-toremote CPU
transport
DSP or QorIQ
Core Core
Datapath
10G
Core
CPU
Datapath
SRIO
10G
SRIO
MSG Ethernet Frame
Type9 Ethernet Frame
Ethernet Frame
Transparent bridging w/zero
CPU intervention for multiple
classified Enet streams
QorIQ
Ethernet Bridging
CPU CPU CPU CPU
QorIQ
CPU CPU CPU CPU
Datapath
10G
Datapath
SRIO
10G
SRIO
MSG Ethernet Frame
Type9 Ethernet Frame
Ethernet Frame
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
Ethernet Frame
TM
32
PME: Traffic Monitoring and Management
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
33
Deploy Deep Packet Inspection and Policy Control
► DPI
•
•
•
enables companies to:
Understand the network traffic and pattern
Gather business intelligence
Identify trends and adapt to those trends
► Policy
•
•
•
Control enables:
A smarter pipe requires fine-tuned network controls
Control and manage growing usage
Fair usage to all network users
192.168.1.1:80
192.168.1.1:25
192.168.1.1:1863
10.10.10.100:16734
10.10.10.100:17784
10.10.10.100:16855
10111011000011100110011
Packet Network
Application
Presentation
Session
Transport
Network
Data Link
Physical
Smart Phone
TCP
TCP
TCP
Application Protocol
http, BT, VoIP, IPTV
RNC
3G SGSN
PDN GW
Five Tuple
Protocol (TCP or UDP)
Source and destination Port
Source and destination IP Addr
DPI Inspection
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
IP Addr
Mac Addr
Web
TM
34
Policy Control: DPI with Pattern Matcher
► Regex
support plus significant
extensions:
•
► Combined hash/NFA technology
•
No “explosion” in number of patterns
due to wildcards
•
Low system memory utilization
•
Fast pattern database compiles and
incremental updates
► Stateful
rules operate on a per
session basis
•
•
•
Access to Pattern Descriptors and State
On-Chip
System
Bus
Interface
CoreNet
•
Patterns can be split into 256 sets
each of which can contain 16 subsets
32K patterns of up to 128B length
9.6 Gbps raw performance
BMan QMan
•
Pattern Matching Engine components
Pattern
Matcher
Frame
Agent
(PMFA)
Key
Element
Scanning
Engine
(KES)
Hash
Tables
Data
Examination
Engine
(DXE)
Stateful
Rule
Engine
(SRE)
Cache
Cache
User Definable Reports
User-defined logic reacts to pattern
matches detected by the DXE
Can be used to further qualify the
pattern match
Protocol state tracking (e.g. track the
“normal” transitions of SMTP)
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
35
SEC: Ciphering and Packet Formatting
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
36
P4080 RLC AM Downlink Processing
Downlink Shared Descriptor
31
0
bearer
dir
shared descriptor header
LOAD imm dst=math0 <- (the 16 byte ppdb)
20 bit "ESN"
reserved for CA & CE
SEQ LOAD dst=math1 len=8
SEQ FIFO LOAD len=encrypted payload length
KEY inline len=16 class=1 dst=key
16-byte inline key
MATH shr dst=math1 <- src0=math1 src1=imm IFB
immediate value 4
MOVE dst=mat2 src=math1
MATH shr dst=math2 <- src0=math2 << src1=imm IFB (right align SN)
immediate value 47
MATH and dst=math2 <- src0=math2 & src1=IMM IFB
immediate value FFF
MATH add dst=math0 <- src0=math0 + src1=math2
MOVE dst=cl1ctx src=math0 offset=0
OP Kas-f8
wait for done
MOVE src=output FIFO dst=math3 len=encrypted payload length
MOVE dst=math2 <- src=output FIFO len=8
MATH shr dst=math1 <- src0=math2 >> src1=imm IFB
immediate value 12
MATH or dst=math0 <- src0=math0 || src1=math1
MOVE dst=output FIFO <- src=math0 len=8
MATH subtract dst=math3 <- src0=math3 - src1=IMM IFB
immediate value 8
MATH shl dst=math0 <- src0=math2 << src1=imm NFU IFB
immediate value 52 (64 - 12)
jump on NZ to L2
jump to lbl
Seq FIFO Store len=full length
The SEC dequeues from its highest priority FQ, an
action which gets it the Shared Descriptor, the FD, SG
List, and initial data.
The Shared Descriptor is only fetched once per FQ
dequeue, and a configurable max number of FDs can be
processed from that FQ.
Dequeue Parameters
Frame Queue ID
Context Pointer
Seq#
Frame Descriptor 1
Multi-Buffer Frame 1
7
0
D
Seq#
Seq# N
P HE=00
PID
BPID
Address
100 Offset
Length
Status/Cmd
D
PDU 1 Payload
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
37
SEC 4.0 for P4080 rev2
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
38
DECO Commands
► Load
•
•
•
[SEQ] KEY – Load cipher keys
[SEQ] LOAD – Load register
[SEQ] FIFO LOAD – Loads In/Out FIFO
► Store
•
•
Commands:
Commands:
[SEQ] STORE – Store register
[SEQ] FIFO STORE – Store In/Out FIFO
► MOVE
– Move data between SEC registers.
► MATH
– Perform arithmetic operation (sum, and, or, xor, bitshift, …)
► OPERATION
– Execute cipher operation (Kasumi, Snow, AES, …)
► JUMP – Branch in the descriptor
► SEQ IN/OUT PTR – Sets pointer for in/out sequence data.
► JD/SD HEADER – First word in the descriptor.
► SIGNATURE – Last word in trusted descriptor.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
39
P4080 RLC AM Downlink Processing
An output Frame Descriptor is sent out from the SEC that in turn points to the generated
output data. Input data is either left in memory but can also be freed and the buffer
returned to BMan.
Output Frame
Descriptor 1
7
empty
P
0
D
Seq# N
HE=00
PID
BPID
Address
000 Offset
Length
Status/Cmd
D
N Bytes encrypted payload
empty
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
40
P4080 RLC AM Downlink Processing
The frame descriptors is enqueued into a work queue / channel back to a
core for further processing.
7
empty
P
L2 Cache
0
D
Seq# N
HE=00
e500mc
D-Cache
I-Cache
portal
N Bytes encrypted payload
empty
channel
WQ7
WQ6
WQ5
WQ4
WQ3
WQ2
WQ1
WQ0
Frame
Queues
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
41
Use Case: Voice Packet Processing
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
42
Challenge: Voice Packets
►Voice
Packets are ciphered/formatted in RNC (3G) and (e)NB (LTE
and 3G flat architecture).
►Voice
packets are large to the number but small to the size (~20
bytes).
►Typically
each active flow has a packet per ~20ms, i.e. it is not
possible to group packets of same flow or latency will increase and
phone conversation will not work (lag severely).
►Hardware
Acceleration is a big benefit but overhead/byte of sending
to accelerator has been a big problem since packets are so small.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
43
Per Flow Ciphering
Frame Descriptor
PID
BPID
Address
100
Offset
Length
Status/Cmd
Context 0
Data S/G List
D
00
Length
BPID
Offset
Address
10
Length
BPID
Offset
Address
Shared
Descriptor
Output
Input S/G List
Length
BPID
Offset
Address
00
Length
BPID
Offset
Address
…
Key 0
Context 0
Key 1
Context 1
Ciphered
Packet 0
00
Address
01
Length
BPID
Offset
Job Definition
(# of packages, size etc)
Packet 0
Ciphered
Packet 1
.
.
.
Ciphered
Packet N
.
.
.
Data N
…
Key N
Context N
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
44
S/G output – buffers at random location
Frame Descriptor
PID
BPID
Address
100
Offset
Length
Status/Cmd
Context 0
Data S/G List
D
00
Length
BPID
Offset
Address
10
Length
BPID
Offset
Address
Shared
Descriptor
Input S/G List
00
Length
BPID
Offset
Address
00
Length
BPID
Offset
Address
…
Key 0
Context 0
Key 1
Context 1
Address
01
Length
BPID
Offset
Job Definition
(# of packages, size etc)
Packet 0
.
.
.
Output S/G List
00
Length
BPID
Offset
Address
00
Length
BPID
Offset
Address
00
Length
BPID
Offset
…
Data N
Address
01
Length
BPID
Offset
Ciphered
Packet 0
Ciphered
Packet 1
.
.
.
Ciphered
Packet N
…
Key N
Context N
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
45
Use Case: HSPA Mobile Broadband
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
46
Challenge: Data Packets
►Huge
total bandwidth!
►Very high individual user peak rate.
►Complex protocol processing.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
47
Overall Flow HS
From PDCP/GTP-U layer:
User data: IP packet (max 65535 bytes)
RLC layer:
Segmentation +
Add RLC header
2 40 byte
Retransmission buffer
MUX +
Status PDUs
...
Per PDU ciphering
Set fields in header + piggyback
MAC-d
...
MAC layer:
FP layer:
C/T + Flow control
4 bit shift
PDU 1
PDU 2
PDU 3
header+CRC7
NodeB
...
PDU 4
PDU 14
tail + CRC16
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
48
Frame Type 1 with MAC and RLC PDU – R7
Blue = Empty
Example of special cases:
E bit can have “alternative interpretation”
HE valid values differs over revisions
Length field can be 7 or 15 bits
E
Payload
Cipher
Bitshift
Length N
Data, PDU 1
…
Data, PDU N
Data, Pad or status
…
Pad
Tail
New IE Flags
DRT…
…DRT
Spare Extension
Payload CRC…
49
…Payload
CRC
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
Header
Header CRC
FT
Frame Seq Nr
CmCH-PI
PDU Length…
Flush FSN/DRT Empty
…PDU Length
Reset
[0]
Num of PDUs
User Buffer Size…
…User Buffer Size
…
CT
Empty [7-4]
D/C
Sequence Number
Sequence Number P HE
Length 1
E
Gray = Depends on configuration and version
TM
Frame Type 2 with MAC and RLC PDU – R7
Cipher
Bitshift
Length N
E
Payload
Data, PDU 1
…
Data, PDU N
Data, Pad or status
Pad
…
HE
E
MAC-d PDU A N
CT
Empty [7-4]
D/C
Sequence Number
Sequence Number P
Length 1
MAC-d PDU B 1
Payload
Block N MAC-d length
Block N length empty Block N #MAC-d
Block N Log Ch id
Padding
DRT…
…DRT
H-RNTI…
…H-RNTI
RACH Measurement Results
Header
Header CRC
FT
Frame Seq Nr
CmCH-PI
Flush FSN/DRT DRT
# PDU in blocks
Reset Indicator
FI
Empty [6-0]
User Buffer Size…
…User Buffer Size
Block 1 MAC-d length
empty
Block 1 length
Block 1 #MAC-d
Block 1 Log Ch id Block 2 MAC-d len
empty
Block 2 MAC-d len
Block 2 # MAC-d Block 2 Log Ch id
…
…
MAC-d PDU X N
MAC-d A 1
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
…
Tail
MAC-d A 2
Spare Extension
Payload CRC…
…Payload CRC
TM
50
PDCP layer
HSPA: AM RLC/MAC/FP Downlink
RLC layer
Segm./concat.
Add RLC header
Bold frame indicates intensive work.
Blue = Core
Green = Accelerator
Retransmission
MUX
TX buffer
Features for mobile broadband:
Set header field
& piggyback
Cipher
NodeB data
request
C/T MUX
MAC layer
Flow Control
Bit-shift MAC-d’s
►Cipher blocks of packets
►Auto-update sequence number
►Bit-shifting
►CRC-7 / CRC-11 / CRC-16
►Dual CRC (header/payload)
FP layer
Add header/tail
Header CRC-7
Tail CRC-16
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
51
RLC / MAC / FP flow on P4080: Example A
►
User data assembled in memory, from GTP-U.
►
When MAC flow control indicates that we can send data:
Core:
1. Checks retransmission buffer.
2. Checks status transmission buffer.
3. Creates RLC headers with status.
4. Checks if C/T MUX is used.
5. Adds pointers to segments and RLC headers.
6. Concatenation/piggyback/pad. of last user-data packet
7. Saves pointers for retransmission buffer
8. Creates FP header/tail.
SEC: segments, adds header, bitshift and cipher. Adds FP header/tail and
computes CRC-7 and CRC-16.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
52
Type-1 MAC-d processing
Frame Descriptor
PID
BPID
Address
100
Offset
Length
Status/Cmd
S/G List
D
00
Length
BPID
Offset
Address
10
Length
BPID
Offset
Address
Output
User Buffer Size
D/C
empty
Seq# N
P HE=00
Input S/G List
Length
BPID
Offset
Address
00
Length
BPID
Offset
Address
00
Length
BPID
Offset
Address
00
Length
BPID
Offset
7
0
FT
Header CRC
Fr Seq #
CmCH-PI
MAC-d PDU Length
F FS
0
# of PDUs
00
82B encrypted payload
Job Definition
empty
P
empty
D/C
Seq# N
HE=00
Header 0
82B encrypted payload
Payload 0
empty
P
Header 1
…
82B encrypted payload
.
.
.
Address
01
Length
Payload N
BPID
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in aOffset
Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
empty
D/C
Seq# N
HE=00
empty
New IE flags
DRT
Spare Extension
CRC16 (LSB)
CRC16 (MSB)
TM
53
DEMO
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
TM
54
TM