Skip to content

Update to btf style maps - #7

Open
mziyabo wants to merge 1 commit into
lizrice:mainfrom
mziyabo:main
Open

Update to btf style maps#7
mziyabo wants to merge 1 commit into
lizrice:mainfrom
mziyabo:main

Conversation

@mziyabo

@mziyabo mziyabo commented May 2, 2024

Copy link
Copy Markdown

PR Includes the following changes:

  1. Update to use BTF style maps required for libbpf v1.0+ as per:
    https://ebpf-docs.dylanreimerink.nl/linux/concepts/maps/#btf-style-maps

    Related to adding required BTF info, (specifically to TARGET = xdp_liz), I added a -g switch to clang command)

  2. Updates SEC macro sections to supported name xdp otherwise compilation leads to errors e.g. libbpf: failed to guess program type from ELF section 'xdp_liz'

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.

1 participant