├── .github └── workflows │ └── test.yml ├── .gitignore ├── AUTHORS ├── CMakeLists.txt ├── Dockerfile ├── LICENSE ├── README.md ├── Vagrantfile ├── compile-bpf.sh ├── doc ├── images │ └── p4xdp-workflow.png ├── lpc18.pdf ├── lpc18 │ ├── .gitignore │ ├── Makefile │ ├── acmart.cls │ ├── architecture.pdf │ ├── background.tex │ ├── compilation.tex │ ├── conclusions.tex │ ├── introduction.tex │ ├── kernel_test.png │ ├── p4cxdp-lpc18.pdf │ ├── results.tex │ ├── stf.pdf │ ├── stf.vsdx │ ├── testing.tex │ ├── testing_workflow.pdf │ ├── testing_workflow.vsdx │ ├── titlesec.sty │ ├── top.bib │ ├── top.tex │ └── user_test.png ├── p4c-xdp-lpc18-presentation.pdf ├── p4xdp-iovisor17.pdf └── perf.txt ├── lib ├── COPYING ├── Makefile ├── bpf_helpers.h ├── bpf_load.c ├── bpf_load.h ├── libbpf.c └── libbpf.h ├── ovs-parse-14.p4 ├── ovs.c ├── ovs.p4 ├── p4c-xdp.cpp ├── p4include └── xdp_model.p4 ├── run-bpf.sh ├── run-p4c-xdp.sh ├── target.cpp ├── target.h ├── test_ebpf_map.c ├── tests ├── Makefile ├── README.md ├── ebpf_headers.p4 ├── ebpf_xdp.h ├── empty.stf ├── load_and_verify.c ├── user_xdp10.c ├── user_xdp5.c ├── xdp.p4 ├── xdp.stf ├── xdp1.p4 ├── xdp1.stf ├── xdp10.p4 ├── xdp11.p4 ├── xdp12.p4 ├── xdp13.p4 ├── xdp14.p4 ├── xdp15.p4 ├── xdp16.p4 ├── xdp17.p4 ├── xdp2.p4 ├── xdp2.stf ├── xdp3.p4 ├── xdp4.p4 ├── xdp5.p4 ├── xdp6.p4 ├── xdp7.p4 ├── xdp8.p4 └── xdp9.p4 ├── tools └── install_dependencies.sh ├── xdpBackend.cpp ├── xdpBackend.h ├── xdpControl.cpp ├── xdpControl.h ├── xdpModel.cpp ├── xdpModel.h ├── xdpProgram.cpp ├── xdpProgram.h └── xdp_target.py /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/.gitignore -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/AUTHORS -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/README.md -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/Vagrantfile -------------------------------------------------------------------------------- /compile-bpf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/compile-bpf.sh -------------------------------------------------------------------------------- /doc/images/p4xdp-workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/images/p4xdp-workflow.png -------------------------------------------------------------------------------- /doc/lpc18.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18.pdf -------------------------------------------------------------------------------- /doc/lpc18/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/.gitignore -------------------------------------------------------------------------------- /doc/lpc18/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/Makefile -------------------------------------------------------------------------------- /doc/lpc18/acmart.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/acmart.cls -------------------------------------------------------------------------------- /doc/lpc18/architecture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/architecture.pdf -------------------------------------------------------------------------------- /doc/lpc18/background.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/background.tex -------------------------------------------------------------------------------- /doc/lpc18/compilation.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/compilation.tex -------------------------------------------------------------------------------- /doc/lpc18/conclusions.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/conclusions.tex -------------------------------------------------------------------------------- /doc/lpc18/introduction.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/introduction.tex -------------------------------------------------------------------------------- /doc/lpc18/kernel_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/kernel_test.png -------------------------------------------------------------------------------- /doc/lpc18/p4cxdp-lpc18.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/p4cxdp-lpc18.pdf -------------------------------------------------------------------------------- /doc/lpc18/results.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/results.tex -------------------------------------------------------------------------------- /doc/lpc18/stf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/stf.pdf -------------------------------------------------------------------------------- /doc/lpc18/stf.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/stf.vsdx -------------------------------------------------------------------------------- /doc/lpc18/testing.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/testing.tex -------------------------------------------------------------------------------- /doc/lpc18/testing_workflow.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/testing_workflow.pdf -------------------------------------------------------------------------------- /doc/lpc18/testing_workflow.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/testing_workflow.vsdx -------------------------------------------------------------------------------- /doc/lpc18/titlesec.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/titlesec.sty -------------------------------------------------------------------------------- /doc/lpc18/top.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/top.bib -------------------------------------------------------------------------------- /doc/lpc18/top.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/top.tex -------------------------------------------------------------------------------- /doc/lpc18/user_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/lpc18/user_test.png -------------------------------------------------------------------------------- /doc/p4c-xdp-lpc18-presentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/p4c-xdp-lpc18-presentation.pdf -------------------------------------------------------------------------------- /doc/p4xdp-iovisor17.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/p4xdp-iovisor17.pdf -------------------------------------------------------------------------------- /doc/perf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/doc/perf.txt -------------------------------------------------------------------------------- /lib/COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/lib/COPYING -------------------------------------------------------------------------------- /lib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/lib/Makefile -------------------------------------------------------------------------------- /lib/bpf_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/lib/bpf_helpers.h -------------------------------------------------------------------------------- /lib/bpf_load.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/lib/bpf_load.c -------------------------------------------------------------------------------- /lib/bpf_load.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/lib/bpf_load.h -------------------------------------------------------------------------------- /lib/libbpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/lib/libbpf.c -------------------------------------------------------------------------------- /lib/libbpf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/lib/libbpf.h -------------------------------------------------------------------------------- /ovs-parse-14.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/ovs-parse-14.p4 -------------------------------------------------------------------------------- /ovs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/ovs.c -------------------------------------------------------------------------------- /ovs.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/ovs.p4 -------------------------------------------------------------------------------- /p4c-xdp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/p4c-xdp.cpp -------------------------------------------------------------------------------- /p4include/xdp_model.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/p4include/xdp_model.p4 -------------------------------------------------------------------------------- /run-bpf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/run-bpf.sh -------------------------------------------------------------------------------- /run-p4c-xdp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/run-p4c-xdp.sh -------------------------------------------------------------------------------- /target.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/target.cpp -------------------------------------------------------------------------------- /target.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/target.h -------------------------------------------------------------------------------- /test_ebpf_map.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/test_ebpf_map.c -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/ebpf_headers.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/ebpf_headers.p4 -------------------------------------------------------------------------------- /tests/ebpf_xdp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/ebpf_xdp.h -------------------------------------------------------------------------------- /tests/empty.stf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/empty.stf -------------------------------------------------------------------------------- /tests/load_and_verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/load_and_verify.c -------------------------------------------------------------------------------- /tests/user_xdp10.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/user_xdp10.c -------------------------------------------------------------------------------- /tests/user_xdp5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/user_xdp5.c -------------------------------------------------------------------------------- /tests/xdp.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp.p4 -------------------------------------------------------------------------------- /tests/xdp.stf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp.stf -------------------------------------------------------------------------------- /tests/xdp1.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp1.p4 -------------------------------------------------------------------------------- /tests/xdp1.stf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp1.stf -------------------------------------------------------------------------------- /tests/xdp10.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp10.p4 -------------------------------------------------------------------------------- /tests/xdp11.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp11.p4 -------------------------------------------------------------------------------- /tests/xdp12.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp12.p4 -------------------------------------------------------------------------------- /tests/xdp13.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp13.p4 -------------------------------------------------------------------------------- /tests/xdp14.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp14.p4 -------------------------------------------------------------------------------- /tests/xdp15.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp15.p4 -------------------------------------------------------------------------------- /tests/xdp16.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp16.p4 -------------------------------------------------------------------------------- /tests/xdp17.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp17.p4 -------------------------------------------------------------------------------- /tests/xdp2.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp2.p4 -------------------------------------------------------------------------------- /tests/xdp2.stf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp2.stf -------------------------------------------------------------------------------- /tests/xdp3.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp3.p4 -------------------------------------------------------------------------------- /tests/xdp4.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp4.p4 -------------------------------------------------------------------------------- /tests/xdp5.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp5.p4 -------------------------------------------------------------------------------- /tests/xdp6.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp6.p4 -------------------------------------------------------------------------------- /tests/xdp7.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp7.p4 -------------------------------------------------------------------------------- /tests/xdp8.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp8.p4 -------------------------------------------------------------------------------- /tests/xdp9.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tests/xdp9.p4 -------------------------------------------------------------------------------- /tools/install_dependencies.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/tools/install_dependencies.sh -------------------------------------------------------------------------------- /xdpBackend.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpBackend.cpp -------------------------------------------------------------------------------- /xdpBackend.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpBackend.h -------------------------------------------------------------------------------- /xdpControl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpControl.cpp -------------------------------------------------------------------------------- /xdpControl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpControl.h -------------------------------------------------------------------------------- /xdpModel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpModel.cpp -------------------------------------------------------------------------------- /xdpModel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpModel.h -------------------------------------------------------------------------------- /xdpProgram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpProgram.cpp -------------------------------------------------------------------------------- /xdpProgram.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdpProgram.h -------------------------------------------------------------------------------- /xdp_target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vmware-archive/p4c-xdp/HEAD/xdp_target.py --------------------------------------------------------------------------------