2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

ofproto-dpif: Don't slow-path controller actions with pause.

A previous patch removed slow-pathing for controller actions with the
exception of ones that specified "pause".  This commit removes that
restriction so that no controller actions are slow-pathed.

Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Justin Pettit
2017-10-18 23:16:22 -07:00
parent d39ec23de3
commit 74c4530dca
12 changed files with 102 additions and 132 deletions

View File

@@ -43,7 +43,6 @@ struct pkt_metadata;
SPR(SLOW_LACP, "lacp", "Consists of LACP packets") \
SPR(SLOW_STP, "stp", "Consists of STP packets") \
SPR(SLOW_LLDP, "lldp", "Consists of LLDP packets") \
SPR(SLOW_PAUSE, "pause", "Controller action with pause") \
SPR(SLOW_ACTION, "action", \
"Uses action(s) not supported by datapath")
@@ -337,6 +336,7 @@ struct user_action_cookie {
struct {
/* USER_ACTION_COOKIE_CONTROLLER. */
bool dont_send; /* Don't send the packet to controller. */
bool continuation; /* Send packet-in as a continuation. */
uint16_t reason;
uint32_t recirc_id;
ovs_32aligned_be64 rule_cookie;