summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Switch.h
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2016-12-20 19:42:19 +0000
committerGurucharan Shetty <guru@ovn.org>2016-12-20 12:22:48 -0800
commitcd30b3460ac53719a6b8aaaba89b29c0304ac335 (patch)
treeddf8a6e75efbdf59ef999bba6ded22eff01be3c1 /datapath-windows/ovsext/Switch.h
parentda467899ab6e67b645840195a64600d1484d0dce (diff)
downloadopenvswitch-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/Switch.h')
-rw-r--r--datapath-windows/ovsext/Switch.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/datapath-windows/ovsext/Switch.h b/datapath-windows/ovsext/Switch.h
index 001335a1e..7c9862183 100644
--- a/datapath-windows/ovsext/Switch.h
+++ b/datapath-windows/ovsext/Switch.h
@@ -103,7 +103,7 @@ typedef struct _OVS_SWITCH_CONTEXT
*
* The "real" physical external NIC has 'NicIndex' > 0. For each
* external interface, virtual or physical, NDIS gives an NIC level
- * OID callback. Note that, even though there are multile "NICs",
+ * OID callback. Note that, even though there are multiple "NICs",
* there's only one underlying Hyper-V port. Thus, we get a single
* NDIS port-level callback, but multiple NDIS NIC-level callbacks.
*
@@ -127,9 +127,10 @@ typedef struct _OVS_SWITCH_CONTEXT
* 'numPhysicalNics'.
*/
NDIS_SWITCH_PORT_ID virtualExternalPortId;
- NDIS_SWITCH_PORT_ID internalPortId;
- POVS_VPORT_ENTRY virtualExternalVport; // the virtual adapter vport
- POVS_VPORT_ENTRY internalVport;
+ POVS_VPORT_ENTRY virtualExternalVport; /* the virtual adapter
+ * vport */
+ INT32 countInternalVports; /* the number of internal
+ * vports */
/*
* 'portIdHashArray' ONLY contains ports that exist on the Hyper-V switch,