This repository was archived by the owner on Mar 20, 2024. It is now read-only.
Open
Conversation
Signed-off-by: phansGithub <root@silpixa00401197b.ir.intel.com>
| @@ -0,0 +1,19 @@ | |||
| # Copyright(c) 2022 Intel Corporation. | |||
Contributor
There was a problem hiding this comment.
Suggested change
| # Copyright(c) 2022 Intel Corporation. | |
| # Copyright(c) 2024 Intel Corporation. |
| printf("C Library: Server Version: %s \n", GetUdsServerVersion()); | ||
| printf("C Library: Xsk Map FD request: %d \n", RequestXskMapFd("enp94s0f0")); | ||
| CleanUpConnection(); | ||
| } No newline at end of file |
Contributor
There was a problem hiding this comment.
add a blank line please at the end of file
| int main() { | ||
| printf("C Library: Client Version: %s \n", GetUdsClientVersion()); | ||
| printf("C Library: Server Version: %s \n", GetUdsServerVersion()); | ||
| printf("C Library: Xsk Map FD request: %d \n", RequestXskMapFd("enp94s0f0")); |
Contributor
There was a problem hiding this comment.
Suggested change
| printf("C Library: Xsk Map FD request: %d \n", RequestXskMapFd("enp94s0f0")); | |
| printf("C Library: xskmap FD request: %d \n", RequestXskMapFd("enp94s0f0")); |
| int main() { | ||
| printf("C Library: Client Version: %s \n", GetUdsClientVersion()); | ||
| printf("C Library: Server Version: %s \n", GetUdsServerVersion()); | ||
| printf("C Library: Xsk Map FD request: %d \n", RequestXskMapFd("enp94s0f0")); |
Contributor
There was a problem hiding this comment.
I'm not sure about hardcoding this to a physical interface... might be better to create a veth in the context of the pod for testing?
| spec: | ||
| containers: | ||
| - name: afxdp-c | ||
| image: localhost:5000/afxdp-c-test:latest |
Contributor
There was a problem hiding this comment.
Suggested change
| image: localhost:5000/afxdp-c-test:latest | |
| image: afxdp-c-test:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added in some code to test the C wrapper library for testing in a separate pod.