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

Fix for issue #629 #636

Merged
merged 2 commits into from
May 24, 2017
Merged

Fix for issue #629 #636

merged 2 commits into from
May 24, 2017

Conversation

mihaibudiu
Copy link
Contributor

The P4-16 spec has removed the two-argument emit method of packet_out.

@mihaibudiu mihaibudiu merged commit ea389ba into p4lang:master May 24, 2017
@mihaibudiu mihaibudiu deleted the issue629 branch May 26, 2017 15:03
mihaibudiu pushed a commit that referenced this pull request May 30, 2017
* Fix for issue #638

* IRGen fixes

- support for autogenerating methods in nested classes
- support for friend functions
- misc bug fixes

* cpplint fixes

* Update comment

* Minor change in bmv2 backend: set action_const (#652)

In the bmv2 JSON, a match-table can indicate that its default action is
constant (using 'action_const') and that the default action entry
(action + action parameter values) is constant (using
'action_entry_const'). `action_entry_const == true => action_const ==
true`. The bmv2 backend was setting 'action_entry_const' correctly, but
'action_const' was always set to false. Note that P4_16 does not make a
difference between the 2, the presence of `const` in the P4_16 source
implies that both attributes should be true.

* Fix for issue #629 (#636)

* Support emits of structs; test parsing of varbit fields (#634)

* Support emits of structs; test parsing of varbit fields

* Fixes issue #447 and #630

* Updated reference outputs

* Additional tests and bug-fixes for varbits

* Fix for issue #638
* Allow empty actions list in tables
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