flow-hash: Add symmetric flag for flow hashing 49/16049/3
authorMohsin Kazmi <sykazmi@cisco.com>
Tue, 20 Nov 2018 10:11:12 +0000 (11:11 +0100)
committerDave Barach <openvpp@barachs.net>
Mon, 26 Nov 2018 17:07:48 +0000 (17:07 +0000)
commit2af0e3a74c40e5df946813324574ccc18feb4761
treefffbb9995f1cd0413d9de78cf779356cfdf8e5f7
parentab11ec9ab94ffdf164daa2b5006dab4e388a966e
flow-hash: Add symmetric flag for flow hashing

When 'Symmetric' flag is enabled, it will sort the addresses
and hence, same flow hash will be calculated on both directions.

Change-Id: I5d846f8d0b94ca1121e03d15b02bb56edb5887b1
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vnet/ip/ip.api
src/vnet/ip/ip4.h
src/vnet/ip/ip6.h
src/vnet/ip/lookup.h