mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
datapath: Refactor actions in terms of match fields.
Almost all current actions can be expressed in the form of push/pop/set <field>, where field is one of the match fields. We can create three base actions and take a field. This has both a nice symmetry and avoids inconsistencies where we can match on the vlan TPID but not set it. Following patch converts all actions to this new format. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com> Bug #7115
This commit is contained in:
@@ -58,9 +58,6 @@ odp_port_to_ofp_port(uint16_t odp_port)
|
||||
return odp_port;
|
||||
}
|
||||
}
|
||||
|
||||
int odp_action_len(uint16_t type);
|
||||
void format_odp_action(struct ds *, const struct nlattr *);
|
||||
void format_odp_actions(struct ds *, const struct nlattr *odp_actions,
|
||||
size_t actions_len);
|
||||
|
||||
|
Reference in New Issue
Block a user