From owner-freebsd-net@FreeBSD.ORG Thu May 17 07:02:13 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 EAEAE16A408 for ; Thu, 17 May 2007 07:02:13 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.freebsd.org (Postfix) with ESMTP id A8F9F13C46C for ; Thu, 17 May 2007 07:02:12 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so461420wra for ; Thu, 17 May 2007 00:02:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YXTRV9u8F3x4B1yr4rB4aWZ1T6qYfPxXMVlau/FeJPPmvPDSE8SGWMhSUiBzPVFaWMrumkVg+xT7pHe4kRLe3GHzagIq26JmOJqKZCHcd8mlnaqwbHmJ6lPQ7ZGGikkK6YiwP6BqSrVBHJKWV/xR0pzoCLmQSIUeH0Y/8vikxOQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=csnhx4P429lNQgoNSzA1UNONRevvFsZUueoV2ciAMWw+Rfind8LqLdsEfYd0hWUyS5UKVocDMbkYU3csJhVwYcPt6OSvnKr+JwSQlDBYIe6wGzE5NmrnVvr3S04PfYcS3JQeBLWhD5fWVgM94lfkxlgRvOX1NuKkP8wyXhmoUnk= Received: by 10.114.193.1 with SMTP id q1mr41061waf.1179385331472; Thu, 17 May 2007 00:02:11 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Thu, 17 May 2007 00:02:11 -0700 (PDT) Message-ID: <2a41acea0705170002i46d4356ar5579d0bb996f9f67@mail.gmail.com> Date: Thu, 17 May 2007 00:02:11 -0700 From: "Jack Vogel" To: "Eygene Ryabinkin" In-Reply-To: <20070517055003.GB1325@void.codelabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070517055003.GB1325@void.codelabs.ru> Cc: jfv@freebsd.org, freebsd-net@freebsd.org Subject: Re: Port of the new em(4) to RELENG_6 and some problems with 82540EM 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: Thu, 17 May 2007 07:02:14 -0000 This driver CAME from a 6.X base that is thoroughly tested here at Intel, so while I appreciate your efforts, they are unnecessary. When the time comes to MFC I will handle it. Regards, Jack On 5/16/07, Eygene Ryabinkin wrote: > Jack, good day. > > I happened to make a quick and dirty patch for your latest (for the > 16.05.2007) em(4) driver from 7-CURRENT. I had seen that you mentioned > TSO and 6.3, so I assume that you're going to merge the driver to > the RELENG_6 someday, so maybe my effort may be helpful. > > To my problems. > > I have the '82540EM Gigabit Ethernet Controller' branded card > (PWLA8390MT) and I am currently expiriencing troubles with the > Gigabit switch (D-Link DGS-1008, the cheap one). Plugged into that > switch I have > > - broken packets and SSH messages 'Disconnecting: Corrupted MAC > on input.' when checksumming is turned on and gigabit speed, > > - abyssmal rates for the HTTP downloads (about 10Mbit/sec) when > checksums are turned off and the speed is gigabit again, > > - having switched the media on the adapter to the 100BaseTX > full-duplex, but still using the same switch the speed drops to > 200Kbit/sec, > > - using another D-Link switch (sorry, have no other brand in > hand) the above situation is completely reproducible. > > - working in the half-duplex mode (for 10BaseT/UTP and 100BaseTX) > I have no problems to reach the 90% of the theoretical bandwidth > of the link via HTTP either with checksums enabled or disabled. > > So, the full-duplex mode is not usable to me now. If someone can > help in this situation, I am all ears. > > I thought that new driver may introduce some fixes, but it isn't: > the situation is the same. I will continue my investigations, but > just in case you're interested in my port, it is available from > > http://codelabs.ru/patches/fbsd/em-6.5.0-initial.patch.bz2 > > RELENG_6 and 7-CURRENT sources were CVSupped yesterday, 16 May 2007. > TSO-related stuff is completely disabled for the RELENG_6. > > My limited testing of the driver revealed no problems yet, but if > they will arise I will report them. > -- > Eygene > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >