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

Resolve P4tc ebpf c issues #4115

Merged
merged 5 commits into from
Sep 4, 2023
Merged

Conversation

komaljai
Copy link
Contributor

@komaljai komaljai commented Aug 23, 2023

Fix P4TC runtime errors in C file.

  1. Adapted the name of the table lookup kfunc (which is now bpf_skb_p4tc_tbl_read)
  2. For send_to_port, if incoming parameter is input_port from pna_main_input_metadata_t, then replace it with skb->ifindex

@komaljai komaljai marked this pull request as draft August 23, 2023 05:52
@komaljai komaljai marked this pull request as ready for review August 31, 2023 14:58
@usha1830 usha1830 merged commit 4a393c9 into p4lang:main Sep 4, 2023
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