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

bpf: enable hairpin optimizations to avoid fib lookup also for tc #11989

Merged
merged 1 commit into from Jun 9, 2020

Conversation

borkmann
Copy link
Member

@borkmann borkmann commented Jun 9, 2020

Make 0532f88 ("bpf: avoid using fib lookup in nodeport for dsr v4/v6
hairpin case") generic such that also the tc BPF case can benefit from it
when only a single external device was specified or detected on the node.

Signed-off-by: Daniel Borkmann daniel@iogearbox.net

Make 0532f88 ("bpf: avoid using fib lookup in nodeport for dsr v4/v6
hairpin case") generic such that also the tc BPF case can benefit from it
when only a single external device was specified or detected on the node.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
@borkmann borkmann added pending-review sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. release-note/misc This PR makes changes that have no direct user impact. labels Jun 9, 2020
@borkmann borkmann requested review from brb and a team June 9, 2020 15:06
@borkmann borkmann requested a review from a team as a code owner June 9, 2020 15:06
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Jun 9, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.0 Jun 9, 2020
@borkmann
Copy link
Member Author

borkmann commented Jun 9, 2020

test-me-please

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 37.004% when pulling 4a6dc38 on pr/nodeport-hairpin into 749d03a on master.

@borkmann
Copy link
Member Author

borkmann commented Jun 9, 2020

retest-net-next

@borkmann borkmann merged commit f8da3b9 into master Jun 9, 2020
1.8.0 automation moved this from In progress to Merged Jun 9, 2020
@borkmann borkmann deleted the pr/nodeport-hairpin branch June 9, 2020 19:53
@aanm aanm mentioned this pull request Jun 11, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.8 in 1.8.0 Jun 11, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.8 in 1.8.0 Jun 11, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.0 Jun 12, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.0 Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.
Projects
No open projects
1.8.0
  
Merged
1.8.0
Backport done to v1.8
Development

Successfully merging this pull request may close these issues.

None yet

4 participants