[dpdk-dev] how to use multiple RX queues on the same port

Montorsi, Francesco fmontorsi at empirix.com
Tue Oct 27 11:12:10 CET 2015


Hi Pablo,

> -----Original Message-----
> From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch at intel.com]
> > Hi all,
> > To avoid rx_nombuf packet drops, I'm trying to configure a DPDK port
> > to use more than 1 RX queue... so I'm trying (on a 10Gbps card) to use 4 RX
> queues.
> > The call to rte_eth_dev_configure() and the 4 calls to
> > rte_eth_rx_queue_setup() succeed but then via the
> > rte_eth_rx_queue_count() API I see that only the first RX queue is
> > used. The remaining 3 seems unused... am I missing something?
> 
> How are you configuring the port? Are you using RSS? I guess that's what you
> are looking for, so make sure that you are using the right
> mq_mode(ETH_MQ_RX_RSS).

No, I was not using RSS and this was indeed the problem. I enabled it as is done in e.g., l3fwd example, i.e., using the ETH_RSS_IP for the hash functions to apply. I now see that all 4 RX queues are correctly used. 

Thanks!!
Francesco





More information about the dev mailing list