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

[VPP-1865] dpdk { num-rx-queues N } - N should be power of 2 #3328

Open
vvalderrv opened this issue Feb 2, 2025 · 0 comments
Open

[VPP-1865] dpdk { num-rx-queues N } - N should be power of 2 #3328

vvalderrv opened this issue Feb 2, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

Description

In startup.conf, when configuring

{{dpdk { num-rx-queues N }}}

using a value of N that is not a power of 2 will cause VPP to abort.

The following backtrace is seen with N=3:

Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault.

0x00007fffb3a44200 in ?? () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

(gdb)

(gdb) bt

#0 0x00007fffb3a44200 in ?? () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

#1 0x00007fffb3a44679 in ?? () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

#2 0x00007fffb3a44f2e in ?? () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

#3 0x00007fffb3177fb3 in rte_eth_stats_get () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

#4 0x00007fffb427b90f in ?? () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

#5 0x00007fffb42847f0 in ?? () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

#6 0x00007ffff6408a4b in ?? () from /usr/lib/x86_64-linux-gnu/libvlib.so.0.0.10

#7 0x00007ffff5ea8d40 in clib_calljmp () from /usr/lib/x86_64-linux-gnu/libvppinfra.so.0.0.10

#8 0x00007fffb51c8bb0 in ?? ()

#9 0x00007ffff6408b53 in ?? () from /usr/lib/x86_64-linux-gnu/libvlib.so.0.0.10

Backtrace stopped: previous frame inner to this frame (corrupt stack?)

(gdb) frame 3

#3 0x00007fffb3177fb3 in rte_eth_stats_get () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

 

Enforcing N to be a power of 2 would be good (or at least mentioning it somewhere in the documentation).

Assignee

Unassigned

Reporter

Ajit Thyagarajan

Comments

No comments.

Original issue: https://jira.fd.io/browse/VPP-1865

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