Skip to content

Conversation

julianwiedmann
Copy link
Member

This picks up a suggestion by Timo in
#30334 (comment) to split the big nodeport.h file into ingress/egress specific parts, so that they can be included separately. This helps the XDP program, where we don't need any of the egress code - but currently still compile the tailcalls and then prune them out at load time. Having ingress/egress parts also makes it much easier to understand the code flow.

To reduce the churn for now this patch only isolates the egress parts, while nodeport.h contains the ingress and shared parts.

@julianwiedmann julianwiedmann added area/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 Oct 22, 2024
@julianwiedmann julianwiedmann requested review from a team as code owners October 22, 2024 10:43
@julianwiedmann julianwiedmann force-pushed the 1.17-bpf-nodeport-egress branch from cda870b to a681205 Compare October 22, 2024 10:45
@julianwiedmann
Copy link
Member Author

/test

This picks up a suggestion by Timo in
cilium#30334 (comment)
to split the big nodeport.h file into ingress/egress specific parts, so
that they can be included separately. This helps the XDP program, where
we don't need any of the egress code - but currently still compile the
tailcalls and then prune them out at load time. Having ingress/egress
parts also makes it much easier to understand the code flow.

To reduce the churn for now this patch only isolates the egress parts,
while nodeport.h contains the ingress *and* shared parts.

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
@julianwiedmann julianwiedmann force-pushed the 1.17-bpf-nodeport-egress branch from a681205 to e514148 Compare October 22, 2024 11:03
@julianwiedmann julianwiedmann requested a review from a team as a code owner October 22, 2024 11:03
@julianwiedmann
Copy link
Member Author

/test

@julianwiedmann julianwiedmann added this pull request to the merge queue Oct 23, 2024
Merged via the queue into cilium:main with commit a921d6f Oct 23, 2024
66 of 67 checks passed
@julianwiedmann julianwiedmann deleted the 1.17-bpf-nodeport-egress branch October 23, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants