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

bond模式下rss问题 #546

Open
anshengqi opened this issue Mar 21, 2020 · 0 comments
Open

bond模式下rss问题 #546

anshengqi opened this issue Mar 21, 2020 · 0 comments

Comments

@anshengqi
Copy link

问题描述:
dpvs使用bond模式直接做转发,拓扑如:sw----bond-----dpvs,交换机的流量进入dpvs然后再回到交换机,中间使用bond(mod 4),如此的部署拓扑,当前代码会存在对称rss key散列的情况上行报文和下行报文不在不同一个core上。如果使用单个端口,没有问题。
问题解决:
按照dpdk编程指南https://doc.dpdk.org/guides/prog_guide/link_bonding_poll_mode_drv_lib.html,slave 口是不需要rte_eth_dev_configure以及rte_eth_dev_start,只需要对绑定接口进行上面的操作。特别重要的,绑定的虚设备需要使用rte_eth_dev_rss_hash_update更新rss配置。

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