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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
0x13:reports:d2t1t06-veth-xdp-for-containers [2019/04/02 12:52] ehalep0x13:reports:d2t1t06-veth-xdp-for-containers [2019/04/10 12:46] ehalep
Line 4: Line 4:
 Report by: Anjali Singhai Report by: Anjali Singhai
  
-Veth XDPgeneric vs native+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, what is then the point of doing native XDP for veth? 
  
-1.     Performance wise little differencethen what is the point of doing native XDP for veth?+The presenter made several pointssuch 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.
  
-a.      The point is XDP_REDIRECT (can be done without allocating skb_buff, using xdp_frame)+The generic from stack converting to skb to xdp_buff has high overhead.
  
-b.     Does not require allocation/free of additional Meta data buffer +Several use case were describedFirst XDP in containerswhere 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.
- +
-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    ContainersContainer 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.+
  
 +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.
  
 Site: https://www.netdevconf.org/0x13/session.html?talk-veth-xdp Site: https://www.netdevconf.org/0x13/session.html?talk-veth-xdp
-Slides:  
-Videos:  
- 
- 
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