-
Notifications
You must be signed in to change notification settings - Fork 39
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
Load xdp and tc programs from l3afd #279
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ab21961
to
e5ced21
Compare
b484ec4
to
db3f030
Compare
db3f030
to
00ded2e
Compare
dthaler
reviewed
Sep 16, 2023
c81b087
to
61de404
Compare
dthaler
reviewed
Sep 18, 2023
dthaler
reviewed
Sep 18, 2023
61de404
to
ee82415
Compare
ee82415
to
20656b4
Compare
fa27da3
to
c7e175d
Compare
c7e175d
to
c9c4e74
Compare
Signed-off-by: evershalik <[email protected]> Signed-off-by: sferna1 <[email protected]>
…ect#283) * L3AFD metric for ebpf program update command failure count Signed-off-by: Atul-source <[email protected]> Signed-off-by: sferna1 <[email protected]>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.16.0...v1.17.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: sferna1 <[email protected]>
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.30.0 to 1.31.0. - [Release notes](https://github.com/rs/zerolog/releases) - [Commits](rs/zerolog@v1.30.0...v1.31.0) --- updated-dependencies: - dependency-name: github.com/rs/zerolog dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: sferna1 <[email protected]>
…ject#292) Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](ossf/scorecard-action@08b4669...483ef80) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: sferna1 <[email protected]>
…af-project#291) Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.5.1 to 2.6.0. - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](step-security/harden-runner@8ca2b8b...1b05615) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: Santhosh Fernandes <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: Atul-source <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: Atul-source <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: SHANKAR <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: SHANKAR <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: SHANKAR <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: SHANKAR <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: SHANKAR <[email protected]> Signed-off-by: sferna1 <[email protected]>
Signed-off-by: evershalik <[email protected]> Signed-off-by: sferna1 <[email protected]>
5630cd5
to
ba17031
Compare
* updating go version Signed-off-by: Atul-source <[email protected]> Signed-off-by: sferna1 <[email protected]>
5b0b4f9
to
80aec2e
Compare
Signed-off-by: Santhosh Fernandes <[email protected]>
80aec2e
to
0220e4b
Compare
jniesz
approved these changes
Nov 1, 2023
charleskbliu0
approved these changes
Nov 1, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Atul-source
pushed a commit
to Atul-source/l3afd
that referenced
this pull request
Nov 28, 2023
* Load xdp and tc programs from l3afd Signed-off-by: Santhosh Fernandes <[email protected]> Signed-off-by: Atul-source <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The PR involves loading and connecting xdp and tc ebpf programs from l3afd, and comes with several modifications. Firstly, the monitoring of bpf programs has been updated to keep track of both user and loaded bpf programs that are currently running. Secondly, the maps pinning path has been changed to include interface specific directories such as
/sys/fs/bpf/<iface>
for xdp and/sys/fs/bpf/tc/globals/<iface>
for tc. Thirdly, user programs are now started after loading bpf programs, allowing them to run as a daemon or just to initialize custom bpf maps with specific logic. Lastly, monitor maps are only supported when the BPF program is loaded from l3afd and is used for publishing metrics generated by the program.