From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bilemail2.empirix.com (bilemail2.empirix.com [208.67.76.246]) by dpdk.org (Postfix) with ESMTP id 71FC98D9A for ; Tue, 27 Oct 2015 11:12:17 +0100 (CET) Received: from BILEMAIL1.empirix.com (10.17.8.30) by bilemail2.empirix.com (10.17.8.31) with Microsoft SMTP Server (TLS) id 15.0.775.38; Tue, 27 Oct 2015 06:12:10 -0400 Received: from BILEMAIL1.empirix.com ([fe80::f9e0:9293:2523:f021]) by bilemail1.empirix.com ([fe80::f9e0:9293:2523:f021%22]) with mapi id 15.00.0775.031; Tue, 27 Oct 2015 06:12:10 -0400 From: "Montorsi, Francesco" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" Thread-Topic: how to use multiple RX queues on the same port Thread-Index: AdEQEqIz5NrQ/6PcQXGYb+Q2OnC//AAEfSUQAB5mdqA= Date: Tue, 27 Oct 2015 10:12:10 +0000 Message-ID: References: <13d836797e6944cca262c12cfb26a743@bilemail1.empirix.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.50.62] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] how to use multiple RX queues on the same port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 10:12:17 -0000 Hi Pablo, > -----Original Message----- > From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch@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? >=20 > 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 funct= ions to apply. I now see that all 4 RX queues are correctly used.=20 Thanks!! Francesco