-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
bpf: nodeport: wire up trace struct for IPv6 RevDNAT #26047
Merged
dylandreimerink
merged 1 commit into
cilium:main
from
julianwiedmann:1.14-bpf-nodeport-ipv6-trace
Jun 9, 2023
Merged
bpf: nodeport: wire up trace struct for IPv6 RevDNAT #26047
dylandreimerink
merged 1 commit into
cilium:main
from
julianwiedmann:1.14-bpf-nodeport-ipv6-trace
Jun 9, 2023
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
When the NAT path in to-overlay/to-netdev is included as tail_handle_nat_fwd_ipv6(), skip the hop through handle_nat_fwd_ipv6() and call the actual RevDNAT implementation straight away. This allows us to pass through a trace_ctx struct, so that the RevDNAT can return precise trace information from its CT lookup. The IPv4 path already does this, so we must have missed the boat at some point. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
julianwiedmann
added
sig/datapath
Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
area/monitor
Impacts monitoring, access logging, flow logging, visibility of datapath traffic.
release-note/misc
This PR makes changes that have no direct user impact.
labels
Jun 8, 2023
/test |
julianwiedmann
added
feature/ipv6
Relates to IPv6 protocol support
needs-backport/1.13
This PR / issue needs backporting to the v1.13 branch
labels
Jun 9, 2023
Looks like this cleanly cherry-picks back to v1.13, so let's apply it there as well. |
aspsk
approved these changes
Jun 9, 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.
Yes, this makes more sense
maintainer-s-little-helper
bot
added
the
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
label
Jun 9, 2023
(the one fail in the GH ginkgo tests is #25964) |
7 tasks
19 tasks
nbusseneau
added
backport-pending/1.13
The backport for Cilium 1.13.x for this PR is in progress.
and removed
needs-backport/1.13
This PR / issue needs backporting to the v1.13 branch
labels
Jun 22, 2023
tklauser
added
backport-done/1.13
The backport for Cilium 1.13.x for this PR is done.
and removed
backport-pending/1.13
The backport for Cilium 1.13.x for this PR is in progress.
labels
Jun 29, 2023
gentoo-root
moved this from Needs backport from main
to Backport done to v1.13
in 1.13.5
Jul 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/monitor
Impacts monitoring, access logging, flow logging, visibility of datapath traffic.
backport-done/1.13
The backport for Cilium 1.13.x for this PR is done.
feature/ipv6
Relates to IPv6 protocol support
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/misc
This PR makes changes that have no direct user impact.
sig/datapath
Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
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.
When the NAT path in
to-overlay/to-netdev
is included astail_handle_nat_fwd_ipv6()
, skip the hop throughhandle_nat_fwd_ipv6()
and call the actual RevDNAT implementation straight away.This allows us to pass through a
trace_ctx
struct, so that the RevDNAT can return precise trace information from its CT lookup.The IPv4 path already does this, so we must have missed the boat at some point.