mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
dpif: Stub out unimplemented action OVS_ACTION_ATTR_DEC_TTL.
This is prep for adding a different OVS_ACTION_ATTR_ enum value. This action, OVS_ACTION_ATTR_DEC_TTL, is not actually implemented. However, to make -Werror happy we must add a case to all existing switches. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Eric Garver <eric@garver.life> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
9ec849e8aa
commit
8bb065961e
@@ -1085,6 +1085,7 @@ enum ovs_action_attr {
|
||||
OVS_ACTION_ATTR_CLONE, /* Nested OVS_CLONE_ATTR_*. */
|
||||
OVS_ACTION_ATTR_CHECK_PKT_LEN, /* Nested OVS_CHECK_PKT_LEN_ATTR_*. */
|
||||
OVS_ACTION_ATTR_ADD_MPLS, /* struct ovs_action_add_mpls. */
|
||||
OVS_ACTION_ATTR_DEC_TTL, /* Nested OVS_DEC_TTL_ATTR_*. */
|
||||
|
||||
#ifndef __KERNEL__
|
||||
OVS_ACTION_ATTR_TUNNEL_PUSH, /* struct ovs_action_push_tnl*/
|
||||
@@ -1183,6 +1184,14 @@ struct ovs_zone_limit {
|
||||
__u32 count;
|
||||
};
|
||||
|
||||
enum ovs_dec_ttl_attr {
|
||||
OVS_DEC_TTL_ATTR_UNSPEC,
|
||||
OVS_DEC_TTL_ATTR_ACTION, /* Nested struct nlattr */
|
||||
__OVS_DEC_TTL_ATTR_MAX
|
||||
};
|
||||
|
||||
#define OVS_DEC_TTL_ATTR_MAX (__OVS_DEC_TTL_ATTR_MAX - 1)
|
||||
|
||||
#define OVS_CLONE_ATTR_EXEC 0 /* Specify an u32 value. When nonzero,
|
||||
* actions in clone will not change flow
|
||||
* keys. False otherwise.
|
||||
|
Reference in New Issue
Block a user