diff options
author | Sairam Venugopal <vsairam@vmware.com> | 2016-07-25 17:04:37 -0700 |
---|---|---|
committer | Gurucharan Shetty <guru@ovn.org> | 2016-07-29 08:36:33 -0700 |
commit | b90984c46a8686edd41ec53601df587f84fbe772 (patch) | |
tree | f69138bdc010315902994ffd0ad78a406748a3a7 /datapath-windows/ovsext/DpInternal.h | |
parent | 49d7c759b82e78acd03288c123b1bc0c8904a52b (diff) | |
download | openvswitch-b90984c46a8686edd41ec53601df587f84fbe772.tar.gz |
datapath-windows: Explicitly name vport related event to vportEvent
OVS_EVENT_ENTRY currently handles only Vport related events. Updating the
name of the struct to OVS_VPORT_EVENT_ENTRY. Remove OVS_EVENT_STATUS since
it's currently not in use. Update the datapath to refer to events as
vportEvents. This will aid in the introduction of other events.
Signed-off-by: Sairam Venugopal <vsairam@vmware.com>
Acked-By: Yin Lin <linyi@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-By: Yin Lin <linyi@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/DpInternal.h')
-rw-r--r-- | datapath-windows/ovsext/DpInternal.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/datapath-windows/ovsext/DpInternal.h b/datapath-windows/ovsext/DpInternal.h index 42b5ec942..8abe61dc3 100644 --- a/datapath-windows/ovsext/DpInternal.h +++ b/datapath-windows/ovsext/DpInternal.h @@ -328,19 +328,13 @@ enum { }; -typedef struct _OVS_EVENT_ENTRY { +typedef struct _OVS_VPORT_EVENT_ENTRY { UINT32 portNo; OVS_VPORT_TYPE ovsType; UINT32 upcallPid; CHAR ovsName[OVS_MAX_PORT_NAME_LENGTH]; UINT32 type; -} OVS_EVENT_ENTRY, *POVS_EVENT_ENTRY; - - -typedef struct _OVS_EVENT_STATUS { - uint32_t numberEntries; - OVS_EVENT_ENTRY eventEntries[0]; -} OVS_EVENT_STATUS, *POVS_EVENT_STATUS; +} OVS_VPORT_EVENT_ENTRY, *POVS_VPORT_EVENT_ENTRY; #pragma pack(pop) |