openvswitch: Extend ct_state match field to 32 bits
authorJoe Stringer <joestringer@nicira.com>
Tue, 6 Oct 2015 18:00:00 +0000 (11:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 12:03:06 +0000 (05:03 -0700)
commitfbccce5965a58d56aaed9e9acd1bec75d8a66e87
treebd9a9d1b2adc68773013bd5cbdae091617bceaae
parent6f225952461b5e9b5520d0dc6e2ff0af57874fbb
openvswitch: Extend ct_state match field to 32 bits

The ct_state field was initially added as an 8-bit field, however six of
the bits are already being used and use cases are already starting to
appear that may push the limits of this field. This patch extends the
field to 32 bits while retaining the internal representation of 8 bits.
This should cover forward compatibility of the ABI for the foreseeable
future.

This patch also reorders the OVS_CS_F_* bits to be sequential.

Suggested-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/openvswitch.h
net/openvswitch/conntrack.c
net/openvswitch/conntrack.h
net/openvswitch/flow_netlink.c