summaryrefslogtreecommitdiffstats
path: root/src/vnet/flow/flow.h
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2020-12-08 00:42:43 +0800
committerDamjan Marion <dmarion@me.com>2021-04-14 10:26:07 +0000
commit91f102ed84dac1591e08587facf71dc386b7c087 (patch)
treeee53d1437847056ac902423978cb4ad597338d2d /src/vnet/flow/flow.h
parent6e9b0030d72c58d14cebcb0290fedcc25556749d (diff)
flow: The type of vni in VxLAN flow should be u32
Type: fix Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I40732dfb4fee4a5cfd699a8badea13d070f6b367
Diffstat (limited to 'src/vnet/flow/flow.h')
-rw-r--r--src/vnet/flow/flow.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/vnet/flow/flow.h b/src/vnet/flow/flow.h
index 04305edf92a..3ae5b6bdc47 100644
--- a/src/vnet/flow/flow.h
+++ b/src/vnet/flow/flow.h
@@ -89,13 +89,11 @@
_fe(ip_port_and_mask_t, src_port) \
_fe(ip_port_and_mask_t, dst_port)
-#define foreach_flow_entry_ip4_vxlan \
- foreach_flow_entry_ip4_n_tuple \
- _fe(u16, vni)
+#define foreach_flow_entry_ip4_vxlan \
+ foreach_flow_entry_ip4_n_tuple _fe (u32, vni)
-#define foreach_flow_entry_ip6_vxlan \
- foreach_flow_entry_ip6_n_tuple \
- _fe(u16, vni)
+#define foreach_flow_entry_ip6_vxlan \
+ foreach_flow_entry_ip6_n_tuple _fe (u32, vni)
#define foreach_flow_entry_ip4_gtpc \
foreach_flow_entry_ip4_n_tuple \