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

send_to_port and mirror_packet arguments should be in direction #110

Merged
merged 1 commit into from
Jan 14, 2023

Conversation

apinski-cavium
Copy link
Contributor

I noticed this while testing a front-end change for compile time known-constants fix.
These arguments should not be directionless and not required to be a compile time known constants.

Signed-off-by: Andrew Pinski apinski@marvell.com

I noticed this while testing a front-end change for compile time
known-constants fix.
These arguments should not be directionless and not required to be
a compile time known constants.

Signed-off-by: Andrew Pinski <apinski@marvell.com>
@onf-cla-manager
Copy link

Hi @apinski-cavium, this is the ONF bot 🤖 I'm glad you want to contribute to our projects! However, before accepting your contribution, we need to ask you to sign a Contributor License Agreement (CLA). You can do it online, it will take only a few minutes:

✒️ 👉 https://cla.opennetworking.org

After signing, make sure to add your Github user ID apinski-cavium to the agreement.

For more information or help:"
https://wiki.opennetworking.org/x/BgCUI

@apinski-cavium
Copy link
Contributor Author

I should note this was found while implementing p4lang/p4-spec#1213 into a front-end.

Copy link
Collaborator

@jafingerhut jafingerhut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry I had not noticed this much earlier!

@apinski-cavium
Copy link
Contributor Author

LGTM. Sorry I had not noticed this much earlier!

We all missed it before the release in December. Also the examples only use send_to_port/mirror_packet from an action where the argument was from the table/control plane (and p4c has a bug there which allows it) which allowed this to missed by the examples also. Basically I am saying things slip through everyone's eyes even.

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