Comments (1)
I have learned that it is definitely supported to send packets from P4 DPDK to control plane code, and in the opposite direction, via a normal TAP interface, as long as the control plane software listens for packets received on that TAP interface, and/or sends packets to it. This is just a plain old normal TAP interface as far as P4 DPDK is concerned. The packets sent from the P4 DPDK software switch on such a normal TAP interface do not become PacketIn messages to the infrap4d P4Runtime API clients, and PacketOut messages from a P4Runtime API client do not become packets sent on such a TAP interface.
There might be a supported way for P4Runtime API clients of infrap4d to use PacketIn and PacketOut messages, but if so, I have not learned how to do so as of 2024-Mar-02.
As of 2024-Mar-02, this file https://github.com/p4lang/p4c/tree/main/backends/dpdk says that P4 DPDK does not support the Digest extern. As far as I know, that is accurate.
If packet mirroring works in P4 DPDK, I do not know how to configure those mirror sessions from a P4Runtime API client yet. P4 programs that use the PNA mirror_packet
extern function compile, and become unique kinds of actions in the .spec
files output by p4c-dpdk
, but I do not know how to make that mirroring actually happen. Perhaps it is possible if you use Python TDI calls from the CLI with the bf_switchd
process, but I have not verified that myself.
from p4-guide.
Related Issues (20)
- make run error creating error interface HOT 2
- ImportError cannot import name 'cygrpc' when running runptf.sh in demo1 HOT 3
- Can not complied with the optimization flags
- py3localpath.py prints incomplete output HOT 4
- how can i solve this problem HOT 3
- how can i solve this problem? HOT 4
- After I run the install script,I can't cd p4c/build and make HOT 4
- [Question]A question about lpm HOT 1
- Error running rundemo.sh & rundemo_TAP_IO.sh for IPDK_Native HOT 4
- What are the differences between the P4-DPDK Target and BMv2? HOT 2
- Is it possible to create two p4-DPDK-targets at the same time in the Docker? HOT 2
- Hunk failed while installing HOT 2
- how can i solve this problem HOT 2
- V7 Install script fails. Thrift headers not found HOT 5
- Is it able to disable the functionality to write the switch logging into a file? HOT 7
- buffer usage measurement in PSA HOT 1
- [Question] Build error (potentially) due to version format in version file and Makefile processing HOT 6
- Build error running packetinout ptf test HOT 9
- Add note in README-install ... docs that install scripts should be run on VM-local file system, not in directory shared with host OS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p4-guide.