Skip to content

Commit

Permalink
flow resimulation support.
Browse files Browse the repository at this point in the history
  • Loading branch information
r12f committed Jul 16, 2024
1 parent 049d0b1 commit e5f5edc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dash-pipeline/bmv2/dash_metadata.p4
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ struct metadata_t {

// Actions
bit<32> routing_actions;
bit<32> routing_actions_disabled_in_flow_resimulation;
bit<32> flow_actions;

// Action data
Expand Down
1 change: 1 addition & 0 deletions dash-pipeline/bmv2/stages/outbound_reverse_routing.p4
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ control outbound_reverse_routing_stage(
dash_routing_actions_t routing_actions_disabled_in_flow_resimulation
) {
push_action_reverse_tunnel(hdr, meta, dash_reverse_tunnel_id);
meta.routing_actions_disabled_in_flow_resimulation = meta.routing_actions_disabled_in_flow_resimulation | routing_actions_disabled_in_flow_resimulation;
}

DEFINE_TABLE_COUNTER(reverse_routing_counter)
Expand Down

0 comments on commit e5f5edc

Please sign in to comment.