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

cps: replace DPDK's KNI library with virtio-user #678

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

AltraMayor
Copy link
Owner

No description provided.

@AltraMayor AltraMayor added the Production requirement Either the issue is solved, or Gatekeeper doesn't work in production label Mar 1, 2024
@AltraMayor AltraMayor added this to the Version 1.2 milestone Mar 1, 2024
DPDK dropped its KNI library at version 23.11.
This commit replaces DPDK's KNI library with virtio-user.

This commit closes #481, closes #570, closes #585, closes #674.
File cps/main.c is the only user of functions kni_process_arp() and
kni_process_nd(). Moreover, the only relationship between
these functions and KNI is the fact that they process packets
read from KNI interfaces.

This commit
1. moves kni_process_arp() and kni_process_nd() from
   cps/kni.c to cps/main.c;
2. makes those functions static; and
3. renames those functions to process_arp() and process_nd().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Production requirement Either the issue is solved, or Gatekeeper doesn't work in production
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant