refactor: optimize TCP and UDP checksum handling with eBPF
udp and tcp ingress:
- use
bpf_l4_csum_replacebpf_l3_csum_replaceto recalculate the checksums; - and
bpf_skb_store_bytesto update dest ip and port;
Signed-off-by: tzssangglass [email protected]
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:
ok, I will update based on the comments.
@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
needs a rebase on
main
done
[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
- ~~OWNERS~~ [astoycos]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
oops, it looks like k8s-ci-robot didn't squash the commit.