diff options
author | Chenmin Sun <chenmin.sun@intel.com> | 2020-12-08 00:42:43 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-04-14 10:26:07 +0000 |
commit | 91f102ed84dac1591e08587facf71dc386b7c087 (patch) | |
tree | ee53d1437847056ac902423978cb4ad597338d2d /src/vnet/flow/flow.h | |
parent | 6e9b0030d72c58d14cebcb0290fedcc25556749d (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.h | 10 |
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 \ |