Skip to content

feat: rewrite tcpretrans plugin with native cilium/ebpf#2043

Open
nddq wants to merge 1 commit intomicrosoft:cilium/v1.19-upgradefrom
nddq:cilium/v1.19-pr5-tcpretrans
Open

feat: rewrite tcpretrans plugin with native cilium/ebpf#2043
nddq wants to merge 1 commit intomicrosoft:cilium/v1.19-upgradefrom
nddq:cilium/v1.19-pr5-tcpretrans

Conversation

@nddq
Copy link
Member

@nddq nddq commented Feb 11, 2026

Description

  • Replace inspektor-gadget TCP retransmission tracer with a native eBPF kprobe on tcp_retransmit_skb using cilium/ebpf
  • Add new eBPF C program (pkg/plugin/tcpretrans/_cprog/tcpretrans.c)
  • Generate Go bindings with bpf2go
  • Update plugin implementation and types for new tracer interface

PR 5 of 7 for Cilium v1.19 upgrade.

Related Issue

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

  • Verify tcpretrans_bpfel_x86.o is included and loadable
  • Verify latency metrics tests pass
  • Verify TCP retransmission capture works in e2e environment

Additional Notes

None.


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

@nddq nddq requested a review from a team as a code owner February 11, 2026 08:05
@nddq nddq requested review from jimassa and mainred and removed request for a team February 11, 2026 08:05
@nddq nddq force-pushed the cilium/v1.19-pr5-tcpretrans branch 2 times, most recently from 0e7b077 to 09828be Compare February 11, 2026 16:49
@nddq nddq closed this Feb 11, 2026
@nddq nddq reopened this Feb 11, 2026
- Replace inspektor-gadget TCP retransmission tracer with native eBPF kprobe
- Add eBPF C program for tcp_retransmit_skb tracing
- Add generated Go bindings for x86 and arm64 with empty .o stubs
- Update plugin implementation and types

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>
@nddq nddq force-pushed the cilium/v1.19-pr5-tcpretrans branch from 09828be to be87e04 Compare February 13, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant