-
Notifications
You must be signed in to change notification settings - Fork 204
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
refactor: batch update bpf elements #678
Conversation
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.
bpf单测挂了 你可以看看测试文件失败的那个是什么规则
而且这也并非update batch吧。。 |
I found a TODO comment in |
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.
BPF_MAP_UPDATE_BATCH 是用户态 API 才能用的,内核态不能用吧。另外重构引入了 bug。。。
感谢热情和贡献,我个人感觉目前 bpf 急需更多测试,否则稍不注意改出 bug 肉眼很难看出来。如果有兴趣要不要看看 bpf 单测是怎么做的,然后试着拓展一下?路由的逻辑还没100%覆盖,在完善测试的时候也正好熟悉dae业务逻辑,之后也好上手修改。
Co-authored-by: ./gray <[email protected]>
@jschwinger233 Now BPF test passed :) Thanks for your review |
Background
Checklist
Full Changelogs