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

datapath: Use FROM_NETDEV instead of FROM_LXC in nodeport.h #19986

Merged
merged 1 commit into from
May 30, 2022

Conversation

brb
Copy link
Member

@brb brb commented May 27, 2022

The commit be16f22 ("bpf: Rename tail call targets") did a great job
renaming some tail call targets. In particular, s/FROM_LXC/FROM_NETDEV/
in the bpf_host.c.

In the similar manner, this commit renames the targets in nodeport.h to
remove any ambiguity which might make a reader to think that the tail
call was made from bpf_lxc.

Also, extend the rev-DNAT comment for a potential NodePort BPF reply
from a remote backend.

@brb brb added sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. labels May 27, 2022
@brb brb requested review from a team and YutaroHayakawa May 27, 2022 13:50
The commit be16f22 ("bpf: Rename tail call targets") did a great job
renaming some tail call targets. In particular, s/FROM_LXC/FROM_NETDEV/
in the bpf_host.c.

In the similar manner, this commit renames the targets in nodeport.h to
remove any ambiguity which might make a reader to think that the tail
call was made from bpf_lxc.

Also, extend the rev-DNAT comment for a potential NodePort BPF reply
from a remote backend.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
@brb brb force-pushed the pr/brb/fix-np-tail-calls branch from 8be5790 to c13fc67 Compare May 27, 2022 14:01
@brb
Copy link
Member Author

brb commented May 27, 2022

/test

@pchaigno
Copy link
Member

Given this is only a comment change + a constant name change (value is the same) and it all compiles, I don't think we need to wait for the end-to-end tests.

@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 27, 2022
@jibi jibi merged commit d4b7861 into master May 30, 2022
@jibi jibi deleted the pr/brb/fix-np-tail-calls branch May 30, 2022 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants