Skip to content

feat: increase eBPF ring buffer map size to 16K#1103

Merged
gruyaume merged 1 commit intomainfrom
def-16k
Mar 13, 2026
Merged

feat: increase eBPF ring buffer map size to 16K#1103
gruyaume merged 1 commit intomainfrom
def-16k

Conversation

@gruyaume
Copy link
Member

@gruyaume gruyaume commented Mar 13, 2026

Description

Ella Core currently does not start on Linux distros with page sizes of 16KB like Pi OS. This forces users to use Ubuntu on a Raspberry Pi for example.

Here we increase the eBPF ring buffer size to 16K in order to be compatible with 16K page size Linux distros like Pi OS.

Logs

2026-03-13T00:35:25+02:00 ella-core.cored[3229]: {"level":"error","ts":"2026-03-13T00:35:25.850+0200","caller":"ebpf/objects.go:106","msg":"failed to load eBPF program","component":"UPF","error":"field UpfN3N6EntrypointFunc: program upf_n3_n6_entrypoint_func: map nocp_map: map create: invalid argument (ring map size 4096 not a multiple of page size 16384)"}

Reference

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Signed-off-by: gruyaume <guillaume.belanger27@gmail.com>
@gruyaume gruyaume marked this pull request as ready for review March 13, 2026 11:41
@gruyaume gruyaume merged commit 35c54fc into main Mar 13, 2026
20 checks passed
@gruyaume gruyaume deleted the def-16k branch March 13, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants