[ovs-git] [openvswitch/ovs] 885b82: datapath-windows: use ip proto for tunnel port loo...

GitHub noreply at github.com
Fri Jun 17 21:16:54 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 885b8265d682a9736bb0db98c48a811bfd9de6cf
      https://github.com/openvswitch/ovs/commit/885b8265d682a9736bb0db98c48a811bfd9de6cf
  Author: Nithin Raju <nithin at vmware.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M datapath-windows/ovsext/Actions.c
    M datapath-windows/ovsext/Tunnel.c
    M datapath-windows/ovsext/Vport.c
    M datapath-windows/ovsext/Vport.h

  Log Message:
  -----------
  datapath-windows: use ip proto for tunnel port lookup

In Actions.c, based on the IP Protocol type and L4 port of
the outer packet, we lookup the tunnel port. The function
that made this happen took the tunnel type as an argument.
Semantically, is is better to pass the IP protocol type and
let the lookup code map IP protocol type to tunnel type.

In the vport add code, we make sure that we block tunnel
port addition if there's already a tunnel port that uses
the same IP protocol type and L4 port number.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Acked-by: Yin Lin <linyi at vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>




More information about the git mailing list