Lecture 6 - SDN P4 Flashcards

1
Q

Why Program Data Planes?

A
  • Fixed function ASICs (chips)
  • Features are either supported or not
  • Slow cycle of innovation (creating new chips)
  • “Closed Source”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some problems that require programming data planes?

A
  • No ASICs for special use-cases
  • Expensive “change requests” only the vendor can modify drivers or behavior
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which planes are programmable?

A

Both Control and Data plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the traits of FPGAs?

A

Field Programmable Gate Array
- Any Boolean Logic
- Registers
- Memory
- SerDes capabilities
- Reconfigurable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name some hardware description languages and 2 compilers for FPGS.

A
  • Verilog
  • VHDL
  • BlueSpec

Compilers:
- C
- P4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the P4 language goal?

A

An open source language allowing the specification of packet processing logic

  • Reconfigurability - Change how switches process packets
  • Protocol independence - Switches are not to be tied to any specific network protocols
  • Target independence - Description packet-processing functionality independent of the underlying hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What’s the P4_14 reference pipeline?

A
  • Parser and Deparser
  • Ingress and Egress Pipeline
    — Used for packet processing
    — P4 Programmable
  • Packet buffer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the disadvantages of P4_14?

A
  • Fixed pipeline
  • Only one parser (no deparser)
  • Poor expressivity
  • Fixed “table->Action” Construct
  • No “special functions”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name P4_16 design goals

A
  • Incremental Change
  • Expressivity
  • Support for many targets
  • Simplicity
  • Modularity
  • Extensibility
  • Robustness
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What’s the P4_16 reference pipeline?

A
  • No fixed pipeline
  • N programmable blocks
  • P4_14 compatibility? - Yes 2 programmable and 1 fixed function block
  • Smart NICs, FPGAs, p4-ASICs…
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Steps of the P4_16 Parser?

A
  1. Define header types
  2. Structure header stack
  3. Parse headers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly