From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by dpdk.org (Postfix) with ESMTP id C11F62E8E for ; Tue, 19 Apr 2016 18:00:09 +0200 (CEST) Received: by mail-oi0-f46.google.com with SMTP id k142so13397000oib.1 for ; Tue, 19 Apr 2016 09:00:09 -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; bh=ydEYoD82dacqiLO+AMuJeKb5zSA2BOGKKazTXYnukNc=; b=I8+EF/eA1AK15orlCGu031jSM4JQ2tNXhnhYSCxUnGFeTan7WKcb5OcEaS2a1o0HV0 q1EIMfDEXwTdWY7TAZYnm1ZsPqYfaaDH+tEeKuPNwSejJ8uLHVMwoOa1ibWcplFkYNu+ fGH2aIWTmP5KLl9nMvJC/ufcY17+XqAS7vWU+PZNr7L+923ejqEAklO/Hi6PeQXRzx/I CZWXwguD0QD+JOx8l+ikXCn+NDczRaPslg2Pn2Dk8Q6t0pWvgI6bqBM3FBsbR1fgaIDA a5KSe5Awa5tyhgUZI/ehEY3cbZKAmiu+EDSqFmHE5C0FKkmWNU8QG7Mf5tK6dIoK1jNM xOIQ== 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; bh=ydEYoD82dacqiLO+AMuJeKb5zSA2BOGKKazTXYnukNc=; b=HTRhHcTQvDhpNypnE//73VkSOX3qNmvL+lUtKKSfkmUobscT2Azkb1xd8lcBKYN3jJ jAeraI67dwQLuh8g/UXRh0x+VJ6Ky0CS2YDa1HNWV3afZ74kDuMqidKC1Tx20C1IpMCh Ei6wro7dvTSSOuyVZb/v+T/mf5+c9w0UCODIScBWGymULU+6ngtnn72r+Vp/Yiz7Svjf a031q+Gz41vaiL8bGvbYXenD2y+6KVmcgL6NR3jSTwXVelUh2fiP9MfkyEiBgyiZFEXN 44x2Ucv70OL493idHDOqTYHj0/vGSOg2sJrpvg91wGv+7NCr2WlUjFDbFydjw2mjZU0L gbMg== X-Gm-Message-State: AOPr4FX68SxqUFG2FLTyoOztl91wtbOWy2Ax4mBEj7HQTHKxR7zS5OKoQw1jyA0P6fr7R/AsVtrPd1K/7kSzmw== MIME-Version: 1.0 X-Received: by 10.157.59.119 with SMTP id z110mr1686979otb.173.1461081609232; Tue, 19 Apr 2016 09:00:09 -0700 (PDT) Received: by 10.202.213.210 with HTTP; Tue, 19 Apr 2016 09:00:09 -0700 (PDT) Date: Tue, 19 Apr 2016 21:30:09 +0530 Message-ID: From: Subbu CS To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] basic forwarding example not working 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, 19 Apr 2016 16:00:10 -0000 I am using two virtio network adapter on VM on KVM host. As in following output, I have bound both interface with igb_uio driver ./dpdk_nic_bind.py --bind=igb_uio 00:0a.0 ./dpdk_nic_bind.py --bind=igb_uio 00:0b.0 [root@localhost tools]# ./dpdk_nic_bind.py --status Network devices using DPDK-compatible driver ============================================ 0000:00:0a.0 'Virtio network device' drv=igb_uio unused= 0000:00:0b.0 'Virtio network device' drv=igb_uio unused= Network devices using kernel driver =================================== 0000:00:03.0 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter' if=ens3 drv=8139cp unused=igb_uio *Active* 0000:00:08.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio 0000:00:09.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio Other network devices ===================== But when I run basic fowarding example from skeleton, I get following error ./basicfwd -c 1 -n 2 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 1 lcore(s) EAL: Probing VFIO support... EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory) EAL: VFIO modules not loaded, skipping VFIO support... EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75de400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75de000000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75ddc00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75dd800000 (size = 0x200000) EAL: Ask a virtual area of 0x27400000 bytes EAL: Virtual area found at 0x7f75b6200000 (size = 0x27400000) EAL: Ask a virtual area of 0x4a00000 bytes EAL: Virtual area found at 0x7f75b1600000 (size = 0x4a00000) EAL: Ask a virtual area of 0x1200000 bytes EAL: Virtual area found at 0x7f75b0200000 (size = 0x1200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75afe00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75afa00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75af600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75af200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75aee00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f75aea00000 (size = 0x200000) EAL: Requesting 370 pages of size 2MB from socket 0 EAL: TSC frequency is ~1696081 KHz EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! EAL: Master lcore 0 is ready (tid=df5298c0;cpuset=[0]) EAL: PCI device 0000:00:08.0 on NUMA socket -1 EAL: probe driver: 1af4:1000 rte_virtio_pmd EAL: Not managed by a supported kernel driver, skipped Segmentation fault Please let me know what is the correct method to run the basic forwarding application.