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

[QA] The algorithm principles of fastpath in the agent #6248

Open
john1127 opened this issue Apr 26, 2024 · 2 comments
Open

[QA] The algorithm principles of fastpath in the agent #6248

john1127 opened this issue Apr 26, 2024 · 2 comments
Assignees

Comments

@john1127
Copy link

最近在看deepflow源码,对于fastpath索引ACL的算法不太理解,是否有相关的说明文档呢?
主要如何生成查询表以及如何利用查询表查询,涉及的数据结构vector和MatchFiled各表示什么意思呢?

@john1127
Copy link
Author

补充:
我理解的是ACL MatchField集合就是ACL src_ips, dst_ips, src_ports, dst_ports的排列组合,
每个MatchField是18字节(144 bits);

  1. Vector是对平台所有acl MatchField取掩码,那Vector是不是最多需要144bits即可?generateDdbsTable中level的作用是什么?
  2. generateSortTable函数意义何在?

@sharang
Copy link
Member

sharang commented May 14, 2024


D2BS-BaohuaYang.pdf

We used the algorithm from this paper for reference.

@sharang sharang changed the title QA:能否帮忙介绍一下fastpath中索引ACL流程? [QA] The algorithm principles of fastpath in the agent May 14, 2024
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

2 participants