datapath: Allow matching on conntrack mark
authorJoe Stringer <joestringer@nicira.com>
Thu, 3 Dec 2015 07:53:51 +0000 (23:53 -0800)
committerJoe Stringer <joe@ovn.org>
Fri, 4 Dec 2015 01:17:25 +0000 (17:17 -0800)
commit372ce9737d2bca509f9717672d95d08b6978f4a3
tree5b46954a71b863a53bacd8bf7d628e4c0ac70842
parenta94ebc39996bbbf59ec6e646d785d2c1aa4d09f7
datapath: Allow matching on conntrack mark

Allow matching and setting the ct_mark field. As with ct_state and
ct_zone, these fields are populated when the CT action is executed. To
write to this field, a value and mask can be specified as a nested
attribute under the CT action. This data is stored with the conntrack
entry, and is executed after the lookup occurs for the CT action. The
conntrack entry itself must be committed using the COMMIT flag in the CT
action flags for this change to persist.

Upstream: 182e304 "openvswitch: Allow matching on conntrack mark"
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/actions.c
datapath/conntrack.c
datapath/conntrack.h
datapath/flow.h
datapath/flow_netlink.c