Date: Mon, 29 Oct 2012 09:35:01 +0100 From: =?iso-8859-1?Q?R=E9mi_Pauchet?= <remi.pauchet@netasq.com> To: Sami Halabi <sodynet1@gmail.com> Cc: freebsd-net@freebsd.org, Jack Vogel <jfvogel@gmail.com> Subject: Re: ixgbe and ixgbevf drivers are not working in virtualization environment Message-ID: <61139DF3-42F3-4589-8A78-F89C61694F6D@netasq.com> In-Reply-To: <CAEW%2Bogar66m6FW4_Wv36bEGkUT2M8FOHh%2BtyxojCH_RFg3iY1w@mail.gmail.com> References: <792D5931-19E7-4239-A3E8-5D2BC90F03FD@netasq.com> <CAFOYbcmYn_44dMc0OiTqWpvQvas1biY0AUJvxqZ_%2Bn1ZApEn4g@mail.gmail.com> <B0DB1464-D65E-4856-99DD-2C688D3CC731@netasq.com> <C6A18AC9-A87D-4134-BF41-FA0452A076E4@netasq.com> <70DCE61F-E1B9-445F-A3F6-BC90646FA2AE@netasq.com> <CAEW%2Bogar66m6FW4_Wv36bEGkUT2M8FOHh%2BtyxojCH_RFg3iY1w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_2C88C3A1-9FD4-490F-A79E-5C4B8D38D2BD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Le 26 oct. 2012 =E0 23:40, Sami Halabi a =E9crit : > Hi, > did you try explicit "ifconfig ix0 up" instead of rebooting? In fact, down, then up commands are necessary : ifconfig ix0 down ifconfig ix0 up Regards, R=E9mi >=20 > Sami >=20 > On Thu, Oct 25, 2012 at 4:29 PM, R=E9mi Pauchet = <remi.pauchet@netasq.com> wrote: > more informations about the SR-IOV issue. >=20 > The problem is that the link is not updated in the virtual machine (VF = driver). >=20 > ie: I start the VM with my fiber unplugged, the vf link is "no = carrier". > I plug the fiber, the link stays in state "no carrier". > If I reboot the vm, I get the active link. > I reproduce the issue with esxi 5.1 and xenserver 6 >=20 >=20 > On other hand, I still haven't managed to get an active link with = VMWare DirectPath. >=20 > Regards, > R=E9mi >=20 >=20 > Le 17 oct. 2012 =E0 09:42, R=E9mi Pauchet a =E9crit : >=20 > > Hi > > > > My interface is configured, UP and running and I still can't get a = link > > > > Can you help me with this issue ? > > > > Regards, > > R=E9mi > > > > > > Le 12 oct. 2012 =E0 09:38, R=E9mi Pauchet a =E9crit : > > > >> Hi, > >> > >> Unfortunately not: > >> > >> ix0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 = mtu 1500 > >> = options=3D401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU= M,TSO4,VLAN_HWTSO> > >> ether 00:e0:ed:1c:99:4e > >> inet 172.16.255.254 netmask 0xffff0000 broadcast = 172.16.255.255 > >> inet6 fe80::2e0:edff:fe1c:994e%ix0 prefixlen 64 scopeid 0x2 > >> nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > >> media: Ethernet autoselect > >> status: no carrier > >> ix1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 = mtu 1500 > >> = options=3D401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU= M,TSO4,VLAN_HWTSO> > >> ether 00:e0:ed:1c:99:4f > >> inet 172.17.255.254 netmask 0xffff0000 broadcast = 172.17.255.255 > >> inet6 fe80::2e0:edff:fe1c:994f%ix1 prefixlen 64 scopeid 0x3 > >> nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > >> media: Ethernet autoselect > >> status: no carrier > >> > >> Regards, > >> R=E9mi > >> > >> Le 11 oct. 2012 =E0 18:25, Jack Vogel a =E9crit : > >> > >>> The ixgbe device will not get link until you have run init, so = assign it an address or just do an ifconfig up. > >>> > >>> I have never used the driver using a passthru type setup but I = believe its been done successfully if > >>> memory serves. > >>> > >>> Jack > >>> > >>> > >>> On Thu, Oct 11, 2012 at 8:39 AM, R=E9mi Pauchet = <remi.pauchet@netasq.com> wrote: > >>> Hi, > >>> > >>> I'm trying to use the ixgbe (10Gb) driver in a FreeBSD virtual = machine on an esxi 5 using DirectPath (PCI Passthrough) and the card is = detected, but I can't get a link (status: no carrier) > >>> > >>> ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - = 2.3.11> mem 0xd2420000-0xd243ffff,0xd2400000-0xd2403fff irq 18 at device = 0.0 on pci3 > >>> > >>> ix0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 > >>> = options=3D401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU= M,TSO4,VLAN_HWTSO> > >>> ether 00:e0:ed:1c:99:4e > >>> nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > >>> media: Ethernet autoselect > >>> status: no carrier > >>> > >>> I have also tested with XenServer 6, using SR-IOV (ixgbevf driver) = with the same result: the driver is loading, but no link detected. > >>> > >>> In both case (VMWare DirectPath and XenServer SR-IOV), I tested = Linux with success. > >>> > >>> > >>> The card is an Intel 82599EB, the motherboard is an Intel X58 = (supermicro X8ST3) with a Xeon W3680 and I've tested FreeBSD 8.3 and 9.0 > >>> > >>> I've found a forum thread with the same issue: = http://forums.freebsd.org/showthread.php?t=3D29855 and no answer :) > >>> > >>> > >>> Please find in attachment the dmesg (boot -v) with the ix driver = compiled with DEBUG flags using vmware. > >>> > >>> > >>> Can anyone provide feedback about this issue ? > >>> > >>> Regards, > >>> R=E9mi Pauchet > >>> > >>> > >>> > >> > > >=20 >=20 >=20 >=20 > --=20 > Sami Halabi > Information Systems Engineer > NMS Projects Expert > FreeBSD SysAdmin Expert >=20 --Apple-Mail=_2C88C3A1-9FD4-490F-A79E-5C4B8D38D2BD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61139DF3-42F3-4589-8A78-F89C61694F6D>