From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id E1A155A0A for ; Mon, 29 Jun 2015 02:23:43 +0200 (CEST) Received: by wibdq8 with SMTP id dq8so58063405wib.1 for ; Sun, 28 Jun 2015 17:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9wI/ZBg0dLyr6S2BvFvn8jqcgyFFzX740uWxNvg3xeg=; b=NTbR6oGV/7+sbs0bIbTKkTVaddNFFDSd54plHIwDFXcHfihr0I3SSQUzp7C6wMbkwg 5z67H2NGXK2e5Cs4AWiqinM7JFCfcQzAcC+wUdE+/p/lsNcQJeR8ybFT7nZ35OZFmZ0F ceARI4TXcj0GmY8rHGAEXGHpEro4h03I2cV6MzGyPg+gDsCqijXvCRXF+GS+whZ64f16 GdrN+PBabx3Z0RBArHKo/n02E7TuYreAQBsLrlpycbbMWx97+98BZQRZ5q9g3x3LKr/x Pt/HzZYb2119AQnmRYujL543kw436fS9UqdQBgjSntdvgMxFcDjiKGpC/eu++RlWoI1K hCVQ== MIME-Version: 1.0 X-Received: by 10.180.91.100 with SMTP id cd4mr17173046wib.1.1435537423831; Sun, 28 Jun 2015 17:23:43 -0700 (PDT) Received: by 10.28.173.196 with HTTP; Sun, 28 Jun 2015 17:23:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Jun 2015 09:23:43 +0900 Message-ID: From: Keunhong Lee To: Jakub Mazur Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Receive errors on all packets with multi-queues 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: Mon, 29 Jun 2015 00:23:44 -0000 Did you set RSS mode? Multi-queue RX won't work unless you have set RSS(Receive Side Scaling). Keunhong. 2015-06-22 14:34 GMT+09:00 Jakub Mazur : > Hi > > I'm having problems with packets received when running 2 receive queues (on > seperate lcores) on the same port but when I run 1 queue everything works > correctly. The queues are using 32 bursts and are using the same mempool > which is allocated on the same socket as the NIC, as are the queues. When > checking the stats of the port using rte_eth_stats_get nearly all of the > received packets are errors. I'm generating packets using Pktgen with 64 > byte frames and using ranges on the src ip for rss filtering. > > Heres the output: > > $ sudo -E ./build/app/newapp -c 0xb -n 3 -d > ../../../dpdk-2.0.0/x86_64-native-linuxapp-gcc/lib/librte_pmd_ixgbe.so > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Detected lcore 1 as core 0 on socket 1 > EAL: Detected lcore 2 as core 1 on socket 0 > EAL: Detected lcore 3 as core 1 on socket 1 > EAL: Detected lcore 4 as core 2 on socket 0 > EAL: Detected lcore 5 as core 2 on socket 1 > EAL: Detected lcore 6 as core 3 on socket 0 > EAL: Detected lcore 7 as core 3 on socket 1 > EAL: Detected lcore 8 as core 4 on socket 0 > EAL: Detected lcore 9 as core 4 on socket 1 > EAL: Detected lcore 10 as core 5 on socket 0 > EAL: Detected lcore 11 as core 5 on socket 1 > EAL: Detected lcore 12 as core 6 on socket 0 > EAL: Detected lcore 13 as core 6 on socket 1 > EAL: Detected lcore 14 as core 7 on socket 0 > EAL: Detected lcore 15 as core 7 on socket 1 > EAL: Detected lcore 16 as core 0 on socket 0 > EAL: Detected lcore 17 as core 0 on socket 1 > EAL: Detected lcore 18 as core 1 on socket 0 > EAL: Detected lcore 19 as core 1 on socket 1 > EAL: Detected lcore 20 as core 2 on socket 0 > EAL: Detected lcore 21 as core 2 on socket 1 > EAL: Detected lcore 22 as core 3 on socket 0 > EAL: Detected lcore 23 as core 3 on socket 1 > EAL: Detected lcore 24 as core 4 on socket 0 > EAL: Detected lcore 25 as core 4 on socket 1 > EAL: Detected lcore 26 as core 5 on socket 0 > EAL: Detected lcore 27 as core 5 on socket 1 > EAL: Detected lcore 28 as core 6 on socket 0 > EAL: Detected lcore 29 as core 6 on socket 1 > EAL: Detected lcore 30 as core 7 on socket 0 > EAL: Detected lcore 31 as core 7 on socket 1 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 32 lcore(s) > EAL: Setting up memory... > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7fc98fe00000 (size = 0x200000) > EAL: Ask a virtual area of 0x3fc00000 bytes > EAL: Virtual area found at 0x7fc950000000 (size = 0x3fc00000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7fc94fc00000 (size = 0x200000) > EAL: Ask a virtual area of 0x3f600000 bytes > EAL: Virtual area found at 0x7fc910400000 (size = 0x3f600000) > EAL: Ask a virtual area of 0x400000 bytes > EAL: Virtual area found at 0x7fc90fe00000 (size = 0x400000) > EAL: Ask a virtual area of 0x400000 bytes > EAL: Virtual area found at 0x7fc90f800000 (size = 0x400000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7fc90f400000 (size = 0x200000) > EAL: Requesting 512 pages of size 2MB from socket 0 > EAL: Requesting 512 pages of size 2MB from socket 1 > EAL: TSC frequency is ~2900000 KHz > EAL: open shared lib > ../../../dpdk-2.0.0/x86_64-native-linuxapp-gcc/lib/librte_pmd_ixgbe.so > EAL: Master lcore 0 is ready (tid=94769900;cpuset=[0]) > EAL: lcore 3 is ready (tid=dff1700;cpuset=[3]) > EAL: lcore 1 is ready (tid=e7f2700;cpuset=[1]) > EAL: PCI device 0000:05:00.1 on NUMA socket 1 > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > EAL: PCI memory mapped at 0x7fc990000000 > EAL: PCI memory mapped at 0x7fc990080000 > # of eth ports = 1 > rte_eth_dev_configure() for port 0 done > rte_eth_rx_queue_setup() for port 0 queue 0 done > rte_eth_rx_queue_setup() for port 0 queue 1 done > rte_eth_tx_queue_setup() for port 0 queue 0 done > rte_eth_tx_queue_setup() for port 0 queue 1 done > rte_eth_dev_start() for port 0 done > Core 1 starting > Core 3 starting > Bytes: 2048 > Packets: 32 > Missed: 13255672 > Sent: 64 > > Any help would be appreciated. >