Skip to content

Commit

Permalink
cps: replace DPDK's KNI library with virtio-user
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AltraMayor committed Mar 1, 2024
1 parent 47b4acd commit 53e42db
Show file tree
Hide file tree
Showing 12 changed files with 447 additions and 1,194 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SRCS-y := main/main.c

# Functional blocks.
SRCS-y += config/static.c config/dynamic.c
SRCS-y += cps/main.c cps/kni.c cps/elf.c cps/rd.c
SRCS-y += cps/main.c cps/kni.c cps/rd.c
SRCS-y += ggu/main.c
SRCS-y += gk/main.c gk/rt.c gk/bpf.c
SRCS-y += gt/main.c gt/lua_lpm.c
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,9 @@ Once the packages are downloaded, they can be installed with the commands below:
```console
$ tar -zxvf gatekeeper-ubuntu-20.04-packages.tar.gz
$ cd gatekeeper-ubuntu-20.04-packages
$ sudo dpkg -i dpdk-rte-kni-dkms_*_amd64.deb gatekeeper-bird_*_amd64.deb gatekeeper_*_amd64.deb
$ sudo dpkg -i gatekeeper-bird_*_amd64.deb gatekeeper_*_amd64.deb
```

The `dpdk-rte-kni-dkms` package is a DKMS (Dynamic Kernel Modules Support)
package, which builds the `rte_kni` kernel module during installation and kernel
upgrades.

#### Configure Gatekeeper

When installed via Debian packages, Gatekeeper configuration files are located
Expand Down
278 changes: 0 additions & 278 deletions cps/elf.c

This file was deleted.

29 changes: 0 additions & 29 deletions cps/elf.h

This file was deleted.

Loading

0 comments on commit 53e42db

Please sign in to comment.