From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by dpdk.org (Postfix) with ESMTP id 52BE6C38C; Fri, 5 Feb 2016 23:32:52 +0100 (CET) Received: by mail-vk0-f54.google.com with SMTP id e185so65556913vkb.1; Fri, 05 Feb 2016 14:32:52 -0800 (PST) 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=2FLIeMiG9/qZM6Gj8j5M/eY1NQykCl2NPn2E1Kn6sB0=; b=vjbSKphZM9+KC1DMyPYPTRg7v0YpmgxMtpsURZJqpuS+rTlRE10nJ4mAPTSb6h9gHk 0wW4ZmYNeIi8fdI3jGX2yIdFkbD2zOJL8+KO08JqFj9QRh3Gk2sBtjkxsYECTusaVsYy N78r5vCdhahhEJAiB2V1gtvpKZ7azFyao+1/3u5lJrx1tof+98NgyDyHkYjozDuHHwao mfuDqW/HLvcHJ2IundtXK0zeVhduwrlQ31f5uWQ1L0XSSCHA72cFn9PdHWJ4E0yqM4XR eAHJH/HN16h/ff7S3Tvt2mMJCbNbqdbhHV+84EANHNxXwc6tkzIKx7v7H7MMDmZKfw3U YsGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=2FLIeMiG9/qZM6Gj8j5M/eY1NQykCl2NPn2E1Kn6sB0=; b=I3HuBI9Nb5IHWtU6akH93QiDyWQuG9nuIP7dE9o73HsU4iX1qiwWul1O6oqM3NbJTL dzyHh1jwKQezs2ywTODgk/X1hBAIgKcwl7Pb2o7xKO0z9sU2EUufwWJf/Bv0RYDxauM4 gIgZD6ZUbWX7KE5sTw7pPhLt4BgF835rllqmLRPqQKgt6PxvVlTLsfE5nW1oWN9TVdg7 wZXO63uA1sKQ0tDMxZfhni+6LUwjEENuA+sIgXWCnHzudyujfI+HEJeDmEQ3qFEiV1cY xZG5lAVDeRwk3HdVYpm5nizDPIiFDB7MK7GOq1SpyzfVFi0DpaUWlMb32sug/4yN/nFP YWYg== X-Gm-Message-State: AG10YOSTWrKO7fTiuYo4QfDsRAiIOn4ZVQWlwoOh+9O+wu56dfhUm/NBSYBKdRHGpQcDigD+jPOzxqz6t9YWyg== MIME-Version: 1.0 X-Received: by 10.31.5.71 with SMTP id 68mr10939695vkf.157.1454711571720; Fri, 05 Feb 2016 14:32:51 -0800 (PST) Received: by 10.31.152.208 with HTTP; Fri, 5 Feb 2016 14:32:51 -0800 (PST) Date: Fri, 5 Feb 2016 14:32:51 -0800 Message-ID: From: Saurabh Mishra To: dev@dpdk.org, users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK i40evf problem in receving packet X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 22:32:52 -0000 Hi, I'm seeing two problems: 1) when use our kernel '3.10.88-8.0.0.0.6', we only receive first packet but not subsequent ones at all after that. However, when I use centos7.0, then l2fwd is able to receive all the packets. 2) I've also seen that on centos7.0, symmetric_mp itself is not working. dev start fails with 280 error. i40evf is giving us lot of headache. The i40evf kernel driver works without any problem. Host is a centos7 KVM. I've already upgraded firmware to latest. [root@localhost ~]# uname -a Linux localhost.localdomain 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# [root@localhost ~]# ./symmetric_mp fakeelf --file-prefix=virtaddr -c2 -m2048 -n1 --base-virtaddr=0x7fa000000000 --proc-type=primary -- -p 3 --num-procs=1 --proc-id=0 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 0 on socket 0 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 2 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: VFIO modules not all loaded, skip VFIO support... EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x2a800000 bytes EAL: Virtual area found at 0x7fa000000000 (size = 0x2a800000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fa02a800000 (size = 0x200000) EAL: Ask a virtual area of 0x54000000 bytes EAL: Virtual area found at 0x7fa02aa00000 (size = 0x54000000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7fa07ea00000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fa07ee00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fa07f000000 (size = 0x200000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7fa07f200000 (size = 0x600000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fa07f800000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fa07fa00000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7fa07fc00000 (size = 0x400000) EAL: Requesting 1024 pages of size 2MB from socket 0 EAL: TSC frequency is ~2600000 KHz EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! EAL: Master lcore 1 is ready (tid=3e55900;cpuset=[1]) EAL: PCI device 0000:00:09.0 on NUMA socket -1 EAL: probe driver: 8086:154c rte_i40evf_pmd EAL: PCI memory mapped at 0x7fa080000000 EAL: PCI memory mapped at 0x7fa080010000 EAL: PCI device 0000:00:0a.0 on NUMA socket -1 EAL: probe driver: 8086:154c rte_i40evf_pmd EAL: PCI memory mapped at 0x7fa080014000 EAL: PCI memory mapped at 0x7fa080024000 # Initialising port 0... Queue :1 PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=0. PMD: i40e_set_tx_function_flag(): Vector tx can be enabled on this txq. PMD: i40e_set_rx_function(): Port[0] doesn't meet Vector Rx preconditions PMD: i40e_set_rx_function(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0. PMD: i40e_set_tx_function(): Simple tx finally be used. smp_port_init() dev start error 280 EAL: Error - exiting with code: 1 Cause: Error initialising ports [root@localhost ~]#