diff mbox

[ovs-dev] datapath-windows: add open flow defines to Types.h

Message ID 20170620145920.19420-1-aserdean@cloudbasesolutions.com
State Accepted
Headers show

Commit Message

Alin Serdean June 20, 2017, 2:59 p.m. UTC
Commit https://github.com/openvswitch/ovs/commit/81765c00a13882acaaf652df23d7fa76fc3ad743
introduced openflow types to the include interface.

The Windows datapath needs to be aware of the new types included in the
common interface.

Fixes broken build on Windows.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
---
 datapath-windows/ovsext/Types.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Gurucharan Shetty June 20, 2017, 5:44 p.m. UTC | #1
On 20 June 2017 at 07:59, Alin Serdean <aserdean@cloudbasesolutions.com>
wrote:

> Commit https://github.com/openvswitch/ovs/commit/
> 81765c00a13882acaaf652df23d7fa76fc3ad743
> introduced openflow types to the include interface.
>
> The Windows datapath needs to be aware of the new types included in the
> common interface.
>
> Fixes broken build on Windows.
>
> Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
>
Thanks, applied!


> ---
>  datapath-windows/ovsext/Types.h | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/datapath-windows/ovsext/Types.h b/datapath-windows/ovsext/
> Types.h
> index 022c65b..4da335a 100644
> --- a/datapath-windows/ovsext/Types.h
> +++ b/datapath-windows/ovsext/Types.h
> @@ -42,6 +42,10 @@ typedef UINT16 BE16;
>  typedef UINT32 BE32;
>  typedef UINT64 BE64;
>
> +typedef uint32_t ofp_port_t;
> +typedef uint32_t odp_port_t;
> +typedef uint32_t ofp11_port_t;
> +
>  #define ETH_ALEN 6
>
>  #define SIZE_MAX MAXUINT32
> --
> 2.10.2.windows.1
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
diff mbox

Patch

diff --git a/datapath-windows/ovsext/Types.h b/datapath-windows/ovsext/Types.h
index 022c65b..4da335a 100644
--- a/datapath-windows/ovsext/Types.h
+++ b/datapath-windows/ovsext/Types.h
@@ -42,6 +42,10 @@  typedef UINT16 BE16;
 typedef UINT32 BE32;
 typedef UINT64 BE64;
 
+typedef uint32_t ofp_port_t;
+typedef uint32_t odp_port_t;
+typedef uint32_t ofp11_port_t;
+
 #define ETH_ALEN 6
 
 #define SIZE_MAX MAXUINT32