From owner-freebsd-net@FreeBSD.ORG Thu Oct 25 14:29:58 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A562C48 for ; Thu, 25 Oct 2012 14:29:58 +0000 (UTC) (envelope-from remi.pauchet@netasq.com) Received: from work.netasq.com (gwlille.netasq.com [91.212.116.1]) by mx1.freebsd.org (Postfix) with ESMTP id AB8638FC14 for ; Thu, 25 Oct 2012 14:29:57 +0000 (UTC) Received: from [10.2.9.2] (unknown [91.212.116.2]) by work.netasq.com (Postfix) with ESMTPSA id 52B1A27057AF; Thu, 25 Oct 2012 16:29:55 +0200 (CEST) Subject: Re: ixgbe and ixgbevf drivers are not working in virtualization environment Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_1E577B5D-420A-42CA-B1BA-931D84D734FB"; protocol="application/pkcs7-signature"; micalg=sha1 From: =?iso-8859-1?Q?R=E9mi_Pauchet?= In-Reply-To: Date: Thu, 25 Oct 2012 16:29:53 +0200 Message-Id: <70DCE61F-E1B9-445F-A3F6-BC90646FA2AE@netasq.com> References: <792D5931-19E7-4239-A3E8-5D2BC90F03FD@netasq.com> To: Jack Vogel X-Mailer: Apple Mail (2.1283) X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 14:29:58 -0000 --Apple-Mail=_1E577B5D-420A-42CA-B1BA-931D84D734FB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 more informations about the SR-IOV issue. The problem is that the link is not updated in the virtual machine (VF = driver). 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.=20 I reproduce the issue with esxi 5.1 and xenserver 6=20 On other hand, I still haven't managed to get an active link with VMWare = DirectPath. Regards, R=E9mi Le 17 oct. 2012 =E0 09:42, R=E9mi Pauchet a =E9crit : > Hi >=20 > My interface is configured, UP and running and I still can't get a = link >=20 > Can you help me with this issue ? >=20 > Regards, > R=E9mi >=20 >=20 > Le 12 oct. 2012 =E0 09:38, R=E9mi Pauchet a =E9crit : >=20 >> Hi, >>=20 >> Unfortunately not: >>=20 >> ix0: flags=3D8843 metric 0 = mtu 1500 >> = options=3D401bb >> 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=20 >> nd6 options=3D29 >> media: Ethernet autoselect >> status: no carrier >> ix1: flags=3D8843 metric 0 = mtu 1500 >> = options=3D401bb >> 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=20 >> nd6 options=3D29 >> media: Ethernet autoselect >> status: no carrier >>=20 >> Regards, >> R=E9mi >>=20 >> Le 11 oct. 2012 =E0 18:25, Jack Vogel a =E9crit : >>=20 >>> The ixgbe device will not get link until you have run init, so = assign it an address or just do an ifconfig up. >>>=20 >>> I have never used the driver using a passthru type setup but I = believe its been done successfully if >>> memory serves. >>>=20 >>> Jack >>>=20 >>>=20 >>> On Thu, Oct 11, 2012 at 8:39 AM, R=E9mi Pauchet = wrote: >>> Hi, >>>=20 >>> 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) >>>=20 >>> ix0: mem 0xd2420000-0xd243ffff,0xd2400000-0xd2403fff irq 18 at device = 0.0 on pci3 >>>=20 >>> ix0: flags=3D8802 metric 0 mtu 1500 >>> = options=3D401bb >>> ether 00:e0:ed:1c:99:4e >>> nd6 options=3D29 >>> media: Ethernet autoselect >>> status: no carrier >>>=20 >>> I have also tested with XenServer 6, using SR-IOV (ixgbevf driver) = with the same result: the driver is loading, but no link detected. >>>=20 >>> In both case (VMWare DirectPath and XenServer SR-IOV), I tested = Linux with success. >>>=20 >>>=20 >>> 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 >>>=20 >>> I've found a forum thread with the same issue: = http://forums.freebsd.org/showthread.php?t=3D29855 and no answer :) >>>=20 >>>=20 >>> Please find in attachment the dmesg (boot -v) with the ix driver = compiled with DEBUG flags using vmware. >>>=20 >>>=20 >>> Can anyone provide feedback about this issue ? >>>=20 >>> Regards, >>> R=E9mi Pauchet >>>=20 >>>=20 >>>=20 >>=20 >=20 --Apple-Mail=_1E577B5D-420A-42CA-B1BA-931D84D734FB--