All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit b1af2041 authored by Sorin Vinturis's avatar Sorin Vinturis Committed by Ben Pfaff

datapath-windows: Fixed spelling errors in OVS

Solved some spelling errors observed in the datapath code.
Signed-off-by: default avatarSorin Vinturis <svinturis@cloudbasesolutions.com>
Signed-off-by: default avatarBen Pfaff <blp@nicira.com>
parent 7ae51e19
......@@ -1443,7 +1443,7 @@ OvsTunnelFilterQueueRequest(PIRP irp,
* <OvsNewVportCmdHandler>
* <OvsInitTunnelVport>
* <OvsInitVxlanTunnel>
* <OvsTunelFilterCreate>
* <OvsTunnelFilterCreate>
* <OvsTunnelFilterQueueRequest>
* --> if thread STOP event is signalled:
* --> Complete request with STATUS_CANCELLED
......@@ -1454,11 +1454,11 @@ OvsTunnelFilterQueueRequest(PIRP irp,
* --------------------------------------------------------------------------
*/
NTSTATUS
OvsTunelFilterCreate(PIRP irp,
UINT16 filterPort,
UINT64 *filterID,
PFNTunnelVportPendingOp callback,
PVOID tunnelContext)
OvsTunnelFilterCreate(PIRP irp,
UINT16 filterPort,
UINT64 *filterID,
PFNTunnelVportPendingOp callback,
PVOID tunnelContext)
{
return OvsTunnelFilterQueueRequest(irp,
filterPort,
......@@ -1482,7 +1482,7 @@ OvsTunelFilterCreate(PIRP irp,
* <OvsDeleteVportCmdHandler>
* <OvsRemoveAndDeleteVport>
* <OvsCleanupVxlanTunnel>
* <OvsTunelFilterCreate>
* <OvsTunnelFilterDelete>
* <OvsTunnelFilterQueueRequest>
* --> if thread STOP event is signalled:
* --> Complete request with STATUS_CANCELLED
......@@ -1493,10 +1493,10 @@ OvsTunelFilterCreate(PIRP irp,
* --------------------------------------------------------------------------
*/
NTSTATUS
OvsTunelFilterDelete(PIRP irp,
UINT64 filterID,
PFNTunnelVportPendingOp callback,
PVOID tunnelContext)
OvsTunnelFilterDelete(PIRP irp,
UINT64 filterID,
PFNTunnelVportPendingOp callback,
PVOID tunnelContext)
{
return OvsTunnelFilterQueueRequest(irp,
0,
......
......@@ -30,15 +30,15 @@ VOID OvsRegisterSystemProvider(PVOID deviceObject);
VOID OvsUnregisterSystemProvider();
NTSTATUS OvsTunelFilterCreate(PIRP irp,
UINT16 filterPort,
UINT64 *filterID,
PFNTunnelVportPendingOp callback,
PVOID context);
NTSTATUS OvsTunelFilterDelete(PIRP irp,
UINT64 filterID,
PFNTunnelVportPendingOp callback,
PVOID context);
NTSTATUS OvsTunnelFilterCreate(PIRP irp,
UINT16 filterPort,
UINT64 *filterID,
PFNTunnelVportPendingOp callback,
PVOID context);
NTSTATUS OvsTunnelFilterDelete(PIRP irp,
UINT64 filterID,
PFNTunnelVportPendingOp callback,
PVOID context);
#endif /* __TUNNEL_INTF_H_ */
......@@ -2277,7 +2277,7 @@ Cleanup:
OvsCleanupVxlanTunnel(NULL, vport, NULL, NULL);
break;
case OVS_VPORT_TYPE_STT:
OvsCleanupSttTunnel(vport);;
OvsCleanupSttTunnel(vport);
break;
default:
ASSERT(!"Invalid tunnel port type");
......
......@@ -114,11 +114,11 @@ OvsInitVxlanTunnel(PIRP irp,
vport->priv = (PVOID)vxlanPort;
if (!OvsIsTunnelFilterCreated(gOvsSwitchContext, udpDestPort)) {
status = OvsTunelFilterCreate(irp,
udpDestPort,
&vxlanPort->filterID,
callback,
tunnelContext);
status = OvsTunnelFilterCreate(irp,
udpDestPort,
&vxlanPort->filterID,
callback,
tunnelContext);
} else {
status = STATUS_OBJECT_NAME_EXISTS;
}
......@@ -151,10 +151,10 @@ OvsCleanupVxlanTunnel(PIRP irp,
vxlanPort = (POVS_VXLAN_VPORT)vport->priv;
if (vxlanPort->filterID != 0) {
status = OvsTunelFilterDelete(irp,
vxlanPort->filterID,
callback,
tunnelContext);
status = OvsTunnelFilterDelete(irp,
vxlanPort->filterID,
callback,
tunnelContext);
} else {
OvsFreeMemoryWithTag(vport->priv, OVS_VXLAN_POOL_TAG);
vport->priv = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment