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> port abstraction table proposal (FUTURE)<br />

●<br />

Proposal for generalizing multi-port forwarding<br />

●<br />

●<br />

How does eBPF “say” what egress “port” to use?<br />

Bad approach: Tying a port to the netdev ifindex<br />

●<br />

●<br />

Too Linux specific (Tom Herbert)<br />

Limit the type of egress ports to be a netdev<br />

●<br />

●<br />

<strong>XDP</strong> prog cannot be limited “allowed” set of ports<br />

<strong>XDP</strong> port abstraction table<br />

●<br />

Simply a “port” index lookup table<br />

●<br />

●<br />

For “type” netdev: maps to ifindex (or net_device ptr)<br />

For every “type” a new TX infrastructure needed<br />

13/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!