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

increasing Rx queues #336

Open
john-smith-77 opened this issue Apr 28, 2021 · 1 comment
Open

increasing Rx queues #336

john-smith-77 opened this issue Apr 28, 2021 · 1 comment
Labels
wait-for-op Additional information from the OP are needed

Comments

@john-smith-77
Copy link

john-smith-77 commented Apr 28, 2021

Hello, I want to run this config

input :: FromDPDKDevice(0);
input1 :: FromDPDKDevice(0);
output :: ToDPDKDevice(1);
input -> Print("input") -> output;
input1 -> Print("input1") -> output;

but I got this error

dpdkbrd.click:3: While initializing ‘output :: ToDPDKDevice’:
  Port 0 can only use 1 RX queues (asked for 5), use MAXQUEUES to set the maximum number of queues or N_QUEUES to strictly define it.
Router could not be initialized!

and I run using this command

./fastclick/bin/click --dpdk -- <filename>.click 

how can I increase the number of Rx queues?
regards

@tbarbette
Copy link
Owner

What is your device? This error is typically a hardware limitation. I guess it's something virtualized? In which case you have to configure the virtualized hardware, eg for virtio in KVM you have https://www.linux-kvm.org/page/Multiqueue#Multiqueue_virtio-net.

If that's not possible, you can try to set MAXQUEUES to 1, so FastClick will not try to ask the hardware to open 5 queues, and will lock around the single shared queue instead when trying to transmit packets.

@tbarbette tbarbette added the wait-for-op Additional information from the OP are needed label May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait-for-op Additional information from the OP are needed
Projects
None yet
Development

No branches or pull requests

2 participants