Skip to content
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

tools/ebpf: add support for loading custom AF_XDP prog #569

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

ricmli
Copy link
Collaborator

@ricmli ricmli commented Nov 6, 2023

This commit introduces the capability to load custom eBPF programs for
AF_XDP sockets within the tool. This enhancement allows users to specify
their own XDP programs, further extending the flexibility and usability
of the eBPF tools provided.

Usage: sudo ./et --prog xdp --ifname eth0,eth1 --xdp_path /path/to/xdp.o

@ricmli ricmli self-assigned this Nov 6, 2023
@ricmli ricmli requested a review from frankdjx as a code owner November 6, 2023 07:05
Signed-off-by: Ric Li <[email protected]>
@ricmli ricmli changed the title tools/ebpf: allow loading custom prog for af_xdp tools/ebpf: add support for loading custom AF_XDP prog Nov 6, 2023
@ricmli ricmli merged commit 28e1525 into OpenVisualCloud:main Nov 6, 2023
28 checks passed
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