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

Optimize Geneve option to be dynamic spaced #480

Open
Hong-Chang opened this issue May 10, 2021 · 0 comments
Open

Optimize Geneve option to be dynamic spaced #480

Hong-Chang opened this issue May 10, 2021 · 0 comments

Comments

@Hong-Chang
Copy link
Collaborator

Current the Geneve options scaled_ep_opt, pod_label_value_opt and namesapce_label_value_opt will always take space in packet. Let's try whether there is a way to optimize the option space.

For example, for pod_label_value_opt and namesapce_label_value_opt, when there is no option needed, we can just ignore the setting of the options, and the options won't take any space in packet.

Need to change src/xdp/trn_agent_xdp.c (sender) and src/xdp/trn_transit_xdp.c (receiver) correspondingly for the optimization.

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

No branches or pull requests

1 participant