Skip to content

Commit

Permalink
Base on PR524, add flow involved packet path in pipeline:
Browse files Browse the repository at this point in the history
    1. Update flow table
    2. Add dash headers towards DPAPP
  • Loading branch information
jimmyzhai committed Jul 23, 2024
1 parent 5577390 commit adee172
Show file tree
Hide file tree
Showing 10 changed files with 586 additions and 380 deletions.
2 changes: 2 additions & 0 deletions dash-pipeline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ifeq ($(HAVE_VPP),y)
VPP_LINK = veth4
VPP_LINK_PEER = veth5
SWITCH_PORT_VPP = --interface 2@$(VPP_LINK)
D_DPAPP_CONNTRACK = -DDPAPP_CONNTRACK
endif

mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
Expand Down Expand Up @@ -129,6 +130,7 @@ $(P4_OUTDIR)/dash_pipeline_p4rt.txt: $(P4_SRC)
-w / \
$(DOCKER_P4C_BMV2_IMG) p4c-bm2-ss \
-DTARGET_BMV2_V1MODEL \
$(D_DPAPP_CONNTRACK) \
$(P4_MAIN) \
-o $(P4_OUTDIR)/dash_pipeline.json \
--p4runtime-files $(P4_OUTDIR)/dash_pipeline_p4rt.json,$(P4_OUTDIR)/dash_pipeline_p4rt.txt \
Expand Down
Loading

0 comments on commit adee172

Please sign in to comment.