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 loading and chaining of the ipfix flow exporter #67

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

sanfern
Copy link
Contributor

@sanfern sanfern commented Sep 14, 2023

This PR is to make changes to the ipfix flow exporter program to load from the l3afd. Specifically, the modification involves removing the loading and chaining functionality from the user program. Secondly, program SEC names are prefixed with keyword tc, Thirdly, bpf map definition are updated from SEC("maps") to SEC(".maps") format. Additionally, maps will be accessed from a directory path specific to the interface, which is located at /sys/bpf/fs/tc/globals/<iface>.

@sanfern
Copy link
Contributor Author

sanfern commented Sep 22, 2023

This PR depends l3af-project/l3afd#279

@sanfern sanfern force-pushed the sanfern-rem-load-ipfix branch from da54fd9 to 599a8ec Compare September 22, 2023 09:50
ipfix-flow-exporter/bpf_ipfix_egress_user.c Outdated Show resolved Hide resolved
ipfix-flow-exporter/bpf_ipfix_ingress_user.c Outdated Show resolved Hide resolved
ipfix-flow-exporter/bpf_ipfix_user.c Outdated Show resolved Hide resolved
@sanfern sanfern force-pushed the sanfern-rem-load-ipfix branch 2 times, most recently from ce49a5c to cf44430 Compare September 27, 2023 18:01
ipfix-flow-exporter/bpf_ipfix_egress_user.c Outdated Show resolved Hide resolved
ipfix-flow-exporter/bpf_ipfix_ingress_user.c Outdated Show resolved Hide resolved
ipfix-flow-exporter/bpf_ipfix_ingress_user.c Outdated Show resolved Hide resolved
@sanfern sanfern added this to the eBPF enhancements milestone Oct 2, 2023
@sanfern sanfern added the enhancement New feature or request label Oct 2, 2023
@sanfern sanfern force-pushed the sanfern-rem-load-ipfix branch from cf44430 to c42da87 Compare October 2, 2023 20:41
@sanfern sanfern self-assigned this Oct 3, 2023
@sanfern sanfern force-pushed the sanfern-rem-load-ipfix branch from c42da87 to 0ea7e8f Compare October 4, 2023 09:12
@sanfern sanfern force-pushed the sanfern-rem-load-ipfix branch from 0ea7e8f to d0b0f65 Compare October 13, 2023 18:46
@sanfern sanfern force-pushed the sanfern-rem-load-ipfix branch from d0b0f65 to ec8d016 Compare October 28, 2023 19:08
@sanfern sanfern merged commit 07e93ae into l3af-project:main Nov 2, 2023
@sanfern sanfern deleted the sanfern-rem-load-ipfix branch November 2, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants