This is an old revision of the document!
Day 2 / Track 1 / Talk 6 Talk – Nuts-n-Bolts: Veth XDP: XDP for containers Speakers: Toshiaki Makita and William Tu Report by: Anjali Singhai
Veth XDP: generic vs native
1. Performance wise little difference, then what is the point of doing native XDP for veth?
a. The point is XDP_REDIRECT (can be done without allocating skb_buff, using xdp_frame)
b. Does not require allocation/free of additional Meta data buffer
c. Native redirect converts to xdp_buff is very low overhead.
d. Generic from stack converts to skb to xdp_buff which is high overhead
e. Use case:
i. Containers, Container can install its own XDP program and use container to container using xdp_redirect
ii. Program chaining
1. Veth native XDP added rx queues and NAPI handler
2. This avoids infinite loop and stack overflow due to misconfigured XDP_redirect chain.
Site: https://www.netdevconf.org/0x13/session.html?talk-veth-xdp Slides: Videos: