Skip to content
  • Tom Herbert's avatar
    gue: Implement direction IP encapsulation · c1e48af7
    Tom Herbert authored
    
    
    This patch implements direct encapsulation of IPv4 and IPv6 packets
    in UDP. This is done a version "1" of GUE and as explained in I-D
    draft-ietf-nvo3-gue-03.
    
    Changes here are only in the receive path, fou with IPxIPx already
    supports the transmit side. Both the normal receive path and
    GRO path are modified to check for GUE version and check for
    IP version in the case that GUE version is "1".
    
    Tested:
    
    IPIP with direct GUE encap
      1 TCP_STREAM
        4530 Mbps
      200 TCP_RR
        1297625 tps
        135/232/444 90/95/99% latencies
    
    IP4IP6 with direct GUE encap
      1 TCP_STREAM
        4903 Mbps
      200 TCP_RR
        1184481 tps
        149/253/473 90/95/99% latencies
    
    IP6IP6 direct GUE encap
      1 TCP_STREAM
       5146 Mbps
      200 TCP_RR
        1202879 tps
        146/251/472 90/95/99% latencies
    
    SIT with direct GUE encap
      1 TCP_STREAM
        6111 Mbps
      200 TCP_RR
        1250337 tps
        139/241/467 90/95/99% latencies
    
    Signed-off-by: default avatarTom Herbert <tom@herbertland.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c1e48af7