mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
ofp-util: Make "OXM" flow format name include both OpenFlow 1.2 and 1.3.
To my mind, it makes sense, when a user requests OXM as the flow format, to allow any protocol based on the OXM flow format to be used. Until this commit, however, "OXM" was specifically OpenFlow 1.2, and "OpenFlow13" was required to request OXM on OpenFlow 1.3. This doesn't affect the behavior of any released version of Open vSwitch. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
@@ -86,6 +86,7 @@ enum ofputil_protocol {
|
||||
* variant. */
|
||||
OFPUTIL_P_OF12_OXM = 1 << 4,
|
||||
OFPUTIL_P_OF13_OXM = 1 << 5,
|
||||
#define OFPUTIL_P_ANY_OXM (OFPUTIL_P_OF12_OXM | OFPUTIL_P_OF13_OXM)
|
||||
|
||||
/* All protocols. */
|
||||
#define OFPUTIL_P_ANY ((1 << 6) - 1)
|
||||
|
Reference in New Issue
Block a user