XDP – eXpress Data Path
xdp_intro_and_use_cases_sep2016 xdp_intro_and_use_cases_sep2016
XDP: (FUTURE) per RX queue ● Current implementation ● Same/single XDP program runs on ALL RX queues ● ● Plan: per RX queue attaching XDP programs ● Use HW filters to direct traffic to RX queues Advantages: ● ● ● More flexible, don’t “take” entire NIC Can avoid changing memory model for all RX rings ● Thus avoid performance regressions Simpler XDP programs, with NIC HW filters ● Less parsing of traffic as type is given by HW filter 10/23 XDP – eXpress Data Path
XDP - actions ● Currently only implement 3 basic action 1) XDP_PASS: ● Pass into normal network stack (could be modified) 2) XDP_DROP: ● Very fast drop (recycle page in driver) 3) XDP_TX: ● ● Forward or TX-bounce back-out same interface I personally find "TX-bounce" very limiting ● Cannot implement the DPDK router example 11/23 XDP – eXpress Data Path
- Page 1 and 2: XDP - eXpress Data Path Intro and f
- Page 3 and 4: Introduction ● An eXpress Data Pa
- Page 5 and 6: XDP: data-plane responsibility “s
- Page 7 and 8: XDP: Performance evaluation, crazy
- Page 9: XDP: Disclaimer ● ● Enabling XD
- Page 13 and 14: XDP port abstraction table proposal
- Page 15 and 16: XDP: DDoS use-case ● ● ● Firs
- Page 17 and 18: XDP use-case: Load-balancing ● Fa
- Page 19 and 20: XDP use-case: L2 learning bridge
- Page 21 and 22: XDP use-case: Bridge + Virtual mach
- Page 23 and 24: The end ● Exciting times for netw
- Page 25 and 26: Page-pool: Design ● Idea presente
- Page 27: RPS - Bulk enqueue to remote CPU
<strong>XDP</strong>: (FUTURE) per RX queue<br />
●<br />
Current implementation<br />
●<br />
Same/single <strong>XDP</strong> program runs on ALL RX queues<br />
●<br />
●<br />
Plan: per RX queue attaching <strong>XDP</strong> programs<br />
●<br />
Use HW filters to direct traffic to RX queues<br />
Advantages:<br />
●<br />
●<br />
●<br />
More flexible, don’t “take” entire NIC<br />
Can avoid changing memory model for all RX rings<br />
●<br />
Thus avoid performance regressions<br />
Simpler <strong>XDP</strong> programs, with NIC HW filters<br />
●<br />
Less parsing of traffic as type is given by HW filter<br />
10/23<br />
<strong>XDP</strong> <strong>–</strong> <strong>eXpress</strong> <strong>Data</strong> <strong>Path</strong>