From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by dpdk.org (Postfix) with ESMTP id E3B9DC7C4 for ; Mon, 22 Jun 2015 07:34:07 +0200 (CEST) Received: by qcbcf1 with SMTP id cf1so22335031qcb.0 for ; Sun, 21 Jun 2015 22:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=t3sZgknNJs93U+w4BZW+4x9Yq7lysEU3kXhDpQsYxgc=; b=jszb2CdPAOQR2+jXtut4NCYCwNOwzhMU5zx9WmDXzndSDzQECTYiaQAWCBBHqL4Ymm 18GACNKVTEpNKl2l/yqQx4MCj42gXTj3ofeVxhvNlncUfSe8SmHX6v2x5fsR51HPs8et h5Ktoiq7Ja4j7TxmSP9FrTSeTCavOGEjQo902mvKCFYPPlcZAuQwi7YcJDjXbdp0YYB/ qshhAQhYzFK7JASPBWtlXBQ6lacFE0okLNuPoP9g3jwa5lfoFkiOnJoFbNBmZvX3y12b 7TuBzrcoLyku6W+g/AaWk3VQH3E4vlh5DWiDTe01o+j+gtWm41ADEabgp+x8Ut8DOLdb b05w== MIME-Version: 1.0 X-Received: by 10.140.235.195 with SMTP id g186mr37939683qhc.64.1434951247377; Sun, 21 Jun 2015 22:34:07 -0700 (PDT) Received: by 10.140.31.34 with HTTP; Sun, 21 Jun 2015 22:34:07 -0700 (PDT) Date: Mon, 22 Jun 2015 06:34:07 +0100 Message-ID: From: Jakub Mazur To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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, 22 Jun 2015 05:34:08 -0000 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.