Docsity

IXP2400 Chip Overview: Architecture, Highlights, and Programming Model - Prof. Calton Pu, Study notes of Computer Science

Partial preview of the text

Download IXP2400 Chip Overview: Architecture, Highlights, and Programming Model - Prof. Calton Pu and more Study notes Computer Science in PDF only on Docsity!

Overview of IXP

Architecture

• Intel 2

nd^ generation network processor

• designed for network processing– goal to optimize for

fast path

, and

accommodate

slow path

– programmable – fast deployment of newservices, upgrades, protocols…• needs external control processor

-^ DRAM controller– for packet storage (up to 2GB, but access slow ~300 cycles,

64bit wide)

-^ SRAM controller– store packet queues, lookup tables…, ~150 cycles, 32bit)•^ Scratchpad memory (16k)– on chip, for parameters, communication b/w uEs…•^ PCI bus (64bit/66MHz)– connect to “host” – external control processor, or other PCI-

compliant devices (e.g, chain IXPs together)

-^ Other units– Hash, control registers, other peripherals (timers, interrupt

controller…), perf. monitors…

MEv2^6 MEv2^7 MEv2^5 MEv2^8

Intel®XScale™Core32K IC32K DC

Rbuf64 @ 128B Tbuf64 @ 128B^ Hash64/48/128Scratch16KB

QDRSRAM^1 DDRAM QDRSRAM^2

GAS KE T

PCI(64b)66 MHz

32b32b 32b32b

1818 1818 1818 1818

(^7272) 64b64b

S P I^3 orCS I X

E/D Q^

E/D Q

MEv2^2 MEv2^3 MEv2^1 MEv2^4

CSRs-Fast_wr^

-UART -Timers^

-GPIO IXP2400IXP2400 -BootROM/Slow Port

* John Morgan presentation atIXA University Summit

128 GPR^

ControlStore4K/8KInstructions

128 GPR

LocalMemory640 words

128 NextNeighbor^ 128 SXfer Out 128 DXfer Out

CRC UnitOtherLocal CSRs

128 SXfer In 128 DXfer In

LM Addr 1LM Addr 0

D-PushBus

S-PushBus

D-Pull Bus

S-Pull Bus

To Next Neighbor

From Next Neighbor

A_Operand

B_Operand ALU_Out

P-Random #

32-bit ExecutionData Path MultiplyFind first bitAdd, shift, logical 2 perCTX CRC remain

StatusandTAGsLockLRU0-150-15Logic(6-bit)Entry#Status CAM

TimersTimestamp

B_opPrev B

A_opPrev A

MicroEngine v

IPC

• messaging via circular queues (rings)– scratch/SRAM operations for ring management• signaling– 15 signals per context– context can poll a signal explicitly– use to guard critical sections

hardware manual:/net/hp31/ixpdev/sdk3 or 4.1/Docs/IXP2400/software tools:…/Tools/…our IXP2400 Boards:Radisys ENP-2611/net/hp31/ixpdev/CD-Images/IXA_Education_Wkstn3.1/Docs…

ILAB setup

www.cercs.gatech.edu/projects/npg/ilab/

Programming model

receive receive receive

f1 f1..fnf1..nf1..n f

fn^

xmit

f2..fnf2..n

xmit xmit

issues: size of fi, cyclecount for fi,

state across packets at fi, state for a packet across all fis

Microengine Programming Model

Dispatch Loop Hardware Abstraction Library

Utility Library

Protocol Library

Microblock Infrastructure Library

Microblock Microblock

Microblock

Microblock GroupSource^

Sink

**

Programming the IXPs

•^ Rely on tools (Windows)– Software Development Kit – Development Workbench +

Simulator (Transactor)• cycle accurate simulation (or so)• traffic generator• build DLLs to implement interaction with special components

  • e.g., custom protocols, interactions with XScale or host…

– Architecture Development Tool• initial design and analysis• /net/hp31/ixpdev/exports-sdk4.0/SDK/nassaupr8_noncrypto.zip

Program in•^ microC (familiar, portable),or •^ microcode (efficient, best use of platform features)or •^ mix of bothBuild and run code with•^ workbench tools (hardware mode)or •^ microcode assembler and linker on ilab and XScalecommand line utilities on ilab-ixp– ssh ilabn -> telnet ilabn-ixp1 -> load, start, stop, sram…