My previous dcb66daea433cd93593e517c3fac3c898f2c9f70 commit broke
32-bit builds. This patch assures that size of struct flow is equal
on both 32-bit and 64-bit architectures so that build asserts do not
fire anymore.

Signed-off-by: Ansis Atteka <[email protected]>
---
 lib/flow.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/flow.h b/lib/flow.h
index fa7410e..918c3cc 100644
--- a/lib/flow.h
+++ b/lib/flow.h
@@ -91,6 +91,7 @@ struct flow {
                                    unless in DPIF code, in which case it
                                    is the datapath port number. */
     uint32_t skb_mark;          /* Packet mark. */
+    uint8_t reserved[4];        /* Reserved for 64-bit packing. */
     ovs_be16 vlan_tci;          /* If 802.1Q, TCI | VLAN_CFI; otherwise 0. */
     ovs_be16 dl_type;           /* Ethernet frame type. */
     ovs_be16 tp_src;            /* TCP/UDP source port. */
-- 
1.7.9.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to