From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gandi.net (mail4.gandi.net [217.70.183.210]) by dpdk.org (Postfix) with ESMTP id 7796EC372 for ; Tue, 2 Jun 2015 10:45:16 +0200 (CEST) Received: from localhost (mfiltercorp1-d.gandi.net [217.70.183.155]) by gandi.net (Postfix) with ESMTP id 6D487E39AE for ; Tue, 2 Jun 2015 10:45:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfiltercorp1-d.gandi.net Received: from gandi.net ([217.70.183.210]) by localhost (mfiltercorp1-d.gandi.net [217.70.183.155]) (amavisd-new, port 10024) with ESMTP id fzSAZCoArc9J for ; Tue, 2 Jun 2015 10:45:15 +0200 (CEST) Received: from [10.242.8.86] (fob.gandi.net [217.70.181.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by gandi.net (Postfix) with ESMTPSA id B0C87E39C6 for ; Tue, 2 Jun 2015 10:45:15 +0200 (CEST) Message-ID: <556D6D1B.7050406@gandi.net> Date: Tue, 02 Jun 2015 10:45:15 +0200 From: Nikita Kozlov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: dev@dpdk.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] no packets with i40e when setting up more than 1 rx queue 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, 02 Jun 2015 08:45:16 -0000 Hello, To introduce myself, I am working on a slightly enhanced version of l3fwd which support some more features like dynamically adding new routes in a lpm table, adding some acls, rate-limiting per dest, a command line through unixsock etc. We hope to open source it as soon as it is shiny enough. Here is my problem, when I'm trying to use more than 1 rx_queue using the i40e driver I'm not receiving any packet, the rx_status in i40e_rx_scan_hw_ring is always 0 on all queues. Note that the code is working with more than 1 queue with an ixgbe card. Some details: -We are using the same rte_eth_conf as the one in l3fwd, and we have tested with both ETH_RSS_IP and ETH_RSS_PROTO_MASK. -The queues setup is the same as in l3fwd. -When I'm dumping the reta table I have my hash indexes are pointing to queue 0 and 1. -The rxq->queue_id in i40e_rx_scan_hw_ring (and in rte_eth_rx_burst) is a mix of queue 0 and queue 1. -The rss configuration taken from rte_eth_dev_rss_hash_conf_get seems ok. -We have flashed both card to the latest version (f4.33 a1.2 n04.42 e80001930) -We have tested with dpdk2.0.0 and with the current HEAD. I saw the mail "i40e and RSS woes", so I tried to set another rss_key after the init but it doesn't help. I also tried to modify the reta table but it doesn't help also. I am a little bit out of new ideas to solve it, if its not to try to downgrade the firmware version. Anyone have a suggestion ? I will continue my dev using a ixgbe card, but making it work with i40e too (with more than 1 rx_queue) would be really pleasing. -- Nikita