summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Vport.h
diff options
context:
space:
mode:
authorNithin Raju <nithin@vmware.com>2014-11-19 19:41:22 -0800
committerGurucharan Shetty <gshetty@nicira.com>2014-11-20 09:32:18 -0800
commit66d9484fd7bbf086ee91cbcb55d29ac68fcdf561 (patch)
tree527e7b5b8f8233e38394e54ab1bd19e79c007e51 /datapath-windows/ovsext/Vport.h
parent741224c9a2de24d23fdf1352e34681a8026e71f1 (diff)
downloadopenvswitch-66d9484fd7bbf086ee91cbcb55d29ac68fcdf561.tar.gz
datapath-windows: rename 'hvDeleted' to 'isPresentOnHv'
'hvDeleted' was originally added to track vports that got deleted from the Hyper-V switch, but which still exists in OVS. Since then, it has taken a new meaning: eg. it is set to TRUE for VXLAN ports which don't exist on the Hyper-V switch at all. Hence renaming it to something more appropriate. Signed-off-by: Nithin Raju <nithin@vmware.com> Acked-by: Sorin Vinturis <svinturis@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Vport.h')
-rw-r--r--datapath-windows/ovsext/Vport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/Vport.h b/datapath-windows/ovsext/Vport.h
index 724b126c8..348fbfd7d 100644
--- a/datapath-windows/ovsext/Vport.h
+++ b/datapath-windows/ovsext/Vport.h
@@ -129,7 +129,8 @@ typedef struct _OVS_VPORT_ENTRY {
BOOLEAN isExternal;
UINT32 upcallPid; /* netlink upcall port id */
PNL_ATTR portOptions;
- BOOLEAN hvDeleted; /* is the hyper-v switch port deleted? */
+ BOOLEAN isPresentOnHv; /* Is this port present on the
+ Hyper-V switch? */
} OVS_VPORT_ENTRY, *POVS_VPORT_ENTRY;
struct _OVS_SWITCH_CONTEXT;