We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DPVS_MAX_LCORE需要编译阶段指定,一般会在编译阶段指定一个比较大的值, 但实际要用到的lcore小于DPVS_MAX_LCORE,这样会初始化一些没用到的变量, 比如arp_ring[], lcore2index[] 这些数组只有启用的core的对应的index才有用,不知道我的理解有没有错误, 是不是可以把这个宏改为一个变量作为启动参数可配置?
The text was updated successfully, but these errors were encountered:
主要是是出于性能和代码简洁性的考虑。
Sorry, something went wrong.
No branches or pull requests
DPVS_MAX_LCORE需要编译阶段指定,一般会在编译阶段指定一个比较大的值, 但实际要用到的lcore小于DPVS_MAX_LCORE,这样会初始化一些没用到的变量, 比如arp_ring[], lcore2index[] 这些数组只有启用的core的对应的index才有用,不知道我的理解有没有错误, 是不是可以把这个宏改为一个变量作为启动参数可配置?
The text was updated successfully, but these errors were encountered: