summaryrefslogtreecommitdiff
path: root/include/openflow
diff options
context:
space:
mode:
authorMartin Xu <martinxu9.ovs@gmail.com>2018-10-02 09:40:09 -0700
committerBen Pfaff <blp@ovn.org>2018-10-02 15:17:43 -0700
commit84ddf96ce026620082d5ce05d42a6419476ffbe1 (patch)
tree5b7615e3c6610aaa69efeb2d9c3c130922cfddb4 /include/openflow
parentb5967cb747416cc377a2b6f3073d270eab5c1291 (diff)
downloadopenvswitch-84ddf96ce026620082d5ce05d42a6419476ffbe1.tar.gz
bundle: add symmetric_l3 hash method for multipath
Add a symmetric_l3 hash method that uses both network destination address and network source address. VMware-BZ: #2112940 Signed-off-by: Martin Xu <martinxu9.ovs@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include/openflow')
-rw-r--r--include/openflow/nicira-ext.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h
index 1f5cbbf67..dc12101f2 100644
--- a/include/openflow/nicira-ext.h
+++ b/include/openflow/nicira-ext.h
@@ -109,8 +109,10 @@ enum nx_hash_fields {
NX_HASH_FIELDS_NW_SRC,
/* Network destination address (NXM_OF_IP_DST) only. */
- NX_HASH_FIELDS_NW_DST
+ NX_HASH_FIELDS_NW_DST,
+ /* Both network destination and source destination addresses. */
+ NX_HASH_FIELDS_SYMMETRIC_L3
};
/* NXT_PACKET_IN (analogous to OFPT_PACKET_IN).