From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Nelson Subject: Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM) Date: Tue, 24 Mar 2015 07:53:24 -0700 Message-ID: References: <550A85B3.4070703@redhat.com> <550ADAD2.8070506@redhat.com> <550FBE70.40201@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Stefan Assmann , Bandan Das , Alex Williamson , QEMU Developers , kvm-devel , netdev@vger.kernel.org To: jacob jacob Return-path: In-Reply-To: Sender: kvm-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, Mar 24, 2015 at 7:13 AM, jacob jacob wrote: > After update to latest firmware and using version 1.2.37 of i40e > driver, things are looking better with PCI passthrough. > > ]# ethtool -i eth3 > driver: i40e > version: 1.2.37 > firmware-version: f4.33.31377 a1.2 n4.42 e1930 > bus-info: 0000:00:07.0 > supports-statistics: yes > supports-test: yes > supports-eeprom-access: yes > supports-register-dump: yes > supports-priv-flags: yes I'm glad the updates helped as we expected. > > There are still issues running dpdk 1.8.0 from the VM using the pci > passthrough devices and looks like it puts the devices in a bad state. > i40e driver will not bind after this happens and a host reboot is > required to recover. Did you make sure to unbind the i40e device from pci-stub after you were done with using it in the VM? > I'll post further updates as i make progress. > Thanks for all the help. > Good luck, sln From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaQCt-0004iz-NY for qemu-devel@nongnu.org; Tue, 24 Mar 2015 10:53:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaQCs-000836-AD for qemu-devel@nongnu.org; Tue, 24 Mar 2015 10:53:27 -0400 Received: from mail-ig0-x230.google.com ([2607:f8b0:4001:c05::230]:35700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaQCs-00082v-5A for qemu-devel@nongnu.org; Tue, 24 Mar 2015 10:53:26 -0400 Received: by igcau2 with SMTP id au2so73960366igc.0 for ; Tue, 24 Mar 2015 07:53:25 -0700 (PDT) MIME-Version: 1.0 Sender: shannon.lee.nelson@gmail.com In-Reply-To: References: <550A85B3.4070703@redhat.com> <550ADAD2.8070506@redhat.com> <550FBE70.40201@redhat.com> Date: Tue, 24 Mar 2015 07:53:24 -0700 Message-ID: From: Shannon Nelson Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jacob jacob Cc: kvm-devel , netdev@vger.kernel.org, Alex Williamson , QEMU Developers , Bandan Das , Stefan Assmann On Tue, Mar 24, 2015 at 7:13 AM, jacob jacob wrote: > After update to latest firmware and using version 1.2.37 of i40e > driver, things are looking better with PCI passthrough. > > ]# ethtool -i eth3 > driver: i40e > version: 1.2.37 > firmware-version: f4.33.31377 a1.2 n4.42 e1930 > bus-info: 0000:00:07.0 > supports-statistics: yes > supports-test: yes > supports-eeprom-access: yes > supports-register-dump: yes > supports-priv-flags: yes I'm glad the updates helped as we expected. > > There are still issues running dpdk 1.8.0 from the VM using the pci > passthrough devices and looks like it puts the devices in a bad state. > i40e driver will not bind after this happens and a host reboot is > required to recover. Did you make sure to unbind the i40e device from pci-stub after you were done with using it in the VM? > I'll post further updates as i make progress. > Thanks for all the help. > Good luck, sln