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

Update native loading of root programs #245

Merged
merged 27 commits into from
Sep 1, 2023

Conversation

sanfern
Copy link
Contributor

@sanfern sanfern commented May 23, 2023

This PR updates loading and unloading of the xdp root and tc root programs from L3afd. An XDP root program as well as TC filters are attached to the interface.The process of unloading xdp and tc programs is a common one, when the programs are loaded by L3AFD.

The next PR will include the loading of other ebpf programs from L3afd.

@sanfern sanfern force-pushed the sanfern-dev-root-progs branch 5 times, most recently from 7fafb8e to 9e68ff1 Compare May 25, 2023 19:14
@sanfern sanfern force-pushed the sanfern-dev-root-progs branch 3 times, most recently from 4a4ff26 to 9963150 Compare June 9, 2023 14:34
kf/bpf.go Outdated Show resolved Hide resolved
kf/bpf.go Outdated Show resolved Hide resolved
kf/bpf.go Outdated Show resolved Hide resolved
kf/bpf.go Outdated Show resolved Hide resolved
kf/kf_unix.go Outdated Show resolved Hide resolved
kf/kf_windows.go Outdated Show resolved Hide resolved
kf/kf_windows.go Outdated Show resolved Hide resolved
kf/kf_windows.go Outdated Show resolved Hide resolved
kf/kf_unix.go Outdated Show resolved Hide resolved
@sanfern sanfern force-pushed the sanfern-dev-root-progs branch 3 times, most recently from 9251c15 to 1617359 Compare June 16, 2023 12:57
@sanfern sanfern marked this pull request as ready for review June 16, 2023 13:09
kf/bpf.go Outdated Show resolved Hide resolved
kf/bpf.go Outdated Show resolved Hide resolved
kf/kf_unix.go Outdated Show resolved Hide resolved
kf/kf_unix.go Outdated Show resolved Hide resolved
kf/kf_unix.go Outdated Show resolved Hide resolved
@sanfern sanfern force-pushed the sanfern-dev-root-progs branch 2 times, most recently from 39c6ade to 6b2eaad Compare June 21, 2023 20:04
ajayR006
ajayR006 previously approved these changes Jun 22, 2023
Copy link

@ajayR006 ajayR006 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • API Documentation for this change is necessary
  • Release note explaining added capability, bugs and the missing features plan for next milestone.

@sanfern sanfern force-pushed the sanfern-dev-root-progs branch 3 times, most recently from a6bfce3 to c706528 Compare June 24, 2023 20:30
dthaler
dthaler previously approved these changes Jun 27, 2023
kf/bpf.go Outdated Show resolved Hide resolved
kf/bpf.go Outdated Show resolved Hide resolved
kf/bpf.go Show resolved Hide resolved
Signed-off-by: Santhosh Fernandes <santhosh.fernandes@gmail.com>
CODEOWNERS Outdated Show resolved Hide resolved
Signed-off-by: sferna1 <santhosh.fernandes@gmail.com>
kf/bpf.go Show resolved Hide resolved
Copy link
Contributor

@jniesz jniesz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sanfern sanfern merged commit 88420bf into l3af-project:main Sep 1, 2023
7 checks passed
@sanfern sanfern deleted the sanfern-dev-root-progs branch September 1, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants