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
Remove sockops from eBPF datapath diagrams #24824
Conversation
Commit 55bae9865ad2c1bd5bc4cab2ff317138d9aac0f5 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
Commit 55bae9865ad2c1bd5bc4cab2ff317138d9aac0f5 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! I have three comments:
-
Sockmaps are gone as well, along with sockops. File
bpf_redir.c
was entirely removed in 87c8746. Could you please remove the corresponding boxes as well? -
The title of some diagrams refers to sockmaps and should also be updated. The version numbers as well, I suppose.
-
Could we maybe adjust the size of the frames that contained the removed boxes on the diagrams (maybe narrow down the entire diagram by also moving the keys when relevant)? The resulting diagrams currently have frames with some empty spaces, just as if something in it was missing. This might be easier with an SVG editor rather than a text editor.
@qmonnet 👋🏻
👍🏻
👍🏻
Exactly the point of my reviewer note in the OP. 🎯
I've never actually edited an SVG with an SVG editor before. I welcome your recommendation about which editor you think would work best. |
0427ba0
to
5fc75d8
Compare
@qmonnet 👋🏻 PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The diagrams look better now.
I've got a few comments on the second one (cilium_bpf_endpoint.svg):
-
Should it be renamed
v1.13
Datapath instead ofv1.x
? It's not clear to me why one is1.x
and the others have a fixed version number. Maybe I'm missing some context. -
Should we remove the bottom part of the diagram? Now that sockops/sockmaps have been removed from it, I'm not sure there's much interest in keeping that part.
Other than these, looks good to me.
I'll add a request review from Joe who has a good vision of the datapath and should be able to tell if we missed something that is outdated?
@qmonnet 👋🏻
I kept 1.x because it's unique in the current version (the others were 1.8). I'm happy to change it.
That's my thought as well, but I didn't want to presume. @joestringer WDYT? 🙏🏻 UPDATE: I've made both changes. If you like them, please review accordingly. 🙇🏻♀️ |
Signed-off-by: ZSC <sarah.corleissen@isovalent.com>
a0d3f6b
to
8147eff
Compare
Signed-off-by: ZSC <sarah.corleissen@isovalent.com>
Signed-off-by: ZSC <sarah.corleissen@isovalent.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think we could follow up to add the bpf_sock logic for socket-level L4 LoadBalancing, but that can be a separate submission on top IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks all good to me as well, thanks a lot for working on this!
Doc change only, with Documentation workflow passing. We have reviews from all code-owner teams (Anton was pulled for cilium/sig-datapath, but Joe and I are part of that team as well). I'm just changing the release-note label to |
Fixes: #24735