Skip to content

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

Merged
AltraMayor merged 2 commits intov1.2.0-devfrom
no_kni
Mar 6, 2024
Merged

cps: replace DPDK's KNI library with virtio-user#678
AltraMayor merged 2 commits intov1.2.0-devfrom
no_kni

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