DPDK中RX描述符数的设置是否有限制?
我注意到在DPDK中,RX环中RX描述符的默认值通常为4096。但是我也可以对此值进行任意更改(64的倍数)。
我想知道设置RX描述符的数量是否有限制?
例如,可以设置的RX描述符的最大数量是多少?此最大值与网卡类型有关? RX描述符的数量是否必须为64?的倍数
I noticed that in DPDK, the default value of the RX descriptors in the RX ring is generally 4096. But I can also make arbitrary changes to this value(multiples of 64).
I would like to know is there any limit for setting the number of RX descriptors?
eg,What is the maximum number of RX descriptors that can be set?Is this maximum value related to the type of network card? Does the number of RX descriptors have to be a multiple of 64?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
描述符计数限制是PMD特定的,但是该应用程序可以通过。
可用值是:最小,最大和对齐(乘数)。例如,对于RX描述符数:
Descriptor count limits are PMD-specific, but the application can get them via the generic interface.
Available values are: MIN, MAX and ALIGN (multiplier). In example, for the Rx descriptor count: