From owner-freebsd-net@FreeBSD.ORG Fri Jun 6 09:29:49 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD1D21065684; Fri, 6 Jun 2008 09:29:49 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 542C78FC1B; Fri, 6 Jun 2008 09:29:49 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K4YGY-000AXN-BO; Fri, 06 Jun 2008 17:29:46 +0800 Message-ID: <4849038A.5040007@micom.mng.net> Date: Fri, 06 Jun 2008 17:29:46 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.12 (X11/20080415) MIME-Version: 1.0 To: Jeremy Chadwick References: <2a41acea0805030014x244e1311v945e23266961193d@mail.gmail.com> <4848EC14.8060700@micom.mng.net> <20080606090452.GA38593@eos.sc1.parodius.com> In-Reply-To: <20080606090452.GA38593@eos.sc1.parodius.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=78F6425E Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: jfv@freebsd.org, "freebsd-net@freebsd.org" , FreeBSD Stable List , Jack Vogel Subject: Re: MFC of em/igb drivers X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2008 09:29:49 -0000 Jeremy Chadwick wrote: > On Fri, Jun 06, 2008 at 03:49:40PM +0800, Ganbold wrote: > >> Jack Vogel wrote: >> >>> I got the new drivers in Friday afternoon for those that don't see CVS >>> messages. >>> >>> The igb driver is for 82575 and 82576 adapters, it has multiqueue support and >>> MSIX, there will be more server type enhancements in that driver as I get the >>> time. >>> >>> The em driver now will be client oriented, the latest hardware support however >>> is for 82574, Hartwell, which is a really nice low cost PCIE dual-port adapter, >>> that actually also has MSIX. This first released support for it will >>> use 3 interrupt >>> vectors, one for TX, one for RX, and Link. The hardware actually supports 5 >>> vectors, so I am planning to add support for another RX and TX queue as my >>> schedule allows. >>> >>> Hartwell is also the first adapter that has IEEE 1588 PTP support, the driver >>> provides init and an ioctl interface to use that facility, I hope we >>> see software >>> support follow on soon. This is an early announcement, I am not sure on >>> exact dates for availability but they should be soon. >>> >>> As ever, issues and bugs should be sent to me. Cheers everyone! >>> >> I have Intel Gigabit card and FreeBSD-7.0-STABLE recognizes it as following: >> ... >> em0@pci0:0:25:0: class=0x020000 card=0x2800103c chip=0x104a8086 >> rev=0x02 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '82566DM Gigabit Network Connection' >> class = network >> subclass = ethernet >> ... >> # uname -an >> FreeBSD test.ub.mng.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Jun 5 >> 11:12:34 ULAT 2008 tsgan@test.ub.mng.net:/usr/obj/usr/src/sys/FIREWALL >> i386 >> >> >> It has some problem, 1000baseTX connection status almost never goes to >> active in bridged mode, sometimes >> it goes to active but then immediately it goes to no carrier. (The other >> end is Cisco4507R, Gigabit Ethernet port) >> ... >> em0: flags=8943 metric 0 >> mtu 1500 >> options=198 >> ether 00:0f:fe:82:23:db >> media: Ethernet 1000baseTX (autoselect) >> status: no carrier >> ... >> >> Any idea how to solve this issue? >> > > Have you tried disabling speed and duplex negotiation and explicitly > stating speed and duplex like so? > > ifconfig_em0="... media 1000baseTX mediaopt full-duplex" > I tried it and it doesn't work. > Cisco switches have a notorious history of not being "friendly" with > non-Cisco hardware. Forcing duplex on both ends of the link (that means > on both the host side, and the Cisco side!) usually fixes it. > Tried too, doesn't work. Ganbold -- Life is too important to take seriously. -- Corky Siegel