Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Ronciak, John
ilto:pavel.odint...@gmail.com] > Sent: Friday, June 19, 2015 9:04 AM > To: Ronciak, John > Cc: Skidmore, Donald C; e1000-devel@lists.sourceforge.net > Subject: Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe > > Hello, folks! > > Thanks for answer! Really important informa

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Pavel Odintsov
a feature. > > Cheers, > John > >> -Original Message- >> From: Skidmore, Donald C [mailto:donald.c.skidm...@intel.com] >> Sent: Friday, June 19, 2015 8:31 AM >> To: Pavel Odintsov; e1000-devel@lists.sourceforge.net >> Subject: Re: [E1000-devel] VF inside

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Ronciak, John
lto:pavel.odint...@gmail.com] > > Sent: Friday, June 19, 2015 3:43 AM > > To: e1000-devel@lists.sourceforge.net > > Subject: Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe > > > > I have finished my "home work". > > > > issue reproduced wit

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Skidmore, Donald C
to what the upstream ixgbe driver thinks they should be so "undefined" things could happen. Thanks, -Don Skidmore > -Original Message- > From: Pavel Odintsov [mailto:pavel.odint...@gmail.com] > Sent: Friday, June 19, 2015 3:43 AM > To: e1000-devel@lists.sourceforge.net

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Pavel Odintsov
I have finished my "home work". issue reproduced with 4.0.0 kernel and latest 4.1.1 ixgbe driver. Same error in dmesg: [ 221.676388] ixgbe :00:05.0 :00:05.0 (uninitialized): Failed to enable PCI sriov: -38 On Fri, Jun 19, 2015 at 12:58 PM, Pavel Odintsov wrote: > Hello! > > After some

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Pavel Odintsov
Hello! After some investigation of ixgbe and Linux kernel code. I found function which return this "error 38", it's sriov_enable from Linux Kernel (http://lxr.free-electrons.com/source/drivers/pci/iov.c?v=3.16#L173). And error 38 means return of ENOSYS (http://lxr.free-electrons.com/source/incl

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Pavel Odintsov
Sorry, for the mess. It was very hard day and I post fe silly posts due to my inattention (and incorrectly selected ssh window). Finally, I have got only single issue with ixgbe driver there. I can't create VF inside KVM VM. Not with max_vfs param, not with echo 2 > /sys/devices/pci:00/:0

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Pavel Odintsov
Hello! Please ignre this: echo 2 > /sys/devices/pci:00/:00:02.0/:03:00.0/sriov_numvfs -bash: echo: write error: Function not implemented echo 2 > /sys/devices/pci:00/:00:02.0/:03:00.1/sriov_numvfs -bash: echo: write error: Function not implemented Now it works fine. But

Re: [E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Pavel Odintsov
Hello! Some details. Error: echo '2' > /sys/bus/pci/devices/:00:06.0/sriov_numvfs -bash: /sys/bus/pci/devices/:00:06.0/sriov_numvfs: Permission denied Definitely related with non existent proc fs path: find /proc/|grep sriov_numvfs|wc -l 0 It's definitely a bug. Because I could find th

[E1000-devel] VF inside VM with bypassed PCI-E ixgbe

2015-06-19 Thread Pavel Odintsov
Hello, folks! I have KVM VM with bypassed PCI-E 82599 two port NIC. Driver version: 4.0.3 at Debian Jessie 3.16 kernel. lspci -v|grep Eth 00:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 20) 00:05.0 Ethernet controller: Intel Corpora