Skip to content

[Do Not Merge] BMv2 Backend#312

Draft
PietroGhg wants to merge 49 commits intop4lang:mainfrom
PietroGhg:pietro/bmv2_develop
Draft

[Do Not Merge] BMv2 Backend#312
PietroGhg wants to merge 49 commits intop4lang:mainfrom
PietroGhg:pietro/bmv2_develop

Conversation

@PietroGhg
Copy link
Copy Markdown
Contributor

This is a Draft PR for the entire BMv2 backend. I'm creating this PR just for visibility, it shouldn't be merged but it's a good way to understand the current status of the backend. It covers a good chunk of work from #247.
Among other things, the PR contains a fake_p4c/p4c-bm2-ss script that I've used to run tests locally (it's just a wrapper around the p4mlir tools). Using that I get a 28% pass rate on the p4c BMv2 stf test suite as of 30th January 2026.
Please consider everything in this PR as Work In Progress.

Signed-off-by: Pietro Ghiglio <pghiglio@accesssoftek.com>
Signed-off-by: Pietro Ghiglio <pghiglio@accesssoftek.com>
Signed-off-by: Pietro Ghiglio <pghiglio@accesssoftek.com>
Signed-off-by: Pietro Ghiglio <pghiglio@accesssoftek.com>
Signed-off-by: Pietro Ghiglio <pghiglio@accesssoftek.com>
Signed-off-by: Pietro Ghiglio <pghiglio@accesssoftek.com>
@PietroGhg PietroGhg force-pushed the pietro/bmv2_develop branch from fb9c336 to a03e459 Compare February 2, 2026 15:15
@asl
Copy link
Copy Markdown
Collaborator

asl commented Feb 2, 2026

Tagging @fruffy and @qobilidop for visibility

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

Successfully merging this pull request may close these issues.

2 participants