-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
Description
Description
Memif fails to initialize when testing on Arm arch setup.
How to reproduce
Bringup setup on Arm platform
Expected Behavior
Screenshots/Logs
"errors.errorString=initializeRegions: memfdCreate: memfd_create: function not implemented"
Environment (please complete the following information)
Info | Example | Value |
---|---|---|
OS/arch | linux/arm64 | |
VPP version | v24.02-release | |
GoVPP version | v0.9.0 |
RCA: while creating memfd (memfdCreate()), syscall is called with trap 319 which is not valid when called from arm arch. 279 is a valid value to be used for arm setup.
To have a generic solution for all platforms, following call is more suitable which internally calls platform specific values instead of existing memfdCreate().
Proposed Fix:
- r.fd, err = unix.MemfdCreate("memif_region_0", mfd_allow_sealing)