Comments (4)
Where does it say it has no cpu port? I guess it is because you did not add it. Can you show me what are you doing?
from p4-utils.
Where does it say it has no cpu port? I guess it is because you did not add it. Can you show me what are you doing?
Thanks for your reply. I have checked my code and found that I forgot to add cpu_port.
However, I still can not figure out how to make use of cpu_port . For example in this repository, p4-utils/examples/frrouters where cpu port may be used for l2_learning. However only the code for digest-based is proposed as an example. How can I send digest-like messages throught cpu-port?
from p4-utils.
It seems that v1model https://github.com/p4lang/p4c/blob/main/p4include/v1model.p4 supports only clone through cpu port.
from p4-utils.
There is a l2-example with copy to cpu.
Clone can be used to copy to any port, a cpu and a regular port are exactly the same from an external point of view. The only difference is that normal ports connect to nodes, whereas a cpu port is connected to the root namespace.
from p4-utils.
Related Issues (20)
- Hardware Interface
- Using @controller_header
- How to run multiple controllers HOT 6
- How to clone packets more than once back to back? HOT 2
- Tofino Example: no bf_swithcd for one of the switches HOT 3
- Why SimpleSwitchP4RuntimeAPI doesn't support reading and writing register? HOT 1
- Problem with the “sudo p4run --config p4app.json” command regarding ping between hosts HOT 3
- Read and write to registers HOT 6
- Installing issue HOT 6
- Username and password for pre-installed VM HOT 2
- Problem with switch_thrift_API.py file
- Graceful shutdown when stopping with Ctrl+C HOT 1
- Does P4Utils Support IPv6 ? HOT 3
- register cell size HOT 1
- p4run problem HOT 5
- virtualenv problem HOT 2
- Format for providing launch options for a P4 switch HOT 3
- FRR Router binary path /usr/local/sbin does not contain daemons
- Example cannot pingall after enough long time
- Install error libpiprotobuf.so: undefined references
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-utils.