summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/DpInternal.h
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2015-10-27 19:50:35 +0000
committerGurucharan Shetty <gshetty@nicira.com>2015-10-27 13:21:39 -0700
commit481c5a6d836f77331e42b1fd65b5fc9786bda5d5 (patch)
treee02a4e627b915045353ef7bc21770220cb4444d4 /datapath-windows/ovsext/DpInternal.h
parent2a33a3c20f56b8ac09abebc8b14fca9314abfacb (diff)
downloadopenvswitch-481c5a6d836f77331e42b1fd65b5fc9786bda5d5.tar.gz
Revert "datapath-windows: Support attribute OVS_KEY_ATTR_TCP_FLAGS"
This reverts commit a26b2023ce33fed1ef962012dc2c03765d2e92cb. This patch punishes performance without the implementation of megaflows on Windows. Once megaflows is implemented in the flow logic this patch will be revisited. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Sairam Venugopal <vsairam@vmware.com> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/DpInternal.h')
-rw-r--r--datapath-windows/ovsext/DpInternal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/datapath-windows/ovsext/DpInternal.h b/datapath-windows/ovsext/DpInternal.h
index 0405b8e8e..8de48a2c7 100644
--- a/datapath-windows/ovsext/DpInternal.h
+++ b/datapath-windows/ovsext/DpInternal.h
@@ -65,8 +65,6 @@ typedef struct _OVS_VPORT_EXT_INFO {
typedef struct L4Key {
ovs_be16 tpSrc; /* TCP/UDP/SCTP source port. */
ovs_be16 tpDst; /* TCP/UDP/SCTP destination port. */
- ovs_be16 flags; /* TCP flags */
- uint8_t pad[2];
} L4Key;
typedef struct Ipkey {
@@ -77,7 +75,7 @@ typedef struct Ipkey {
uint8_t nwTtl; /* IP TTL/Hop Limit. */
uint8_t nwFrag; /* FLOW_FRAG_* flags. */
L4Key l4;
-} IpKey; /* Size of 20 byte. */
+} IpKey; /* Size of 16 byte. */
typedef struct ArpKey {
ovs_be32 nwSrc; /* IPv4 source address. */
@@ -97,6 +95,7 @@ typedef struct Ipv6Key {
uint8_t nwTtl; /* IP TTL/Hop Limit. */
uint8_t nwFrag; /* FLOW_FRAG_* flags. */
L4Key l4;
+ uint32_t pad;
} Ipv6Key; /* Size of 48 byte. */
typedef struct Icmp6Key {
@@ -111,7 +110,7 @@ typedef struct Icmp6Key {
uint8_t arpSha[6]; /* ARP/ND source hardware address. */
uint8_t arpTha[6]; /* ARP/ND target hardware address. */
struct in6_addr ndTarget; /* IPv6 neighbor discovery (ND) target. */
-} Icmp6Key; /* Size of 76 byte. */
+} Icmp6Key; /* Size of 72 byte. */
typedef struct L2Key {
uint32_t inPort; /* Port number of input port. */