18.12.2016 Views

XDP – eXpress Data Path

xdp_intro_and_use_cases_sep2016

xdp_intro_and_use_cases_sep2016

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>XDP</strong> - future actions<br />

●<br />

<strong>XDP</strong> future actions:<br />

●<br />

●<br />

<strong>XDP</strong>_FWD: Multi-port forwarding<br />

●<br />

●<br />

Tricky settling on howto desc and return egress port<br />

Depend on raw frame TX infrastructure in drivers<br />

●<br />

Getting lot of push-back upstream (strange!)<br />

<strong>XDP</strong> capture to userspace (steal packet mode)<br />

●<br />

Faster tcpdump/RAW packets to userspace<br />

●<br />

●<br />

Doable with a single copy<br />

Zero-copy RX is tricky<br />

● Only possible with a combination of (1) dedicated RX HW<br />

rings, (2) HW filters, (3) separate page_pool recycling, and<br />

(4) premapping pages to userspace.<br />

12/23<br />

<strong>XDP</strong> <strong>–</strong> <strong>eXpress</strong> <strong>Data</strong> <strong>Path</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!