8000 BMv2: ActionSelector fix + enable backends by grg · Pull Request #5195 · p4lang/p4c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BMv2: ActionSelector fix + enable backends #5195

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

Merged
merged 4 commits into from
Mar 25, 2025

Conversation

grg
Copy link
Contributor
@grg grg commented Mar 25, 2025

Changes:

  • ActionSelector: TheExternConverter::convertHashAlgorithm() function expects v1model names (lowercase). Convert PSA/PNA names to v1model names before invoking this function.
  • Enable psa and pna backens for BMv2, but print warning messages that these are experimental.
  • Add additional psa tests for bmv2:
    • Add any psa-* tests in testdata/p4_16_samples that are not dpdk tests. (Although some of these do pass.)
    • Update xfails for the handful of fails.

grg added 3 commits March 24, 2025 17:10
The ExternConverter::convertHashAlgorithm() function expects v1model
names (lowercase). Convert PSA/PNA names to v1model names before
invoking ExternConverter::convertHashAlgorithm().

Signed-off-by: Glen Gibb <gleng@ai-fabrics.com>
Enable psa and pna backens for BMv2, but print warning messages that
these are experimental.

Signed-off-by: Glen Gibb <gleng@ai-fabrics.com>
Add any psa-* tests in testdata/p4_16_samples that are not dpdk tests.
(Although some of these do pass.)

Update xfails for the handful of fails.

Signed-off-by: Glen Gibb <gleng@ai-fabrics.com>
@grg grg marked this pull request as ready for review March 25, 2025 01:13
@grg grg requested a review from fruffy March 25, 2025 01:13
@fruffy fruffy added the bmv2 Topics related to BMv2 or v1model label Mar 25, 2025
Signed-off-by: Glen Gibb <gleng@ai-fabrics.com>
@grg grg force-pushed the gleng/psa-support branch from db127e4 to e3c2656 Compare March 25, 2025 14:46
@grg grg enabled auto-merge March 25, 2025 14:46
@grg grg added this pull request to the merge queue Mar 25, 2025
Merged via the queue into p4lang:main with commit bc04471 Mar 25, 2025
20 checks passed
@grg grg deleted the gleng/psa-support branch March 25, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bmv2 Topics related to BMv2 or v1model
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0