Commit Graph

7 Commits (770ab66e9c343fcc194d5a4e93f8c98446cab70e)

Author SHA1 Message Date
Andre Fredette ac07608b79 Support using handle in tc programs
Implements step 1 of https://github.com/aya-rs/aya/issues/414.

- Adds handle to the SchedClassifier attach API
- Saves handle in the TcLink sruct and uses it when detaching programs

NOTE: this changes the API, so it will require a bump in the Aya version.

Signed-off-by: Andre Fredette <afredette@redhat.com>
2 years ago
Dave Tucker 67951cd2d7 xtask: Fix docs generation
Publish user/kernel space docs seperately.
Add an index.html at the root for navigation.
Ensure that search engines don't index these pages.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2 years ago
William Findlay ac47f7ee73
meta: ignore .vscode/ except .vscode/settings.json 3 years ago
William Findlay e115b72245
meta: fix rust-analyzer support for aya-bpf
Ironically, we have the same issue here as in https://github.com/aya-rs/aya-template/pull/13/.
This patch fixes this by explicitly defining the project layout for both vscode and neovim.
3 years ago
Dave Tucker 544efdd4d7 ci: Add action for xtask codegen
This commit adds a github action that will
- check out aya and libbpf
- run xtask codegen
- if there is a diff, open commit changes to the codegen branch
- if changes were comitted, open a pull-request

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Alessandro Decina 9a0b13e781 ignore .vscode 3 years ago
Alessandro Decina 15be301f8c Initial commit 4 years ago