Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI allows adding more than 32 TCAM entries but Workflow steps doesn't? #45

Open
harshgondaliya opened this issue Mar 17, 2020 · 0 comments

Comments

@harshgondaliya
Copy link

Dear All,

For my experiment, I have declared a TCAM table:
Key: { ipSrcAddr, ipDstAddr}
Action Data: {16-bit key, EthernetAddr, 8-bit port}

When I run the Workflow steps, I see two-three conflicting observations. If someone can help me understand the reason behind this, it will be very helpful for me.

  1. If the index of matching TCAM table entry for the expected packet declared in gen_testdata.py is at position >5 then the vivado_sim.bash step fails.
  2. For more than 32 TCAM table entries, SUME simulation step ./tools/scripts/nf_test.py sim --major switch --minor default fails.
  3. However, while I add TCAM entries via P4_SWITCH_CLI.py, it allows me to add more than 32 TCAM table entries. Why is this so?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant