datapath: Allow matching on conntrack label
authorJoe Stringer <joestringer@nicira.com>
Thu, 3 Dec 2015 07:53:52 +0000 (23:53 -0800)
committerJoe Stringer <joe@ovn.org>
Fri, 4 Dec 2015 01:17:25 +0000 (17:17 -0800)
commit038e34abaa317a896d03187ac74ef252ba3d2760
treed6f50c67e77bf2e90abc6b33a4d491b33118b365
parent372ce9737d2bca509f9717672d95d08b6978f4a3
datapath: Allow matching on conntrack label

Allow matching and setting the ct_label field. As with ct_mark, this is
populated by executing the CT action. The label field may be modified by
specifying a label and mask nested under the CT action. It is stored as
metadata attached to the connection. Label modification occurs after
lookup, and will only persist when the conntrack entry is committed by
providing the COMMIT flag to the CT action. Labels are currently fixed
to 128 bits in size.

Upstream: c2ac667 "openvswitch: Allow matching on conntrack label"
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/datapath.c
datapath/datapath.h
datapath/flow.c
datapath/flow.h
datapath/flow_netlink.c
datapath/flow_netlink.h