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: use node map spi field in set_ipsec_encrypt #31804

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

ldelossa
Copy link
Contributor

@ldelossa ldelossa commented Apr 5, 2024

Updates set_ipsec_encrypt to allow an SPI to be retrieved from the node map when creating an encryption mark.

This is especially useful when Encrypted Overlay is enabled, allowing us to obtain the SPI via the VXLAN tunnel endpoint IP.

bpf: update `set_ipsec_encrypt` to optionally fill SPI with node map value

Updates `set_ipsec_encrypt` to allow an SPI to be retrieved from the
node map when creating an encryption mark.

This is especially useful when Encrypted Overlay is enabled, allowing us
to obtain the SPI via the VXLAN tunnel endpoint IP.

Signed-off-by: Louis DeLosSantos <louis.delos@isovalent.com>
@ldelossa ldelossa requested review from a team as code owners April 5, 2024 21:52
@ldelossa ldelossa requested a review from pchaigno April 5, 2024 21:52
@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 Apr 5, 2024
@pchaigno pchaigno added area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. release-note/misc This PR makes changes that have no direct user impact. feature/ipsec Relates to Cilium's IPsec feature labels Apr 8, 2024
@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 Apr 8, 2024
@pchaigno
Copy link
Member

pchaigno commented Apr 8, 2024

/test

@maintainer-s-little-helper 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 Apr 8, 2024
@lmb lmb added this pull request to the merge queue Apr 9, 2024
Merged via the queue into cilium:main with commit 486f198 Apr 9, 2024
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. feature/ipsec Relates to Cilium's IPsec feature 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants