From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f53.google.com (mail-qg0-f53.google.com [209.85.192.53]) by dpdk.org (Postfix) with ESMTP id 8961C137D for ; Wed, 9 Apr 2014 16:02:48 +0200 (CEST) Received: by mail-qg0-f53.google.com with SMTP id f51so1576340qge.26 for ; Wed, 09 Apr 2014 07:04:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ZZG6QL57rPa2QGpv+2xasIwMFr2mtfLaHtUP+T1dF44=; b=bN7NYDfGHes+3VQ164EdCwpChyhR8ACcFgpmhX/IPODS3EW2LSVWWz0hZrVqu6z2/E i9QWaiThyVgpvHIKVASTDuAayCJn6irghwfT3r4v54NCeixIBJGO4wDgTDEHoU30a3S7 T0vKgB2d87GNVMY7a55ATBbs612gbnO7yS4rjrbvs2YzgtwNmi9VGedpTOu9emp3Fihp XByGXb+twHhWs40OAvZZltFVf3lPQ7XQaB+2Z5Vn9g67I7jWsL0122kDGXTMkG8zMeiu mVgux+Hyl7EMaXpBE/Iiys81zSYyY9eE1JklvvsgdfEYCMMHYmWcQYcnS/qRFKXDDIwO ftAA== X-Received: by 10.224.88.131 with SMTP id a3mr12699466qam.54.1397052265251; Wed, 09 Apr 2014 07:04:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.99.35 with HTTP; Wed, 9 Apr 2014 07:03:55 -0700 (PDT) From: Tomasz K Date: Wed, 9 Apr 2014 16:03:55 +0200 Message-ID: To: dev Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] l2fwd not working on PF while working on VF 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: Wed, 09 Apr 2014 14:02:49 -0000 Dear All I have a setup with Intel 82576 DPDK NIC. For one of the available DPDK ports i have created 8 VFs using igb_uio based on steps presented in programmers guide. Some of them are attached to VM, some maybe used on host After some tests with l2fwd application i found out that it is not working for PF, but works perfectly for any VF (both on host and in VM). I'm still trying to find root cause of this issue but maybe someone encountered such problem Thanks in advance Tomasz Kasowicz Setup: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz running Ubuntu 12.04 LTS pci_unbind.py --status Network devices using IGB_UIO driver ==================================== 0000:01:00.1 '82576NS Gigabit Network Connection' drv=igb_uio unused=igb 0000:02:11.1 '82576 Virtual Function' drv=igb_uio unused=igbvf Network devices using kernel driver =================================== 0000:00:19.0 '82579LM Gigabit Network Connection' if=eth1 drv=e1000e unused= *Active* 0000:01:00.0 '82576NS Gigabit Network Connection' if=eth0 drv=igb unused=igb_uio *Active* 0000:02:10.1 '82576 Virtual Function' if= drv=pci-stub unused=igbvf,igb_uio 0000:02:10.3 '82576 Virtual Function' if= drv=pci-stub unused=igbvf,igb_uio 0000:02:10.5 '82576 Virtual Function' if= drv=pci-stub unused=igbvf,igb_uio 0000:02:10.7 '82576 Virtual Function' if= drv=pci-stub unused=igbvf,igb_uio 0000:02:11.3 '82576 Virtual Function' if= drv=pci-stub unused=igbvf,igb_uio 0000:02:11.5 '82576 Virtual Function' if= drv=pci-stub unused=igbvf,igb_uio 0000:02:11.7 '82576 Virtual Function' if= drv=pci-stub unused=igbvf,igb_uio 0000:04:00.0 '82574L Gigabit Network Connection' if=eth3 drv=e1000e unused=igb_uio Other network devices ===================== cat /sys/bus/pci/devices/0000\:01\:00.1/max_vfs 8 ls -alrt /sys/bus/pci/devices/0000\:01\:00.1/virtfn* lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn7 -> ../0000:02:11.7 lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn6 -> ../0000:02:11.5 lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn5 -> ../0000:02:11.3 lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn4 -> ../0000:02:11.1 lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn3 -> ../0000:02:10.7 lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn2 -> ../0000:02:10.5 lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn1 -> ../0000:02:10.3 lrwxrwxrwx 1 root root 0 Apr 9 12:09 /sys/bus/pci/devices/0000:01:00.1/virtfn0 -> ../0000:02:10.1