User Tools

Site Tools


0x13:reports:d2t1t06-veth-xdp-for-containers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
0x13:reports:d2t1t06-veth-xdp-for-containers [2019/03/27 22:53] – created ehalep0x13:reports:d2t1t06-veth-xdp-for-containers [2019/04/03 22:03] ehalep
Line 2: Line 2:
 Talk – Nuts-n-Bolts: Veth XDP: XDP for containers Talk – Nuts-n-Bolts: Veth XDP: XDP for containers
 Speakers: Toshiaki Makita and William Tu Speakers: Toshiaki Makita and William Tu
-Report by: +Report by: Anjali Singhai 
 + 
 +This talk was about XDP for containers. It begun with a description about what the XDP is and then went on to discuss the generic vs native. The question raised by the presenter was that since performance wise there is little difference, then what is the point of doing native XDP for veth?  
 +The presenter made several points, such as XDP_REDIRECT (can be done without allocating skb_buff, using xdp_frame), no requirement to allocation/free of additional Meta data buffer, native redirect converted to xdp_buff has very low overhead. 
 +The generic from stack converts to skb to xdp_buff has high overhead 
 + 
 +Several use case were described. First XDP in containers, where a container can install its own XDP program and use container to container using xdp_redirect. Second was program chaining where a program can be called from another program. 
 + 
 +The design was focused on Veth native XDP added rx queues and NAPI handler which avoided infinite loop and stack overflow due to misconfigured XDP_redirect chain.
  
  
0x13/reports/d2t1t06-veth-xdp-for-containers.txt · Last modified: 2019/09/28 17:04 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki