-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Adding DPDK support in UPF #57
Conversation
After deploying the charm with DPDK mode, bessd container can not start with following Permission Deny error.
|
Is this strictly confined Microk8s that you're running there? If yes, it won't work. |
Yes, Microk8s version is 1.27-strict/stable. |
Description
This PR adds DPDK support to UPF.
Most important changes:
vfioveth
type required by DPDKmac
andips
DPDKStatefulSetUpdater
has been added to handle StatefulSet updates required to run UPF in DPDK modeDesign decissions:
DPDKStatefulSetUpdater
is not a library, because at this point we are not aware of anyone else who could potentially leverage such a library. Regular class seems good enough at this point.DPDKStatefulSetUpdater
makesbess
container a privileged container. That's because in DPDK mode, bess needs to access physical address of HugePages. IdeallyIPC_LOCK
capability should be enough, but it's not. Similar issue has been described here.Checklist: