blixt icon indicating copy to clipboard operation
blixt copied to clipboard

refactor: optimize TCP and UDP checksum handling with eBPF

Open tzssangglass opened this issue 1 year ago • 5 comments

udp and tcp ingress:

  1. use bpf_l4_csum_replace bpf_l3_csum_replace to recalculate the checksums;
  2. and bpf_skb_store_bytes to update dest ip and port;

Signed-off-by: tzssangglass [email protected]

tzssangglass avatar Apr 07 '24 17:04 tzssangglass

Welcome @tzssangglass!

It looks like this is your first PR to kubernetes-sigs/blixt 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/blixt has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. :smiley:

k8s-ci-robot avatar Apr 07 '24 17:04 k8s-ci-robot

ok, I will update based on the comments.

tzssangglass avatar Apr 09 '24 11:04 tzssangglass

@tzssangglass needs a rebase on main

@astoycos when you're done with your review, if you'd like me to take a pass as well please do ping me

shaneutt avatar Apr 16 '24 12:04 shaneutt

needs a rebase on main

done

tzssangglass avatar Apr 17 '24 16:04 tzssangglass

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: astoycos, tzssangglass

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar May 30 '24 15:05 k8s-ci-robot

oops, it looks like k8s-ci-robot didn't squash the commit.

tzssangglass avatar May 31 '24 03:05 tzssangglass