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

We need an example of tc program #292

Open
masibw opened this issue May 16, 2021 · 2 comments
Open

We need an example of tc program #292

masibw opened this issue May 16, 2021 · 2 comments

Comments

@masibw
Copy link

masibw commented May 16, 2021

Hi. Thanks for creating good oss.
I know commit messages of #76 said about how to create tc(traffic control) program. But, I think it's not satisfactory and should write to docs or examples.
How about writing an example of simple tc ?

@devkoriel
Copy link

Yes I agree, we need example. For XDP, we can use AttachXDP method easily but I cannot find the one for TC.

@Manxiaxia
Copy link

Thanks for the post. Before reading it, I have no idea how to attach the ebpf program to tc hook at all using this library. The commit messages you included helps a lot.

I also agree that it will be the best to provide an example. Maybe at least mention more about TC in the document since there is no method such as AttachXDP available.

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

No branches or pull requests

3 participants