Difference between revisions of "Using the IPv4 Code Option"

From ARL Wiki
Jump to navigationJump to search
Line 47: Line 47:
 
== Example 1 ==
 
== Example 1 ==
  
XXXXX overview of Ex1
+
* overview of Ex1
XXXXX real-net, meta-net relations
+
* 1 SPP
 +
* real-net, meta-net relations
 +
* only ping traffic (local and remote)
  
 
=== Preparation ===
 
=== Preparation ===
Line 57: Line 59:
  
 
XXXXX setup script setupFP1.sh
 
XXXXX setup script setupFP1.sh
 +
 +
* MIs
 +
** Implicit MI 0 for LD and EX
 +
** 1 for each FP EP plus MI 0 (LD, EX)
 +
* Filters
 +
** direct incoming packet to queue
 +
** For LD:  "--txdaddr 0 --txdport 0 --qid 0"
 +
* Queues
 +
** each queue is bound to an MI
 +
** each MI can have 1 or more queues
 +
** q$N for EX and q${N-1} for LD where $N is #queues
 +
** pkt scheduling:  weighted fair queueing
  
 
=== Send Traffic ===
 
=== Send Traffic ===
Line 69: Line 83:
  
 
XXXXX
 
XXXXX
 +
 +
* simplest complete example
 +
* all traffic
 +
* sliced

Revision as of 22:33, 9 March 2010

Template:Under Construction

Introduction

>>>> Metanet or Meta-Net ??? <<<<<

XXXXX

  • Why is this important?


The SPP Fastpath

XXXXX

  • Meta-Router packets
  • Meta-interface
  • UDP tunnel
  • Queues
  • Code option

The IPv4 Meta-Net

XXXXX

  • Packet path
  • Filters
  • Stats

Utilities and Daemons

XXXXX

  • scfg
    • generic
    • information, reservation management, queue management, resource allocation/freeing
  • ip_fpc
    • IPv4 filter management
  • ip_fpd
    • create IPv4 fastpath
    • process LD and EX traffic
  • sliced
    • process monitoring requests

Example 1

  • overview of Ex1
  • 1 SPP
  • real-net, meta-net relations
  • only ping traffic (local and remote)

Preparation

XXXXX getting files, etc

Setup the SPP

XXXXX setup script setupFP1.sh

  • MIs
    • Implicit MI 0 for LD and EX
    • 1 for each FP EP plus MI 0 (LD, EX)
  • Filters
    • direct incoming packet to queue
    • For LD: "--txdaddr 0 --txdport 0 --qid 0"
  • Queues
    • each queue is bound to an MI
    • each MI can have 1 or more queues
    • q$N for EX and q${N-1} for LD where $N is #queues
    • pkt scheduling: weighted fair queueing

Send Traffic

XXXXX

Teardown the SPP

XXXXX teardown script teardownFP1.sh

Example 2

XXXXX

  • simplest complete example
  • all traffic
  • sliced