diff options
author | Alin Serdean <aserdean@cloudbasesolutions.com> | 2016-12-20 19:42:19 +0000 |
---|---|---|
committer | Gurucharan Shetty <guru@ovn.org> | 2016-12-20 12:22:48 -0800 |
commit | cd30b3460ac53719a6b8aaaba89b29c0304ac335 (patch) | |
tree | ddf8a6e75efbdf59ef999bba6ded22eff01be3c1 /datapath-windows/ovsext/Vxlan.h | |
parent | da467899ab6e67b645840195a64600d1484d0dce (diff) | |
download | openvswitch-cd30b3460ac53719a6b8aaaba89b29c0304ac335.tar.gz |
datapath-windows: Add multiple switch internal ports
This patch adds multiple internal ports support to the windows datapath.
All tunnels types have been updated to accommodate this new functionality.
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Co-authored-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Acked-by: Paul Boca <pboca@cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Vxlan.h')
-rw-r--r-- | datapath-windows/ovsext/Vxlan.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/datapath-windows/ovsext/Vxlan.h b/datapath-windows/ovsext/Vxlan.h index b9462f0ba..f4a8bceba 100644 --- a/datapath-windows/ovsext/Vxlan.h +++ b/datapath-windows/ovsext/Vxlan.h @@ -17,7 +17,11 @@ #ifndef __VXLAN_H_ #define __VXLAN_H_ 1 +#include "IpHelper.h" #include "NetProto.h" + +typedef union _OVS_FWD_INFO *POVS_FWD_INFO; + typedef struct _OVS_VXLAN_VPORT { UINT16 dstPort; UINT64 filterID; @@ -31,7 +35,8 @@ typedef struct _OVS_VXLAN_VPORT { typedef struct VXLANHdr { /* Flags. */ UINT32 flags1:2; - /* Packet needs replication to multicast group (used for multicast proxy). */ + /* Packet needs replication to multicast group (used for multicast proxy). + */ UINT32 locallyReplicate:1; /* Instance ID flag, must be set to 1. */ UINT32 instanceID:1; @@ -64,7 +69,8 @@ NDIS_STATUS OvsEncapVxlan(POVS_VPORT_ENTRY vport, OvsIPv4TunnelKey *tunKey, POVS_SWITCH_CONTEXT switchContext, POVS_PACKET_HDR_INFO layers, - PNET_BUFFER_LIST *newNbl); + PNET_BUFFER_LIST *newNbl, + POVS_FWD_INFO switchFwdInfo); NDIS_STATUS OvsDecapVxlan(POVS_SWITCH_CONTEXT switchContext, PNET_BUFFER_LIST curNbl, |