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

Add documentation for vlan bpf bypass. #17539

Merged
merged 1 commit into from Oct 13, 2021
Merged

Conversation

kvaster
Copy link
Contributor

@kvaster kvaster commented Oct 5, 2021

Documentation for vlan bpf bypass.

Follow-up for PR: #16772

Signed-off-by: Viktor Kuzmin kvaster@gmail.com

@kvaster kvaster requested a review from a team as a code owner October 5, 2021 16:03
@kvaster kvaster requested review from a team and qmonnet October 5, 2021 16:03
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Oct 5, 2021
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

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

Content looks good, although I suggested a bunch of edits for the grammar and phrasing. Please have a look: a few are typos and need be addressed, but other than this you don't necessarily have to adopt all of my suggestions.

Thanks a lot for the contribution!

Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
@qmonnet qmonnet requested a review from brb October 5, 2021 16:53
@qmonnet qmonnet added area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. release-note/misc This PR makes changes that have no direct user impact. and removed area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. labels Oct 5, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Oct 5, 2021
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

Documentation/gettingstarted/kubeproxy-free.rst Outdated Show resolved Hide resolved
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

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

Looks good to me, pending that the issue on the location of the comment, raised by Martynas, is addressed. Thanks!

Follow-up for PR: cilium#16772

Signed-off-by: Viktor Kuzmin <kvaster@gmail.com>
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@pchaigno pchaigno left a comment

Choose a reason for hiding this comment

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

One non-blocking comment below. Documentation changes LGTM!


The list of allowed VLAN tags cannot be too big in order to keep eBPF program of predictable size. Currently this list
should contain no more than 5 entries. If you need more, then there is only one way for now: you need to allow
all tags with cilium-agent flag ``--vlan-bpf-bypass=0``.
Copy link
Member

Choose a reason for hiding this comment

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

I understand this limit was added to avoid complexity issues. Did anyone actually validate that it works with 5 VLAN tags? What other options were enabled during that test?

If we want to cover this in CI, I think we should extend the MAX_HOST_OPTIONS macro in bpf/Makefile.

/cc @joestringer

@aanm aanm merged commit 05a3daf into cilium:master Oct 13, 2021
@kvaster kvaster deleted the vlan-docs branch October 15, 2021 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants