History

openvswitch: Add support for OVS_FLOW_ATTR_PROBE.

This new flag is useful for suppressing error logging while probing for datapath features using flow commands. For backwards compatibility reasons the commands are executed normally, but error logging is suppressed.

Jarno Rajahalme committed 12 years ago

Commit 05da5891 parent 12eb18f7 files · +208 −168Browse files

Showing the changes to include/uapi/linux (1 of 7 files). Show all

Unified · Split

include/uapi/linux/openvswitch.h+2−0
@@ -457,6 +457,8 @@ enum ovs_flow_attr { · 456 unmodified lines
457457 OVS_FLOW_ATTR_USED, /* u64 msecs last used in monotonic time. */
458458 OVS_FLOW_ATTR_CLEAR, /* Flag to clear stats, tcp_flags, used. */
459459 OVS_FLOW_ATTR_MASK, /* Sequence of OVS_KEY_ATTR_* attributes. */
460+ OVS_FLOW_ATTR_PROBE, /* Flow operation is a feature probe, error
461+ * logging should be suppressed. */
460462 __OVS_FLOW_ATTR_MAX
461463 };
462464