Re: [libvirt] two hostdev devices problem

2013-05-27 Thread Dominik Mostowiec
Hi, Mabye that's the problem ? : May 27 09:13:44 on-10-177-32-62 kernel: [140204.533733] ixgbe :01:00.0 eth0: VF Reset msg received from vf 13 May 27 09:13:44 on-10-177-32-62 kernel: [140204.533970] ixgbe :01:00.0: VF 13 has no MAC address assigned, you may have to assign one manually May

Re: [libvirt] two hostdev devices problem

2013-05-26 Thread Dominik Mostowiec
Hi, First - I just got confirmation from the libnl maintainer that the bug I mentioned causing problems with max_vfs 50 *is* an issue in libnl 3.2.16 - it is fixed in libnl 3.2.22. Try to upgrade to that version and it should solve at least some of your problems. Upgrade libnl to version

Re: [libvirt] two hostdev devices problem

2013-05-24 Thread Dominik Mostowiec
Hi, I have libnl3, kernel 3.8.8, os ubuntu 12.04, net:intel10G. Upgrade libnl to 3.2.16 not helps, I don't know - this is probably another problem, when I have set max_vfs=35,35 VF is attaching to VM but mac in VM is not set propertly. Libvirt probably set this macs because in syslog: May 23

Re: [libvirt] two hostdev devices problem

2013-05-24 Thread Laine Stump
On 05/24/2013 04:45 AM, Dominik Mostowiec wrote: Hi, I have libnl3, kernel 3.8.8, os ubuntu 12.04, net:intel10G. Upgrade libnl to 3.2.16 not helps, I don't know - this is probably another problem, when I have set max_vfs=35,35 VF is attaching to VM but mac in VM is not set propertly. Do

Re: [libvirt] two hostdev devices problem

2013-05-24 Thread Dominik Mostowiec
Hi, Do you have this problem with mac addresses when max_vfs is set to an even lower number? No, When max_fs=10, macs in VM are OK. Phisical interfaces: ifconfig eth0 eth0 Link encap:Ethernet HWaddr b8:ca:3a:5b:a6:38 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

Re: [libvirt] two hostdev devices problem

2013-05-24 Thread Laine Stump
On 05/24/2013 09:16 AM, Dominik Mostowiec wrote: Do you have this problem with mac addresses when max_vfs is set to an even lower number? First - I just got confirmation from the libnl maintainer that the bug I mentioned causing problems with max_vfs 50 *is* an issue in libnl 3.2.16 - it is

Re: [libvirt] two hostdev devices problem

2013-05-23 Thread Laine Stump
On 05/22/2013 06:32 PM, Dominik Mostowiec wrote: I tested on 1.0.5 patched version and vm with 2 vfs working fine. I have another problem When i set max_vfs=63: internal error missing IFLA_VF_INFO in netlink response Its working when max_vfs=31 What is the platform, kernel version, and

Re: [libvirt] two hostdev devices problem

2013-05-22 Thread Dominik Mostowiec
I tested on 1.0.5 patched version and vm with 2 vfs working fine. I have another problem When i set max_vfs=63: internal error missing IFLA_VF_INFO in netlink response Its working when max_vfs=31 -- Dominik 21 maj 2013 15:19, Dominik Mostowiec dominikmostow...@gmail.com napisał(a): Hmm, It

[libvirt] two hostdev devices problem

2013-05-21 Thread Dominik Mostowiec
hi, I try to add 2 VF by hostdev. Networks (vnet0, vnet1) with: forward mode='hostdev' managed='yes' pf dev='eth1'/ . Domain: interface type=network source network=vnet0/ interface type=network source network=vnet1/ virsh create error: error: internal

Re: [libvirt] two hostdev devices problem

2013-05-21 Thread Ján Tomko
On 05/21/2013 09:32 AM, Dominik Mostowiec wrote: hi, I try to add 2 VF by hostdev. Networks (vnet0, vnet1) with: forward mode='hostdev' managed='yes' pf dev='eth1'/ . Domain: interface type=network source network=vnet0/ interface

Re: [libvirt] two hostdev devices problem

2013-05-21 Thread Laine Stump
On 05/21/2013 04:03 AM, Ján Tomko wrote: On 05/21/2013 09:32 AM, Dominik Mostowiec wrote: hi, I try to add 2 VF by hostdev. Networks (vnet0, vnet1) with: forward mode='hostdev' managed='yes' pf dev='eth1'/ . Domain: interface type=network source

Re: [libvirt] two hostdev devices problem

2013-05-21 Thread Ján Tomko
On 05/21/2013 01:37 PM, Laine Stump wrote: On 05/21/2013 04:03 AM, Ján Tomko wrote: On 05/21/2013 09:32 AM, Dominik Mostowiec wrote: hi, I try to add 2 VF by hostdev. Networks (vnet0, vnet1) with: forward mode='hostdev' managed='yes' pf dev='eth1'/ . Domain:

Re: [libvirt] two hostdev devices problem

2013-05-21 Thread Dominik Mostowiec
Hmm, It seems to be working (after only simple tests). -- Dominik 2013/5/21 Ján Tomko jto...@redhat.com On 05/21/2013 01:37 PM, Laine Stump wrote: On 05/21/2013 04:03 AM, Ján Tomko wrote: On 05/21/2013 09:32 AM, Dominik Mostowiec wrote: hi, I try to add 2 VF by hostdev. Networks

Re: [libvirt] two hostdev devices problem

2013-05-21 Thread Daniel P. Berrange
On Tue, May 21, 2013 at 11:29:26AM -0400, Laine Stump wrote: On 05/21/2013 07:44 AM, Ján Tomko wrote: On 05/21/2013 01:37 PM, Laine Stump wrote: On 05/21/2013 04:03 AM, Ján Tomko wrote: On 05/21/2013 09:32 AM, Dominik Mostowiec wrote: hi, I try to add 2 VF by hostdev. Networks (vnet0,

Re: [libvirt] two hostdev devices problem

2013-05-21 Thread Laine Stump
On 05/21/2013 07:44 AM, Ján Tomko wrote: On 05/21/2013 01:37 PM, Laine Stump wrote: On 05/21/2013 04:03 AM, Ján Tomko wrote: On 05/21/2013 09:32 AM, Dominik Mostowiec wrote: hi, I try to add 2 VF by hostdev. Networks (vnet0, vnet1) with: forward mode='hostdev' managed='yes' pf

Re: [libvirt] two hostdev devices problem

2013-05-21 Thread Laine Stump
On 05/21/2013 11:34 AM, Daniel P. Berrange wrote: On Tue, May 21, 2013 at 11:29:26AM -0400, Laine Stump wrote: On 05/21/2013 07:44 AM, Ján Tomko wrote: On 05/21/2013 01:37 PM, Laine Stump wrote: On 05/21/2013 04:03 AM, Ján Tomko wrote: On 05/21/2013 09:32 AM, Dominik Mostowiec wrote: hi, I