Skip to content

Conversation

@tomastigera
Copy link
Contributor

@tomastigera tomastigera commented Jan 13, 2026

UDP protocols like QUIC make use UDP_SEGMENT to send large datagrams that the stack segments to avoid fragmentation. Without this change we would only send back an ICMP packet to big to reduce MTU which would not have any effect the the packet would be treated like lost and performance dramatically drops.

With this change we can encap UDP gso packets into the VXLAN tunnel when traffic is forwarded from one node to another.

Description

Related issues/PRs

fixes #11367

Todos

  • Tests
  • Documentation
  • Release note

Release Note

ebpf: fixed performance for UDP (QUIC/HTTP3) nodeports

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

UDP protocols like QUIC make use UDP_SEGMENT to send large datagrams
that the stack segments to avoid fragmentation. Without this change we
would only send back an ICMP packet to big to reduce MTU which would not
have any effect the the packet would be treated like lost and
performance dramatically drops.

With this change we can encap UDP gso packets into the VXLAN tunnel when
traffic is forwarded from one node to another.
Copilot AI review requested due to automatic review settings January 13, 2026 00:30
@tomastigera tomastigera requested a review from a team as a code owner January 13, 2026 00:30
@marvin-tigera marvin-tigera added this to the Calico v3.32.0 milestone Jan 13, 2026
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Jan 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Member

@sridhartigera sridhartigera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Is it possible to test this in fv, say by extending pktgen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-pr-required Change is not yet documented release-note-required Change has user-facing impact (no matter how small)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enabling Calico eBPF results in extreme degradation of HTTP/3 traffic throughput (many packet drops)

3 participants