diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2016-11-14 13:24:55 -0800 |
---|---|---|
committer | Jarno Rajahalme <jarno@ovn.org> | 2016-11-14 13:24:55 -0800 |
commit | 50b73fe16586ab18e5822ba9e952dd2fec539cf7 (patch) | |
tree | 37570a9dea10ba3380c177e1a4e963832b516578 /include/openflow | |
parent | 14bf7951a2da2253619390e81fa9c54f92751068 (diff) | |
download | openvswitch-50b73fe16586ab18e5822ba9e952dd2fec539cf7.tar.gz |
ofproto: Return the OFPC_BUNDLES bit in switch features reply.
Add definitions for the OpenFlow 1.4.1/1.5 specific capabilities bits
OFPC14_BUNDLES and OFPC14_FLOW_MONITORING. Return the bundles
capability bit in switch features reply.
Reported-by: Andrej Leitner <andrej.leitner@pantheon.tech>
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include/openflow')
-rw-r--r-- | include/openflow/openflow-1.4.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/openflow/openflow-1.4.h b/include/openflow/openflow-1.4.h index 4599f9566..fcebe4eb3 100644 --- a/include/openflow/openflow-1.4.h +++ b/include/openflow/openflow-1.4.h @@ -39,6 +39,12 @@ #include <openflow/openflow-1.3.h> +/* OpenFlow 1.4.1+ specific capabilities + * (struct ofp_switch_features, member capabilities). */ +enum ofp14_capabilities { + OFPC14_BUNDLES = 1 << 9, /* Switch supports bundles. */ + OFPC14_FLOW_MONITORING = 1 << 10, /* Switch supports flow monitoring. */ +}; /* ## ---------- ## */ /* ## ofp14_port ## */ |