nicira-ext: Support matching IPv6 traffic.
[sliver-openvswitch.git] / lib / nx-match.h
index bd4fea2..aefcb65 100644 (file)
@@ -93,8 +93,8 @@ nxm_decode_n_bits(ovs_be16 ofs_nbits)
  *  NXM_OF_VLAN_TCI     4       2     2      8
  *  NXM_OF_IP_TOS       4       1    --      5
  *  NXM_OF_IP_PROTO     4       2    --      6
- *  NXM_OF_IP_SRC_W     4       4     4     12
- *  NXM_OF_IP_DST_W     4       4     4     12
+ *  NXM_OF_IPV6_SRC_W   4      16    16     36
+ *  NXM_OF_IPV6_DST_W   4      16    16     36
  *  NXM_OF_TCP_SRC      4       2    --      6
  *  NXM_OF_TCP_DST      4       2    --      6
  *  NXM_NX_REG_W(0)     4       4     4     12
@@ -103,11 +103,11 @@ nxm_decode_n_bits(ovs_be16 ofs_nbits)
  *  NXM_NX_REG_W(3)     4       4     4     12
  *  NXM_NX_TUN_ID_W     4       8     8     20
  *  -------------------------------------------
- *  total                                  161
+ *  total                                  209
  *
  * So this value is conservative.
  */
-#define NXM_MAX_LEN 192
+#define NXM_MAX_LEN 256
 
 /* This is my guess at the length of a "typical" nx_match, for use in
  * predicting space requirements. */